[erlang-questions] Tried this... Thought it interesting... But it didn't work.
Wed Sep 2 16:19:26 CEST 2015
> [ exit(error) || check_something() /= ok ].
Another way to write this (not sure if more or less clearly) is:
(check_something() /= ok) andalso exit(error).
More information about the erlang-questions