davidk01
04-13-2005, 11:58 PM
Suppose I have some class Toona and I would like to declare a Boolean tuple as an instance of Toona. So here is my question. Is this valid haskell code?
instance (Bool u,Bool v) => Toona (u,v) where
{here i define the required functions
that are in the signature of Toona}
instance (Bool u,Bool v) => Toona (u,v) where
{here i define the required functions
that are in the signature of Toona}