kyleect / locks

A toy language branched from Lox to learn language implementation and tooling. Forked from loxcraft
https://kyleect.github.io/locks/#/docs
MIT License
0 stars 0 forks source link

Function Expressions/Lambdas #16

Open kyleect opened 8 months ago

kyleect commented 8 months ago
fn sum (a) => (b) => a + b;
let sum10 = sum(10);
println(sum10(15)); // out: 25

fn map (list, f) {

}

Requirements