Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
oscilloscope
· 14y ago · 0 comments
Check out LiveScript's implicit switch syntax:
http://gkz.github.com/LiveScript/#switch
Comments
[–]
natefaubion
14y ago
That's along similar lines, but more like guards in Haskell:
http://en.wikibooks.org/wiki/Haskell/Control_structures