Name: Anonymous 2007-03-24 16:50 ID:xVqPIWca
In this thread we praise the awesome Haskell and extol on its glorious features
for instance, say you have an arbitrarily complex data type, if you add
to the definition
Haskell will automatically figure out how to 1) convert it into a string 2) parse a string into data 3) compare for equality
How fucking awesome is that! Automatic hassle-free serialisation!
No more fucking around with how to parse a matrix!
for instance, say you have an arbitrarily complex data type, if you add
deriving (Show, Read, Eq)to the definition
Haskell will automatically figure out how to 1) convert it into a string 2) parse a string into data 3) compare for equality
How fucking awesome is that! Automatic hassle-free serialisation!
No more fucking around with how to parse a matrix!
read m :: Matrix yay!