Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
krzysz00
on Dec 20, 2013
|
parent
|
context
|
favorite
| on:
Clearer Conditionals using De Morgan's Laws
Not to drag the thread off topic, but this seems like the kind of situation where a version of Haskell's Maybe or Either monads might come in handy, so you could write:
do command1 command2 ...
and have the failures propagate automatically.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: