Re: [Haskell] boilerplate boilerplate

2007-05-23 Thread Claus Reinke
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

Re: [Haskell] boilerplate boilerplate

2007-05-23 Thread Neil Mitchell
:: 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

Re: [Haskell] boilerplate boilerplate

2007-05-23 Thread Alex Jacobson
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

[Haskell] Re: [Haskell-cafe] New book: Real-World Haskell!

2007-05-23 Thread Gour
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

[Haskell] PhD Studentship in Functional Programming

2007-05-23 Thread Graham Hutton
-+ 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

[Haskell] New book: Real-World Haskell!

2007-05-23 Thread Donald Bruce Stewart
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