Skip to content

Supertype: bool #13

Description

@elliottinvent

Section 9.5:

Core superclasses are str, num, arr and map, if a superclass is not provided it will be determined by the interpreter using superclass inference.

Should we add bool to that list? It would allow more character efficient assignment of true and false. E.g:

*class(*id=a;*name=alpha;*superclass=bool);
a=1

->

{
    "alpha" : true
}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions