1
1
Fork 0
mirror of https://github.com/azur1s/bobbylisp.git synced 2024-09-28 03:17:32 +00:00
bobbylisp/example/hello_world.hyc
2022-02-12 20:21:42 +07:00

14 lines
266 B
Plaintext

// user defined function
func foo :: (a, b) = {
return a;
};
// entry point
func main :: () = {
// if else in variable definition
let cond_str :: String = if true { return "t" } else { return "f" };
// Infix operator
let n :: Bool = 2 == 2;
};