New Ecma TC39 proposals https://github.com/rricard/proposal-immutable/ … (nice `with` reuse for functional record update, and be still my https://brendaneich.com/2011/01/harmony-of-my-dreams/ … <3) and https://github.com/pemrouz/proposal-emitter … (functional righteousness!) look great. Great work so far.
-
-
JS ‘this’-binding is dynamic by default, so can you give an example where it would matter? Functional record update creates new record value but copying only own props.
-
That makes sense for JS. It goes the other way in Haskell, where member functions are lambdas that capture their original environment, thus don’t see new with-bindings. Generally, this issue is the graveyard of imperative languages with functional aspirations.
- 2 more replies
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.