The =>
in CoffeeScript or ES6 is often useful for binding this
to a function, especially in callbacks. I can't seem to find an alternative in LiveScript. Does it exist?
Asked
Active
Viewed 148 times
2

Chris Fritz
- 1,922
- 1
- 19
- 23
1 Answers
3
It's ~>
.
Answer courtesy of _rgn
on the #livescript
channel on freenode.

Chris Fritz
- 1,922
- 1
- 19
- 23
-
2This lets you have binded backcalls <~ which would be impossible with the <= notation. – Delapouite Aug 12 '15 at 11:48
-
^ Too bad no one told TC39. :-/ – Chris Fritz Aug 25 '15 at 14:13