[xmonad] darcs patch: hide the implementation type in "EwmhDes... (and 1 more)

Joachim Breitner mail at joachim-breitner.de
Mon Sep 8 17:58:56 EDT 2008


Am Montag, den 08.09.2008, 09:55 -0700 schrieb Devin Mullins:
> I don't have time to apply patches right now, but:
> On Mon, Sep 08, 2008 at 12:01:35PM +0200, Joachim Breitner wrote:
> >   It could also be wrapped in a newtype, instead of a "type", but that would
> >   require manual instances of the various classes, as ghc can automatically
> >   derive the LayoutClass instance.
> Isn't this what GeneralizedNewtypeDeriving does?

Not with multi-parameter typeclasses, if I remember correctly.
Otherwise, that would be perfect.

Joachim "nomeata" Breitner
  mail: mail at joachim-breitner.de | ICQ# 74513189 | GPG-Key: 4743206C
  JID: nomeata at joachim-breitner.de | http://www.joachim-breitner.de/
  Debian Developer: nomeata at debian.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Dies ist ein digital signierter Nachrichtenteil
Url : http://www.haskell.org/pipermail/xmonad/attachments/20080908/bc03536d/attachment.bin

More information about the xmonad mailing list