mirror of
https://github.com/compiler-explorer/compiler-explorer.git
synced 2025-12-27 12:54:00 -05: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
|