Re: [Caml-list] Inflection lib for ocaml ?

2009-06-19 Thread Pascal Rigaux
2009/6/19 Conglun Yao yaocong...@gmail.com: I'm wondering is there any library in OCaml performing word inflection between singular and plural, like Lingua-EN-Inflect in perl. Or someone is already doing the work? not really comparable to Lingua-EN-Inflect, but if you want one day to have

[Caml-list] Re: Inflection lib for ocaml ?

2009-06-19 Thread Sylvain Le Gall
On 19-06-2009, Pascal Rigaux pas...@rigaux.org wrote: 2009/6/19 Conglun Yao yaocong...@gmail.com: I'm wondering is there any library in OCaml performing word inflection between singular and plural, like Lingua-EN-Inflect in perl. Or someone is already doing the work? not really comparable

Re: [Caml-list] Uncaught Unix_error.

2009-06-19 Thread Romain Beauxis
Le jeudi 18 juin 2009 21:21:20, Stéphane Glondu a écrit : I'm lost, I'd like to understand when the exception is registered: at runtime initialization? In this case, only one should ever be registered (at least it seems easy to enforce). Or is it statically registered somehow? The

Re: [Caml-list] Inflection lib for ocaml ?

2009-06-19 Thread Conglun Yao
Thanks for all of your quick responses. Gettext seems a bit more complex than what I want. It would be better to have a simple function to implement the plural and singular conversion like the one in Ruby on Rails. Like Inflection.plural some_word Inflection.singular some_word Inflection

[Caml-list] Obj.magic and existential types.

2009-06-19 Thread Guillaume Yziquel
Hello. Please don't scream: I've been using Obj.magic... But the result is rather interesting. It can record a flow of computations, and recompute them only when upstream data has been modified: # let (n', n) = Dependent.encapsulate 1;; val n' : int Dependent.data = abstr val n : int

[Caml-list] Re: Obj.magic and existential types.

2009-06-19 Thread Daniel Bünzli
Le 19 juin 09 à 19:42, Guillaume Yziquel a écrit : But the result is rather interesting. It can record a flow of computations, and recompute them only when upstream data has been modified: Not directly responding to your question but you are looking for functional reactive programming

[Caml-list] Re: Obj.magic and existential types.

2009-06-19 Thread Daniel Bünzli
Le 19 juin 09 à 20:30, Guillaume Yziquel a écrit : Just a side question: how thread-safe is React? Read the documentation. http://erratique.ch/software/react/doc/React#update Best, Daniel ___ Caml-list mailing list. Subscription management:

Re: [Caml-list] Re: Obj.magic and existential types.

2009-06-19 Thread Jake Donham
On Fri, Jun 19, 2009 at 11:21 AM, Daniel Bünzlidaniel.buen...@erratique.ch wrote: Not directly responding to your question but you are looking for functional reactive programming (frp). http://erratique.ch/software/react You can also find FRP in froc (which is quite similar to React; the main