7 < 7?

Valentin Micic v@REDACTED
Tue Mar 17 10:29:00 CET 2020


Well, of course you are correct, and this was my expectation.
But… Oh, s***!  Serious brain fart. Time to retire.

V/

> On 17 Mar 2020, at 10:25, Frank Muller <frank.muller.erl@REDACTED> wrote:
> 
> 
> 1> I = 12-5.
> 7
> 
> 2> I < 7.
> false
> 
> Nothing wrong. 
> 
> /Frank 
> 
> Le mar. 17 mars 2020 à 09:16, Valentin Micic <v@REDACTED <mailto: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/16496d76/attachment.htm>


More information about the erlang-questions mailing list