7 < 7?

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

7 < 7?

Valentin Micic-6
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/

Reply | Threaded
Open this post in threaded view
|

Re: 7 < 7?

Frank Muller

1> I = 12-5.
7

2> I < 7.
false

Nothing wrong. 

/Frank 

Le mar. 17 mars 2020 à 09:16, Valentin Micic <[hidden email]> 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/

Reply | Threaded
Open this post in threaded view
|

Re: 7 < 7?

Gerhard Lazu
7 < 7.
false

Is 7 less than 7?
false

On Tue, Mar 17, 2020 at 8:25 AM Frank Muller <[hidden email]> wrote:

1> I = 12-5.
7

2> I < 7.
false

Nothing wrong. 

/Frank 

Le mar. 17 mars 2020 à 09:16, Valentin Micic <[hidden email]> 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/

Reply | Threaded
Open this post in threaded view
|

Re: 7 < 7?

Valentin Micic-6
In reply to this post by Frank Muller
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 <[hidden email]> wrote:


1> I = 12-5.
7

2> I < 7.
false

Nothing wrong. 

/Frank 

Le mar. 17 mars 2020 à 09:16, Valentin Micic <[hidden email]> 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/


Reply | Threaded
Open this post in threaded view
|

Re: 7 < 7?

I Gusti Ngurah Oka Prinarjaya
Hello,

Yeaaa.. we have all  been in your situation, when our head contain tooooo much, LoL




Pada tanggal Sel, 17 Mar 2020 pukul 16.29 Valentin Micic <[hidden email]> menulis:
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 <[hidden email]> wrote:


1> I = 12-5.
7

2> I < 7.
false

Nothing wrong. 

/Frank 

Le mar. 17 mars 2020 à 09:16, Valentin Micic <[hidden email]> 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/