[erlang-questions] style question - best way to test multiple non-guard conditions sequentially
Anthony Ramine
n.oxyde@REDACTED
Sun Jul 7 19:21:49 CEST 2013
Hello,
My implementation of cond is unfortunately still a work in progress [1].
I couldn't decide which error should be thrown when the cond test doesn't return a boolean but I have found some references to cond expressions in an old paper [2] (page 37) and decided to stick to their choices.
Regards,
[1] https://github.com/nox/otp/compare/erlang:master...cond
[2] http://babel.ls.fi.upm.es/~fred/thesis.pdf
--
Anthony Ramine
Le 21 juin 2013 à 10:22, Anthony Ramine a écrit :
> I'll make a proper implementation of it this week-end. I would have done it earlier if you had written an EEP :)
>
> --
> Anthony Ramine
>
> Le 21 juin 2013 à 07:04, Richard A. O'Keefe a écrit :
>
>> This is what I have by way of patches to erl_parse.yrl so far.
>
More information about the erlang-questions
mailing list