[xmonad] darcs patch: Generalize the type of (<+>). It can be used for keybi...

Adam Vogt vogt.adam at gmail.com
Sat Dec 5 23:17:22 EST 2009


* On Saturday, December 05 2009, Don Stewart wrote:

>Nice observation.
>Why don't we just get rid of it and use mappend now?
>
>-- Don
>
>vogt.adam:
>> Sat Dec  5 18:36:11 EST 2009  Adam Vogt <vogt.adam at gmail.com>
>>   * Generalize the type of (<+>). It can be used for keybindings too.

Firstly, there is the backwards-compatibility issue to deal with after
removing <+>. The same applies for composeAll.

Also, I find the <+> operator to be slightly more convenient to write
than `mappend`.

Only the first point is an issue that could be addressed by a textual
substitution-based config updater (or better-yet, one using the AST
parsed from haskell-src-exts), but that has not been done yet.

--
Adam


More information about the xmonad mailing list