[xmonad] darcs patch: hide the implementation type in "EwmhDesktopsLayout"

Joachim Breitner mail at joachim-breitner.de
Tue Jun 10 15:33:41 EDT 2008


this is what I hope a slight improvement over Malebria’s patch – thx by
the way.


Tue Jun 10 21:29:18 CEST 2008  Joachim Breitner <mail at joachim-breitner.de>
  * hide the implementation type in "EwmhDesktopsLayout"
  Instead of exporting the EwmhDesktopsHook type, which is used internally,
  export a type alias for (HandleEvent EwmhDesktopsHook), so users don't have
  to update their xmonad.hs if the implementation changes.
  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.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: text/x-darcs-patch
Size: 62398 bytes
Desc: A darcs patch for your repository!
Url : http://www.haskell.org/pipermail/xmonad/attachments/20080610/1b810d52/attachment-0001.bin

More information about the xmonad mailing list