
4 Apr
2011
4 Apr
'11
2:46 p.m.
On 4 April 2011 00:26, Bas van Dijk
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