data Simple = Myint Int | Mydouble Double | Mystring String deriving (Eq, Show) data Complex = Struct String [(String,Simple)] deriving (Eq, Show) ...
Haskell On Function to check the data ...
by headcrab.myopenid.com,
December 08, 2009 22:19
class IsComplex a where
isComplex :: a -> Bool
...
Haskell Function to check the data ...
For two given data types, S...
Have written this variation...