[Caml-list] Oregon Programming Languages Summer School (ad)

2009-03-13 Thread Yannis Smaragdakis
The Oregon PL Summer School will run July 23-31, 2009 with the topic "Theory and Practice of Language Implementation". We are excited to have a great collection of speakers! The school has a long and successful tradition and is sponsored by the NSF, ACM SIGPLAN, and industry (pending approval).

Re: [Caml-list] caml trading

2009-03-13 Thread Yoann Padioleau
Yaron Minsky writes: > For those who are interested, I just posted a video of a talk I gave at CMU > several weeks ago about Jane Street's use of OCaml.  This is an updated > version > of the talk I gave at POPL last year.  Various people have expressed an > interest in showing the talk to their

Re: [Caml-list] HLVM is now garbage collected!

2009-03-13 Thread Mikkel Fahnøe Jørgensen
2009/3/13 Jon Harrop : > On Sunday 08 March 2009 01:19:20 Jon Harrop wrote: >> Well, I have my first working GC running in HLVM now! Woohoo! > > I have just updated HLVM's GC to use a hash table instead of a linear search > of the allocated list. This brings GC time down from O(n^2) to amortized >

[Caml-list] caml trading

2009-03-13 Thread Yaron Minsky
For those who are interested, I just posted a video of a talk I gave at CMU several weeks ago about Jane Street's use of OCaml. This is an updated version of the talk I gave at POPL last year. Various people have expressed an interest in showing the talk to their undergraduate classes, so I thoug

[Caml-list] camlp4: rules with arguments?

2009-03-13 Thread Joel Reymont
I have two rules designed to parse these statements buy 100 shares next bar at market buy 100 shares # assumes next bar at market sell 100 shares next bar 20 stop ... The rules are the same, except "Higher" and "Lower" get swapped when combined with "Stop" and "Limit". Since either buyMethod

[Caml-list] Re: Toploop.setvalue

2009-03-13 Thread Zheng Li
Hello, On 3/8/2009 10:43 PM, Roland Zumkeller wrote: Can Toploop.setvalue be used to bind a value to an identifier, as does "let"? No. I don't think it's intended to be used in this way. # Toploop.setvalue "b" (Obj.repr 43);; - : unit = () # b;; Unbound value b This will only inject the va

Re: [Caml-list] Ocaml batteries and uncaught exceptions

2009-03-13 Thread David Rajchenbach-Teller
It's a known bug of Batteries and it's fixed in the next release. Cheers, David On Fri, 2009-03-13 at 12:06 +0100, Tiphaine Turpin wrote: > Hi, > > I'm trying to use ocaml batteries in a new project, and the printing of > uncaught exceptions has disappeared. I cannot get a backtrace either > w

Re: [Caml-list] HLVM is now garbage collected!

2009-03-13 Thread Jon Harrop
On Sunday 08 March 2009 01:19:20 Jon Harrop wrote: > Well, I have my first working GC running in HLVM now! Woohoo! I have just updated HLVM's GC to use a hash table instead of a linear search of the allocated list. This brings GC time down from O(n^2) to amortized O(n). In practice, the benchmar

[Caml-list] Ocaml batteries and uncaught exceptions

2009-03-13 Thread Tiphaine Turpin
Hi, I'm trying to use ocaml batteries in a new project, and the printing of uncaught exceptions has disappeared. I cannot get a backtrace either with OCAMLRUNPARAM. I'm not sure that the batteries are the cause (and I don't see why it should be) but what else ? So, is it a feature of the batteries

Re : Re : [Caml-list] changing labels on ocamlgraph edges

2009-03-13 Thread Matthieu Wipliez
> Finally, it's very annoying to see plural of vertex as also "vertex" -- in > G.nb_vertex or iter_vertex; it's "vertices"! :) Also nb_ is a non-standard > abbreviation for "number of", perhaps better names are num_vertices and > num_edges? Good point, for instance I'm using SystemC FIFOs and