Enforced immutability: Difference between revisions
m
→{{header|F Sharp|F#}}: fix heading, as suggested on the Count examples/Full list/Tier 4 talk page
Thundergnat (talk | contribs) m (Regularize header markup to recommended on category page) |
m (→{{header|F Sharp|F#}}: fix heading, as suggested on the Count examples/Full list/Tier 4 talk page) |
||
Line 406:
constant str = "immutable string"</lang>
=={{header|
As a functional language, everything in F# is immutable by default. Interestingly, <code>const</code> is a reserved word but is non-functional.
<lang fsharp>let hello = "Hello!"</lang>
|