The Sandbox
This is just a page to practice and learn WikiFormatting.
Go ahead, edit it freely.
Using OCaml syntax highlighting for SML:
fun fact(n : int) : int = case n of 0 => 1 | n => n * (fact (n - 1)) val n : int = 6
JavaScript? syntax highlighting
function fact(n : int) : int { var result = 1; for (let x = n; x >= 0; x++) { result *= x; } return result }
