Re: [Caml-list] no_scan_tag and int array

2010-03-07 Thread ygrek
On Sun, 07 Mar 2010 01:48:51 +0100 Goswin von Brederlow wrote: > What polymorphic array function? I don't think Array.length is a good > test as it looks at the header of the array to see how many words the > array has. Sure, I've tested this elsewhere with Array.iter and other. Array.length her

Re: [Caml-list] Ocaml can't convert a GMT time into a float!

2010-03-07 Thread Luca de Alfaro
Thanks to all! I see, I am glad there are good alternative libraries! For my problem, I preferred to avoid having dependence on one more library for only 10 lines of code, so I wrote some code to do the conversion. It works only for dates after 1970, and it is somewhat inelegant; it is here: http

Re: [Caml-list] Ocaml can't convert a GMT time into a float!

2010-03-07 Thread Luca de Alfaro
Sorry: wrong link. The code is here: http://luca.dealfaro.org/converting-gmt-time-into-unix-time-in-ocaml On Sun, Mar 7, 2010 at 10:05 AM, Luca de Alfaro wrote: > Thanks to all! > > I see, I am glad there are good alternative libraries! > For my problem, I preferred to avoid having dependence o