[xmonad] darcs patch: Generalize types of ManageHook functions, so they can ...

Brandon S Allbery KF8NH allbery.b at gmail.com
Wed Apr 13 01:13:24 CEST 2011


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 4/12/11 12:08 , Adam Vogt wrote:
> * On Monday, April 11 2011, Gwern Branwen wrote:
> 
>> On Wed, Feb 23, 2011 at 8:15 PM, Brandon S Allbery KF8NH
>> <allbery.b at gmail.com> wrote:
>>> Wed Feb 23 19:30:21 EST 2011  Brandon S Allbery KF8NH <allbery.b at gmail.com>
>>>  * Generalize types of ManageHook functions, so they can be reused
>>
>> Any thoughts from Core committers?
> 
> One downside of more polymorphic types is that you get less specific type 
> errors, since <+> will no longer force the result to be ManageHook.  If all 

Er, <+> is *already* in the core in darcs xmonad, as is idHook.  I
generalized some of the others.

- -- 
brandon s. allbery     [linux,solaris,freebsd,perl]    allbery.b at gmail.com
system administrator  [openafs,heimdal,too many hats]                kf8nh
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk2k3JQACgkQIn7hlCsL25VFowCgqJUasCEvsGMfDi9IjXZd96dq
a74AoJiT79sNgOP1s/WQ8QOfOiQWx8vg
=Jzwd
-----END PGP SIGNATURE-----



More information about the xmonad mailing list