Haskell Matrix Library...

Marcin 'Qrczak' Kowalczyk qrczak at knm.org.pl
Mon Jun 27 07:10:43 EDT 2005


Benjamin Franksen <benjamin.franksen at bessy.de> writes:

> BTW, isn't Matrix a functor over Num so we can use fmap for lifting?
> Ah, doesn't work because of the extra Num constraint, grrr...

I see no need of putting the Num constraint on the type definition.
fmap will work.

-- 
   __("<         Marcin Kowalczyk
   \__/       qrczak at knm.org.pl
    ^^     http://qrnik.knm.org.pl/~qrczak/


More information about the Libraries mailing list