[erlang-bugs] Very minor documentation bug in proplists module

Bengt Kleberg <>
Wed Sep 24 10:57:23 CEST 2008


OK, fine by me.
The proplists module is (IMHO) somewhat byzantine and I did not
understand that lookup/2 is the main primitive.


bengt

On Wed, 2008-09-24 at 10:49 +0200, Richard Carlsson wrote:
> Bengt Kleberg wrote:
> > Greetings,
> > 
> > On http://erlang.org/doc/man/proplists.html the "See also" for
> > get_value/3 refers to a function get_value/1. It does not exist.
> 
> Thanks. It should be get_value/2.
> 
> > Also, I think it would be slightly better to refer to get_value/2
> > instead of lookup/2 in the explanation to get_value/3.
> 
> Well, no, because lookup/2 is the main primitive, while get_value/2
> is just a simplified form of get_value/3 itself.
> 
>     /Richard




More information about the erlang-bugs mailing list