>     Tim> 6. Applying a function f:t->u to a list x::[t] translates to
>     Tim> "map f x".

This can be done in mathematica via function attribute (Listable if my
memory is correct). IIRC It's defined by default only for functions that
only make sense on pure numbers/symbols (eg Sin) and it's very convenient
when working interactively on expressions a few levels deep. It's also one
of the things that makes building bigger programs in Mathematica a very
error prone business. I agree with the others who've said it's probably
not appropriate or implementable for a compiled, typed language like
Haskell.

___cheers,_dave________________________________________________________
www.cs.bris.ac.uk/~tweed/pi.htm|tweed's law:  however many computers
email: [EMAIL PROTECTED]     |    you have, half your time is spent
work tel: (0117) 954-5250      |    waiting for compilations to finish.



Reply via email to