Re: [Caml-list] Which types for representing HTML documents ?

2009-06-08 Thread Richard Jones
On Mon, Jun 08, 2009 at 06:59:57AM +0200, Sébastien Hinderer wrote: > Dear all, > > According to you, how could an HTML document best be represented in > OCaml ? > In particular: would you rather use classes or records, polymorphic > variants or normal constructors ? CDuce is worth considering:

[Caml-list] Behavior of %F

2009-06-08 Thread Alain Frisch
Hello, The behavior of Printf w.r.t. %F changed recently. Before (OCaml 3.10.0, and presumably 3.11.0): # Printf.sprintf "%F" 1.;; - : string = "1." Now (OCaml 3.11.1+rc1): # Printf.sprintf "%F" 1.;; - : string = "1.00" This change comes from: http://camlcvs.inria.fr/cgi-bin/cvsweb/oc

Re: [Caml-list] Which types for representing HTML documents ?

2009-06-08 Thread Martin Jambon
Sébastien Hinderer wrote: > Dear all, > > According to you, how could an HTML document best be represented in > OCaml ? Ocamlnet's Nethtml works fine for parsing: type document = Element of (string * (string * string) list * Nethtml.document list) | Data of string If your go

[Caml-list] Godi & tcl/tk

2009-06-08 Thread Eliot Handelman
Hi, would anyone happen to know how to configure godi to find tcl/tk? This comes up every time I have to configure a new system & each time I cannot remember how I did it the previous time. thanks, -- eliot ___ Caml-list mailing list. Subscription man

[Caml-list] Broken dumps from memprof patch?

2009-06-08 Thread Dawid Toton
I have compiled MinGW port of the comopiler (3.10) with memprof patch applied. I can produce heap dumps, but heapstats tool fails to load it. I had to change major_gc.c, the line: #include is replaced by a stub: int getpid() {return 8;} I had to tag all files in hp dir as precious (using hp/_t