Théophile Bastian
5c6f538f9e
This is mostly in case I actually implement better functions of arity >1, but forget to add this test.
6 lines
122 B
Plaintext
6 lines
122 B
Plaintext
let sum = fun x -> fun y -> fun z -> x + y + z in
|
|
let plus2 = sum 1 1 in
|
|
|
|
let _ = print (sum 30 10 2) in
|
|
print (plus2 40)
|