Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
F#: Basic Immutability vs. Mutability
//F# Compiler for F# 4.0 (Open Source Edition), Mono 4.2.1 //Mutability let mutable a = [1;2;3] a <- 0::a printfn "%A" a //Immutability let b = [1;2;3] let b' = 0::b //b' (b prime) makes naming transformed variables simpler printfn "%A" b'
run
|
edit
|
history
|
help
0
Yet another Fibonacci
Highly Modular FizzBuzz
lab 1
KR#2
test private keyword
Recursion in F#
The wonders of F#
FizzBuzz without Modulo in F#
Sending an email
Split list without mutable values