riff-lang / riff

The Riff programming language
https://riff.cx
BSD Zero Clause License
23 stars 1 forks source link

Add "lambda" style anonymous function syntax #33

Open darrylabbate opened 1 year ago

darrylabbate commented 1 year ago

This should be pretty straightforward since anonymous function are already supported. Current ideas (all would be valid):

\x -> x+2
\(x,y) -> x+y
\x,y -> x+y