3 ms·
If you are looking for a syntax closer to Haskell's, you can take a look at LiveScript (http://livescript.net/ http://livescript.net/) eg. getUserFriends
by GeZe 13y ago
If you are looking for a syntax closer to Haskell's, you can take a look at LiveScript (http://livescript.net/ http://livescript.net/)
eg.
getUserFriends = (userName) ->
user <- findUser userName
friends <- findFriends user
...
Specifically, the section on "backcalls": http://livescript.net/#backcalls http://livescript.net/#backcalls
- seanmcdirmid 13y agoBack calls look like array programming gone even crazier. Was live script inspired by APL?
- damncabbage 13y agoIf you are looking for Haskell, you can take a look at Fay (https://github.com/faylang/fay/wiki https://github.com/faylang/fay/wiki).
- chx 13y agoWhat about Haste? https://github.com/valderman/haste-compiler https://github.com/valderman/haste-compiler