Branch: Tag:

1999-06-15

1999-06-15 18:42:17 by Henrik Grubbström (Grubba) <grubba@grubba.org>

The "function" argument in Array.map() and Array.filter() may now be a multiset.

Rev: lib/modules/Array.pmod:1.35

53:    ret[e]=fun(arr[e],@args);    return ret;    +  case "multiset": +  return rows(fun, arr); +     default:    error("Bad argument 2 to Array.map().\n");    }