[xmonad] darcs patch: avoid Data.Ratio and % operator in XMonad.Config

Spencer Janssen sjanssen at cse.unl.edu
Sun Nov 11 17:02:47 EST 2007


On Sunday 11 November 2007 12:38:24 David Roundy wrote:
> This was inspired by a difficulty I observed by a Haskell newbie
> trying to configure xmonad.  No reason to import this % operator
> that I can see.
>
> David
>
> Sun Nov 11 10:37:08 PST 2007  David Roundy <droundy at darcs.net>
>   * avoid Data.Ratio and % operator in XMonad.Config
>   I think this'll make Config.hs more friendly as a template for folks
>   to modify.

Applied.

For all those concerned with this patch: note that the types have not changed
from Rational, we're merely constructing them with overloaded numeric literals
rather than (%).  I agree with David that (%) is more complicated than
necessary here.


Cheers,
Spencer Janssen



More information about the xmonad mailing list