control-timeout: deprecated?

Thomas DuBuisson thomas.dubuisson at gmail.com
Mon Jun 8 19:57:43 EDT 2009


I should probably do a refresh of Control-Event - it was right when I
was starting to learn proper Haskell style; I soon discovered STM and
used it for everything... even when I shouldn't.  To cut down on any
investigation you might do here is a rundown:

Control-Event uses absolute times (control-timeout uses relative) -
this can be slower, but might be what you want and allows you to add
events via STM actions (no IO after the fact).  Control-Event also has
a control-timeout compatability shim (Control.Event.TImeout).  On the
other hand, it still uses old-time and really should be ported to the
'time' package along with getting proper version bounds in the .cabal
file.

CE Benchmarks/Blog: http://sequence.complete.org/node/376

Thomas


On Mon, Jun 8, 2009 at 4:32 PM, Erik de Castro Lopo<mle+hs at mega-nerd.com> wrote:
> Adam Langley wrote:
>
>> Yes, it's just missing a maintainer, you're welcome to take it over if
>> you like. However, you should probably take a look at
>> http://hackage.haskell.org/cgi-bin/hackage-scripts/package/control-event
>
> I'm actually interested in the network-dns package. I might try
> port that to control-event and only revive control-timeout if
> that fails.
>
> Cheers,
> Erik
> --
> ----------------------------------------------------------------------
> Erik de Castro Lopo
> http://www.mega-nerd.com/
> _______________________________________________
> Libraries mailing list
> Libraries at haskell.org
> http://www.haskell.org/mailman/listinfo/libraries
>


More information about the Libraries mailing list