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 c
:: Follow ups to haskell-cafe@ is probably best
Hi Alex,
{-# OPTIONS_DERIVE --derive=Ord,Eq,Read... #-}
That would apply to all definitions in the module, so you don't have
to repeat it for each type. You can attach a deriving annotation to
each type individually, but that's obviously not what
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
On Wed, 23 May 2007 17:01:28 +1000
[EMAIL PROTECTED] (Donald Bruce Stewart) wrote:
Hi!
Congratualtions for your effort?
> Bryan O'Sullivan, Don Stewart and John Goerzen are pleased, and
> frankly, very excited to announce that were developing a new book for
> O'Reilly, on practical Haskell prog
-+
PHD STUDENTSHIP IN FUNCTIONAL PROGRAMMING
School of Computer Science and IT
University of Nottingham, UK
Applications are invited for a fully-funded PhD studentship on
Bryan O'Sullivan, Don Stewart and John Goerzen are pleased, and frankly,
very excited to announce that were developing a new book for O'Reilly, on
practical Haskell programming. The working title is Real-World Haskell.
The plan is to cover the major techniques used to write serious,
real-world Ha