[Haskell-cafe] Re: Scraping boilerplate deriving?

Ben Millwood haskell at benmachine.co.uk
Wed Sep 15 10:49:07 EDT 2010


On Wed, Sep 15, 2010 at 2:11 PM, Kevin Jardine <kevinjardine 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"


More information about the Haskell-Cafe mailing list