mirror of
https://github.com/azur1s/bobbylisp.git
synced 2024-10-16 02:37:40 -05:00
6 lines
147 B
Plaintext
6 lines
147 B
Plaintext
fun test (foo: int) (bar: int) : int = foo * bar
|
|
fun f (fn: |int, int| -> int) (x: int) : int = fn(x)
|
|
|
|
fun main: void = do
|
|
let x : int = 20
|
|
end |