[core libraries] Improved TimerManager API

George Wilson george at wils.online
Sun May 31 05:38:02 UTC 2020


Admittedly I'm not familiar with that module, but this change seems
easy to make.
It seems as though these functions don't exactly "fail"; rather they
don't bother updating the queue if the change would be redundant. Is
that correct? Could you explain why you want to detect this?

Cheers,
George

On Wed, 13 May 2020 at 09:59, Mitchell Rosen <mitchellwrosen at gmail.com> wrote:
>
> Hi all,
>
> I'd like to propose we modify GHC.Event.updateTimeout and GHC.Event.unregisterTimeout to each return a Bool, indicating whether the update/unregister was successful.
>
> Thanks,
> Mitchell
>
> --
> You received this message because you are subscribed to the Google Groups "haskell-core-libraries" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to haskell-core-libraries+unsubscribe at googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/haskell-core-libraries/CAKYGvgMMPdWUhjT_C%3DrDAkjhEkAZXxL4q0yLzZp2-F%2BbbqQmyQ%40mail.gmail.com.


More information about the Libraries mailing list