[m-users.] Idiomatic Mercury - if-then-else or (C->I;E)

Zoltan Somogyi zoltan.somogyi at runbox.com
Fri Nov 20 20:02:26 AEDT 2015

On Fri, 20 Nov 2015 19:33:46 +1100 (AEDT), Julien Fischer <jfischer at opturion.com> wrote:
> Another reason is that if you get if-then-elses nested inside switches
> or disjunctions (or vice versa) it can sometimes be difficult to work
> out what a ';' belongs to, particularly if the code is badly formatted.

That is MY main reason, even though the code I work with is
well formatted.


More information about the users mailing list