Enforced immutability: Difference between revisions

m
→‎{{header|F Sharp|F#}}: fix heading, as suggested on the Count examples/Full list/Tier 4 talk page
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|F SharpF_Sharp|F#}}==
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>
3,021

edits