1
1
Fork 0
mirror of https://github.com/azur1s/bobbylisp.git synced 2024-10-16 02:37:40 -05:00

Update ex.hyc

This commit is contained in:
Natapat Samutpong 2022-03-06 22:15:07 +07:00
parent 87b3c7717b
commit a8aa4569c3

View file

@ -1,6 +1,8 @@
let fard: Int = 1;
let balls: String = "balls";
-- Variables
let foo: Int = 1;
let bar: String = "bar";
-- Functions
fun add (lhs: Int) (rhs: Int): Int = lhs + rhs;
fun add_2 (lhs: Int) (rhs: Int): Int = do
let a: Int = lhs + rhs;