1
1
Fork 0
mirror of https://github.com/azur1s/bobbylisp.git synced 2024-10-16 02:37:40 -05:00
bobbylisp/a.hlm
2023-03-02 12:04:12 +07:00

15 lines
302 B
Plaintext

let name: str = "john";
println("Hello, " + name + "!");
let a: num = 17, b: num = 35 in
let c: num = a * 2 in
println(b + c);
// func foo (a: int, b: int) {
// let c = a * 2;
//
// let res = b + c in
// return res + a;
// }
println((\x: int -> x + 1)(1));