Hacker Times
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
oscilloscope
on Sept 13, 2012
|
parent
|
context
|
favorite
| on:
Show HN: Matches.js -- Powerful Pattern Matching f...
Check out LiveScript's implicit switch syntax:
http://gkz.github.com/LiveScript/#switch
natefaubion
on Sept 13, 2012
[–]
That's along similar lines, but more like guards in Haskell:
http://en.wikibooks.org/wiki/Haskell/Control_structures
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
http://gkz.github.com/LiveScript/#switch