[erlang-questions] Tried this... Thought it interesting... But it didn't work.
Adam Krupicka
akrupicka@REDACTED
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).
A. K.
More information about the erlang-questions
mailing list