Haskell Matrix Library...

Henning Thielemann lemming at henning-thielemann.de
Mon Jun 27 07:05:17 EDT 2005

On Mon, 27 Jun 2005, Ketil Malde wrote:

> Benjamin Franksen <benjamin.franksen at bessy.de> writes:
> > I wasn't refering to the library proposal. And element-wise definitions
> > of 'exp' and 'sin' for matrices may be natural in certain contexts, but
> > certainly not as /the/ general definition.
> Perhaps I haven't followed this discussion closely enough, but I'm not
> sure this kind of element-wise functions should be provided at all.
> Isn't a Functor=B9 instance (and the consequent "fmap sin") so much
> clearer that it is worth the extra typing?

I also plead for a 'map' function instead of a Floating instance.

More information about the Libraries mailing list