Hal Daume wrote: > What you want to do is make your Vector an instance of the Num(eric) > type class. For instance: > > instance Num Vector where
Except that class instances have to be algebraic datatypes ("data") or
renamed datatypes ("newtype"), but not type synonyms ("type").
--
Glynn Clements <[EMAIL PROTECTED]>
_______________________________________________
Haskell mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/haskell
