Skip to content

Supertype: bool #13

@elliottinvent

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
}

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