We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Requires immutable Fraction in xen-dev-utils and immutable Interval class etc.
Fraction
xen-dev-utils
Interval
New keyword immutable.
immutable
(* Immutable array expression *) let myTuple = immutable [1, 2, 3] (* Sugar for cost foo = immutable bar *) immutable myConstTuple = [4, 5] (* Only immutables can be nested inside other immutables *) immutable myNestedTuple = [0, myTuple, myConstTuple, [6, 7]] (* Variables with immutable values can be reassigned *) myTuple = (8,) (* Pythonic tuple syntax *)
Records:
immutable myConstImmutableRecord = {foo: 1, bar: 2} let myReassignableImmutableRecord = immutable {baz: 3, qux: {quux: 4, corge: 5}}
The text was updated successfully, but these errors were encountered:
Reserve potential future keyword 'immutable'
552ce60
Document unicode monzo and val brackets. ref #338
No branches or pull requests
Requires immutable
Fraction
inxen-dev-utils
and immutableInterval
class etc.New keyword
immutable
.Records:
The text was updated successfully, but these errors were encountered: