Branch: Tag:

1998-03-23

1998-03-23 17:41:32 by Fredrik Noring <noring@nocrew.org>

Fixed lower_cases and number references.

Rev: lib/modules/ADT.pmod/Table.pmod:1.2

86:       int `==(object t)    { -  return equal(fields, indices(t)) && equal(table, values(t)); +  return (equal(Array.map(fields, lower_case), +  Array.map(indices(t), lower_case)) && +  equal(table, values(t)));    }       object append_bottom(object t)
193:    {    if(!sizeof(cs))    return sum(); -  array f = Array.map(fields, lower_case) - Array.map(cs, lower_case); +  array f = remap(fields) - remap(cs);    mapping m = mkmapping(f, Array.map(f, lambda()    { return lambda(mixed x1,    mixed x2)