[Haskell-cafe] Re: Scraping boilerplate deriving?
kevinjardine at gmail.com
Wed Sep 15 11:55:25 EDT 2010
Good point! I can confirm that it does compile under GHC 6.12.
So really the same number of characters either way.
On Sep 15, 4:49 pm, Ben Millwood <hask... at benmachine.co.uk> wrote:
> On Wed, Sep 15, 2010 at 2:11 PM, Kevin Jardine <kevinjard... at gmail.com> wrote:
> > I do think that
> > defObj(MyType)
> > looks a bit cleaner than
> > $(defObj "MyType")
> I believe as of GHC 6.12 you no longer need the $() around top-level
> splices. So that would just be:
> defObj "MyType"
> Haskell-Cafe mailing list
> Haskell-C... at haskell.orghttp://www.haskell.org/mailman/listinfo/haskell-cafe
More information about the Haskell-Cafe