mirror of
https://github.com/azur1s/bobbylisp.git
synced 2024-10-16 02:37:40 -05:00
12 lines
132 B
Plaintext
12 lines
132 B
Plaintext
fun succ x = do
|
|
let one = 1
|
|
|
|
let y = x + one
|
|
in y
|
|
end
|
|
|
|
fun double x = x * 2
|
|
|
|
fun main = do
|
|
x |> \a -> println(a)
|
|
end |