2008/7/12 Mitar <[EMAIL PROTECTED]>: > So that I can easily change the type everywhere. But it would be much > nicer to write: > > data Quaternion a = Q !a !a !a !a deriving (Eq,Show) > > Only the performance of Num instance functions of Quaternion is then > quite worse.
You can probably use a specialization pragma to get around that. -- Jedaï _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe