feat: simple functions
This commit is contained in:
@@ -171,4 +171,6 @@ fn test_let() {
|
||||
#[test]
|
||||
fn test_func() {
|
||||
test_expr("(x: x) 1", int!(1));
|
||||
test_expr("(x: x) (x: x) 1", int!(1));
|
||||
test_expr("(x: y: x + y) 1 1", int!(2));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user