7 < 7?

Frank Muller frank.muller.erl@REDACTED
Tue Mar 17 09:25:17 CET 2020


1> I = 12-5.
7

2> I < 7.
false

Nothing wrong.

/Frank

Le mar. 17 mars 2020 à 09:16, Valentin Micic <v@REDACTED> a écrit :

> What am I missing here?!?
>
>
>
> case 12-5 of I when I<7 -> {false, I}; I -> {true,I} end.
>
> {true,7}
>
>
> Can anyone reproduce (and then explain)  this? - Erlang R21.1
>
>  V/
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20200317/a6f3fbfd/attachment.htm>


More information about the erlang-questions mailing list