[erlang-questions] Reading, Learning, Confused

Sean Allen <>
Sat Jul 19 16:59:34 CEST 2008


well i am reinstalling now but this was still around in the term...  
mac os x if that makes a difference.

Eshell V5.5.5  (abort with ^G)
1> X = 0.
0
2> (X == 0 ) or (1/X > 2).

=ERROR REPORT==== 19-Jul-2008::10:15:21 ===
Error in process <0.30.0> with exit value: {badarith,[{erlang,'/', 
[1,0]},{erl_eval,do_apply,5},{erl_eval,expr,5},{erl_eval,expr,5}, 
{shell,exprs,6},{shell,eval_loop,3}]}

** exited: {badarith,[{erlang,'/',[1,0]},
                       {erl_eval,do_apply,5},
                       {erl_eval,expr,5},
                       {erl_eval,expr,5},
                       {shell,exprs,6},
                       {shell,eval_loop,3}]} **
3> (X == 0 ) orelse (1/X > 2).

=ERROR REPORT==== 19-Jul-2008::10:15:50 ===
Error in process <0.33.0> with exit value: {badarith,[{erlang,'/', 
[1,0]},{erl_eval,do_apply,5},{erl_eval,expr,5},{erl_eval,expr,5}, 
{shell,exprs,6},{shell,eval_loop,3}]}

** exited: {badarith,[{erlang,'/',[1,0]},
                       {erl_eval,do_apply,5},
                       {erl_eval,expr,5},
                       {erl_eval,expr,5},
                       {shell,exprs,6},
                       {shell,eval_loop,3}]} **

will be done installing new copy soon... we see what happens then.


On Jul 19, 2008, at 10:55 AM, Edwin Fine wrote:

> I cannot imagine of any situation where or and orelse work the same  
> and reinstalling changes that. Please could you paste your exact  
> code and shell session, showing the problem? Also, which version of  
> Erlang are you using?
>



More information about the erlang-questions mailing list