top | item 7840093

(no title)

bitpew | 11 years ago

Not to speak for the OP, but two features bear resemblance to functional programming languages:

1) Function Types ( = higher order functions)

This allows functions to be passed around as function parameters or return values.

2) Immutable variables via let

let a = 1 // a is always bound to the constant 1

a = 2 // error

discuss

order

emsy|11 years ago

I couldn't find any built in list/map/set comprehension. Did they leave it out or did I just miss it?