Re: [Caml-list] Ocaml 3.09.3 --> 3.11.0 breaks this

2009-10-27 Thread Brighten Godfrey
On Oct 27, 2009, at 4:45 AM, Stéphane Glondu wrote: Brighten Godfrey a écrit : I went to recompile some software I wrote, after installing OCaml 3.11.0, and it won't compile. Specifically the following code snippet compiles in OCaml 3.09.3: [...] Your code works with OCaml 3.11.1. Maybe it

Re: [Caml-list] xpath or alternatives

2009-10-27 Thread Daniel Bünzli
Sorry for the late reply. On Wed, Sep 30, 2009 at 01:00:15AM +0200, Mikkel Fahnøe Jørgensen wrote: > Otherwise there is xmlm which is self-contained in single xml file, > and as I recall, has some sort of zipper navigator. (I initially > intended to use it before deciding on the json format): Th

[Caml-list] OCaml Meeting 2010 3rd and last call to answer the poll

2009-10-27 Thread Sylvain Le Gall
Hello,

Re: [Caml-list] A strange typing error with polymorphic variants

2009-10-27 Thread Vincent Aravantinos
Oops, I pushed "send" button too early. Le 27 oct. 09 à 19:38, Vincent Aravantinos a écrit : Le 27 oct. 09 à 19:24, Jake Donham a écrit : On Tue, Oct 27, 2009 at 3:28 AM, Marc de Falco wrote: The following code : type 'a p = R of 'a t | E of float and 'a t = { mutable p : 'a p; c : 'a }

Re: [Caml-list] A strange typing error with polymorphic variants

2009-10-27 Thread Vincent Aravantinos
Le 27 oct. 09 à 19:24, Jake Donham a écrit : On Tue, Oct 27, 2009 at 3:28 AM, Marc de Falco wrote: The following code : type 'a p = R of 'a t | E of float and 'a t = { mutable p : 'a p; c : 'a } let f = let x = sqrt(2.0) in fun () -> { c = `A; p = E 0.0 } generates the error :

Re: [Caml-list] A strange typing error with polymorphic variants

2009-10-27 Thread Jake Donham
On Tue, Oct 27, 2009 at 3:28 AM, Marc de Falco wrote: > Hi, I've come across a very strange error, and I'm not sure if it is > a bug or a feature. > > The following code : > type 'a p = R of 'a t | E of float >     and 'a t = { mutable p : 'a p; c : 'a } > let f = >     let x = sqrt(2.0) in >    

[Caml-list] A strange typing error with polymorphic variants

2009-10-27 Thread Marc de Falco
Hi, I've come across a very strange error, and I'm not sure if it is a bug or a feature. The following code : type 'a p = R of 'a t | E of float and 'a t = { mutable p : 'a p; c : 'a } let f = let x = sqrt(2.0) in fun () -> { c = `A; p = E 0.0 } generates the error : The type of thi

Re: [Caml-list] threads, signals, and timeout

2009-10-27 Thread Gabriel Kerneis
On Mon, Oct 26, 2009 at 12:06:18PM -0700, yoann padioleau wrote: > I want to write a toy program that uses threads and timeouts in an > easy way. Those threads may make heavy use of CPU or IO, I don't know. > I just want an easy API for thread and timeout. > > To be honest, the problem I have to s

Re: [Caml-list] Ocaml 3.09.3 --> 3.11.0 breaks this

2009-10-27 Thread Stéphane Glondu
Brighten Godfrey a écrit : > I went to recompile some software I wrote, after installing OCaml > 3.11.0, and it won't compile. Specifically the following code snippet > compiles in OCaml 3.09.3: [...] Your code works with OCaml 3.11.1. Maybe it was a temporary regression. Best regards, -- Sté

[Caml-list] Ocaml 3.09.3 --> 3.11.0 breaks this

2009-10-27 Thread Brighten Godfrey
Hello list, I went to recompile some software I wrote, after installing OCaml 3.11.0, and it won't compile. Specifically the following code snippet compiles in OCaml 3.09.3: class virtual c1 = object(self) end class virtual c2 = object(self) inherit c1 met