mirror of
https://github.com/compiler-explorer/compiler-explorer.git
synced 2026-05-16 18:23:01 -04:00
* Support trunk and execution for .NET * Adjust compilers order * Support stdin * Update samples
9 lines
108 B
Forth
9 lines
108 B
Forth
module Program
|
|
|
|
let square num = num * num
|
|
|
|
[<EntryPoint>]
|
|
let main _ =
|
|
printfn "%d" (square 42)
|
|
0
|