Skip to content

Constants #23

@sbohmann

Description

@sbohmann

Implemented via a flag on variables.
Used with the let special form. A new special form var is added to replace the old use of let.
Implicitly used for bindings.

fn[x]() {
    x = 5 # error: assigning to a constant
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions