[Haskell-cafe] Faster timeout but is it correct?

Bas van Dijk v.dijk.bas at gmail.com
Fri Feb 18 01:19:39 CET 2011


On 18 February 2011 01:16, Johan Tibell <johan.tibell at gmail.com> wrote:
> On Thu, Feb 17, 2011 at 4:09 PM, Bas van Dijk <v.dijk.bas at gmail.com> wrote:
>> Currently I created a new function registerTimeoutWithKey and wrote
>> registerTimeout in terms of it. I also exported registerTimeoutWithKey
>> from System.Event.Manager and System.Event. This isn't necessary so I
>> can easily change it back. However maybe it's useful on its own.
>
> I say only export a more general function (under the old name).

Agreed.

>> It does require a library proposal so I have to think it over.
>
> It doesn't. System.Event isn't a public API. Doesn't mean that you
> don't have to think it over thought. ;)

Why is it not public? It is listed in the base API docs:

http://hackage.haskell.org/packages/archive/base/latest/doc/html/System-Event.html

Bas



More information about the Haskell-Cafe mailing list