Skip to content
pannous edited this page Mar 24, 2021 · 4 revisions

lambda see closures

The javascript closures notation x => x*x is beautiful but a bit hard to type square = x :: x*x // could confuse c++ folks etc

Are the concepts of map and closure unifyable? Ifs so one might simply write square = x : x*x todo LHS of ':' could be an expression, a symbol or a string square = "x" : "OK" adhoc map.

square x := x*x only makes sense for named functions

Home

Philosophy •

data & code blocks

features

inventions

evaluation

keywords

iteration

tasks

examples

todo : bad ideas and open questions

⚠️ specification and progress are out of sync

Clone this wiki locally