Created
April 10, 2019 10:02
-
-
Save alieniasty/cbbb49e43133e4c0fc6c0dbbf9217866 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Generally, F# doesn't allow variable re-assignment. Rather it favors immutable named values via let bindings. So, the following is not possible: | |
let a = 3 | |
a = 4 | |
Unless you explicitly mark a as mutable: | |
let mutable a = 3 | |
a <- 4 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment