[Haskell] boilerplate boilerplate
Alex Jacobson
alex at alexjacobson.com
Wed May 23 16:51:50 EDT 2007
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)
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.
-Alex-
Claus Reinke wrote:
>> (For your second, desired code sample, I have a feeling this is where
>> DrIFT or Data.Derive are going to come in... I'm not going to mention
>> those external things!)
>
> it wouldn't help to get rid of deriving, but perhaps the new
> 'standalone deriving' might help to separate out all that deriving
> stuff, keeping the data type definitions themselves less cluttered?
>
> http://hackage.haskell.org/trac/ghc/wiki/Status/October06
>
> claus
>
> ps why the odd mailing list address?
More information about the Haskell
mailing list