[erlang-questions] Orelse and andalso as short-hand for case
Led
ledest@REDACTED
Tue Jul 24 16:30:46 CEST 2018
2018-07-24 13:26 GMT+03:00 <empro2@REDACTED>:
> Why not:
>
> if Pid =:= WorkerPid -> throw({'task', Task}) end,
>
> ?
>
Are you serious?
Or is this a joke?
--
Led.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20180724/719c60c0/attachment.htm>
More information about the erlang-questions
mailing list