LiveScript equivalent to fat arrow syntax in CoffeeScript or ES6

166 Views Asked by At

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?

1

There are 1 best solutions below

2
On BEST ANSWER

It's ~>.

Answer courtesy of _rgn on the #livescript channel on freenode.