Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

syntax change: explicit let vs var #791

Open
nikodemus opened this issue Jul 29, 2021 · 0 comments
Open

syntax change: explicit let vs var #791

nikodemus opened this issue Jul 29, 2021 · 0 comments
Labels
feature-lang Language or library feature syntax Syntax change or addition
Milestone

Comments

@nikodemus
Copy link
Owner

let used to define immutable bindings, var used to define mutable ones.

:= used with var in both declarations and assignments.

Check for correctness during AST construction.

@nikodemus nikodemus added feature-lang Language or library feature syntax Syntax change or addition labels Jul 29, 2021
@nikodemus nikodemus added this to the Foolang 0.3.0 milestone Jul 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-lang Language or library feature syntax Syntax change or addition
Projects
None yet
Development

No branches or pull requests

1 participant