Proposed change to libraries

Bjorn Gustavsson bjorn@REDACTED
Mon Feb 7 11:58:16 CET 2005


AFAIK, length/1 has never been broken in that way.

/Björn

"Vlad Dumitrescu" <vlad_dumitrescu@REDACTED> writes:

> I agree too.
>  
> > Disgusting. It's almost as bad and surprising as:
> > 2> length(self()).
> > {-73, 3.14}
> 
> Well, at least that's fixed:
> 
> Eshell V5.4.3  (abort with ^G)
> (wolf@REDACTED)1> length(self()).
> ** exited: {badarg,[{erlang,length,[<0.37.0>]},
>                     {erl_eval,do_apply,5},
>                     {shell,exprs,6},
>                     {shell,eval_loop,3}]} **
> 
> regards,
> Vlad
> 

-- 
Björn Gustavsson, Erlang/OTP, Ericsson AB



More information about the erlang-questions mailing list