[erlang-bugs] documentation bug (?)
Hans Bolinder
hans.bolinder@REDACTED
Tue Jun 10 14:05:14 CEST 2008
[Paul Mineiro:]
> the dets documentation about init_table says:
>
> "If the type of the table is set and there is more than one object with a
> given key, one of the objects is chosen. This is not necessarily the last
> object with the given key in the sequence of objects returned by the input
> functions. Extra objects should be avoided, or the file will be
> unnecessarily fragmented. This holds also for duplicated objects stored in
> tables of type duplicate_bag."
>
> having stared at this for a while, i think it should say: "... holds also
> for duplicated objects stored in tables of type bag".[1]
>
> even clearer would be: "... input functions. Duplicate keys
> should be avoided, or the file will be unnecessarily fragmented. This
> holds also for duplicated objects stored in tables of type bag."
> i found a similar problem in the ets documentation.
[...]
Thanks!
We will make the corrections in R12B-4.
Best regards,
Hans Bolinder, Erlang/OTP team, Ericsson
More information about the erlang-bugs
mailing list