limitations of newtype-derivings (fixed)

Dinko Tenev dinko.tenev at gmail.com
Wed Apr 12 04:06:46 EDT 2006


On 4/11/06, Simon Peyton-Jones <simonpj at microsoft.com> wrote:
> | > deriving (Show Foo)
>
> I'm all for that.  A modest but useful gain. All we need is the syntax,
> and that is something that Haskell Prime might usefully define.

Speaking of which, how about simply qualifying a body-less instance
with "deriving," like this:

> deriving instance Show Foo

--

Cheers,
    Dinko


More information about the Haskell-prime mailing list