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 <glynn.clements@virgin.net>