Actually independent deriving would help a lot but am not sure of the
syntax.
could it be something like
derive (Ord,Eq,Read,Show,Typeable) (BlogEntry Name Title Body Emai)
according to the most recent status report, the syntax is not quite
settled yet, so what is in ghc head might still change. more info here:
http://haskell.org/haskellwiki/GHC/StandAloneDeriving
Perhaps this is what Neil Mitchell was suggesting with Derive that I was
not understanding. If I can use derive like this without a
pre-processor that would be very nice.
there are various different methods to help with deriving.
i think Neil was referring to Data.Derive:
http://www-users.cs.york.ac.uk/~ndm/derive/
claus
_______________________________________________
Haskell mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell