Re: [Caml-list] Lwt and exceptions

2011-09-15 Thread Mehdi Dogguy
On 13/09/2011 20:37, ri...@happyleptic.org wrote: The Lwt doc states that you should not use raise when using Lwt but use Lwt.fail instead. So, is it still OK to call functions (for instance from the stdlib) that may raise an exception, provided we catch it soon enough ? And by soon

Re: [Caml-list] Lwt and exceptions

2011-09-15 Thread Anil Madhavapeddy
On 15 Sep 2011, at 11:04, Mehdi Dogguy wrote: On 13/09/2011 20:37, ri...@happyleptic.org wrote: The Lwt doc states that you should not use raise when using Lwt but use Lwt.fail instead. So, is it still OK to call functions (for instance from the stdlib) that may raise an exception,

[Caml-list] a push style event combinator

2011-09-15 Thread Satoshi Ogasawara
Hello, I'd like to announce the release of PEC, a push style event combinator. PEC : https://github.com/osiire/Pec This small module(about 350 LOC) provides - a composable event. - map, choose, never, join and several useful functions. - immediate reactions corresponds sending data to

Re: [Caml-list] a push style event combinator

2011-09-15 Thread Philippe Veber
Thank you for releasing your library, it looks really interesting ! How would you compare it with react (http://erratique.ch/software/react) which, AFAIU, can be used for similar purposes ? At least I can see there is no notion of signal (continuous function of time) in PEC (or maybe signals can