Branch: Tag:

1999-06-08

1999-06-08 23:19:23 by Martin Stjernholm <mast@lysator.liu.se>

Better error when argument 1 to map() is wrong.

Rev: lib/modules/Array.pmod:1.32

22:    if(multisetp(arr))    return mkmultiset(map(indices(arr,fun,@args)));    +  if(!arrayp(arr)) +  error("Bad argument 1 to Array.map().\n"); +     switch(sprintf("%t",fun))    {    case "int":