The System Event Manager

Bas van Dijk v.dijk.bas at gmail.com
Mon Apr 4 20:46:57 CEST 2011


On 4 April 2011 00:26, Bas van Dijk <v.dijk.bas at gmail.com> wrote:
>> The question in my mind is whether getSystemEventManager* should
>> return IO EventManager or IO (Maybe EventManager). I don't like having
>> an API which conditionally exports different entities depending on
>> some CPP, this means that the CPP code needs to be copied into every
>> use sight as well. That argues for having it return (Maybe
>> EventManager).
>
> Agreed. I will update the patch.

Ticket with git patch created:

http://hackage.haskell.org/trac/ghc/ticket/5091

Bas



More information about the Libraries mailing list