[erlang-questions] Reading, Learning, Confused

Edwin Fine erlang-questions_efine@REDACTED
Sat Jul 19 17:27:13 CEST 2008

I am amazed that the shell could have "sort of" worked and got fixed by a
reinstall. Well, live and learn. Good luck with your learning.

On Sat, Jul 19, 2008 at 11:23 AM, Sean Allen <sean@REDACTED>

> On Jul 19, 2008, at 11:10 AM, Edwin Fine wrote:
>  Sean,
>> I think it's historical. "orelse" and "andalso" were added to the language
>> later. I would also be inclined to use the short-circuit ones, but I don't
>> find myself writing a lot of code that uses "and" and "or" anyway. I might
>> have written your example as
>> f(X) when X == 0; 1/X < 2 ->
>> which gets evaluated from left to right.
> that makes sense thanks.
> so, something got fubar in the version i had installed.... and suddenly
> things make much more sense.
> i'll upgrade if i move past the learning point or hit something that doesnt
> work right again.
> thanks for the help and info.
> sorry that a large chunk of it was the result of a bad erlang shell.

The great enemy of the truth is very often not the lie -- deliberate,
contrived and dishonest, but the myth, persistent, persuasive, and
unrealistic. Belief in myths allows the comfort of opinion without the
discomfort of thought.
John F. Kennedy 35th president of US 1961-1963 (1917 - 1963)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20080719/50820013/attachment.htm>

More information about the erlang-questions mailing list