[Caml-list] PXP error messages

2009-09-03 Thread Florian Hars
I think that Fatal error: exception Pxp_core_types.A.At(In entity [toplevel] = PRIVATE, at line 2, position 175: , _) is a suboptimal message for No DTD found, maybe you should use Pxp_tree_parser.parse_wfdocument_entity instead - Florian ___

Re: [Caml-list] batteries compilation error

2009-09-03 Thread Nicolas Pouillard
Excerpts from Florent Monnier's message of Wed Sep 02 22:02:11 +0200 2009: Trying to compile batteries (version 20090405 on ocaml 3.11.1), I get this error: + ocamlfind ocamlc -c -g -I src/syntax/pa_strings -I src -I src/core -I src/main -I src/libs -I src/core/extlib_threads -I

Re: [Caml-list] Optimizing Float Ref's

2009-09-03 Thread Xavier Leroy
I'm running OCaml 3.11.1, and I noticed something strange in some native code for matrix multiply today. The code was [...] [Local float ref being unboxed or not? ] You omitted the definition of dims, but after adding the obvious definition, the float ref sum is indeed completely unboxed and

Re: [Caml-list] Optimizing Float Ref's

2009-09-03 Thread Will M Farr
Xavier, Thanks for the comments. I thought that float ref's were unboxed by default! In fact, I find that breaking out the code into a stand- alone example which loops through matrix multiplies only indeed does not have any calls to caml_modify; everything is unboxed and stored on the

[Caml-list] Why don't you use batteries?

2009-09-03 Thread Edgar Friendly
It seems like batteries' adoption isn't quite as thorough as expected. We in the batteries devel team would love to know why you don't use batteries. Here's some of our guesses: 1) I *do* use batteries 2) It's not 1.0 yet, I'll try it then 3) It makes my executables too big 4) It's too hard to

Re: [Caml-list] Why don't you use batteries?

2009-09-03 Thread Rakotomandimby Mihamina
09/03/2009 04:05 PM, Edgar Friendly:: It seems like batteries' adoption isn't quite as thorough as expected. From the end user point of view, things that might help in usage are: - package availability - For Dummy Documentation + examples. I hate to say that, but something like this:

Re: [Caml-list] Why don't you use batteries?

2009-09-03 Thread Alan Schmitt
On Thu, Sep 3, 2009 at 3:05 PM, Edgar Friendly thelema...@gmail.com wrote: 4) It's too hard to install (dependencies, godi failures) I installed it once (using godi), but when I tried to migrate to a newer version of ocaml, compilation fails. (It tells me it's already installed, but it seems

Re: [Caml-list] Why don't you use batteries?

2009-09-03 Thread kattla
Hi, 3) It makes my executables too big (Assuming this [0] is still true) For me this is the biggest reason for not using batteries. I don't really have a need for small executables right now, but I would like to at least know that this issue will be resolved before I adopt batteries. [0]

Re: [Caml-list] Why don't you use batteries?

2009-09-03 Thread Vincent Aravantinos
Edgar, Le 3 sept. 09 à 15:05, Edgar Friendly a écrit : 2) It's not 1.0 yet, I'll try it then Overall impression that it is still a bit messy: - doc has broken links - interfaces lack homogeneity e.g. Hashtbl.mem takes the container first whereas Set.mem takes it second. In contrast I

Re: [Caml-list] Why don't you use batteries?

2009-09-03 Thread Dario Teixeira
Hi, It seems like batteries' adoption isn't quite as thorough as expected. We in the batteries devel team would love to know why you don't use batteries.  Here's some of our guesses: Batteries is a great project, and you guys shouldn't feel discouraged if it doesn't take over the world

Re: [Caml-list] Why don't you use batteries?

2009-09-03 Thread Ashish Agarwal
I have been planning to start using Batteries for several months, but here are some reasons I have not yet: - It did not compile under godi, but I haven't tried in a while. - The migration will require changes across our code base. It's hard to set aside the time for such an undertaking. - Core

Re: [Caml-list] Why don't you use batteries?

2009-09-03 Thread Tom Hutchinson
8) Other (please explain) It's not part of the standard distribution. Using it in an open source project adds a lot of dependencies. I understand that the Batteries team doesn't decide what gets included in OCaml. Still, many projects are very hesitant to add extra dependencies (even if

Re: [Caml-list] Why don't you use batteries?

2009-09-03 Thread Richard Jones
On Thu, Sep 03, 2009 at 09:05:08AM -0400, Edgar Friendly wrote: 6) It doesn't work on my platform Last time I tried, I couldn't get it to compile. However it is on my to-do list to look again and try to package it for Fedora. Rich. -- Richard Jones Red Hat

Re: [Caml-list] Why don't you use batteries?

2009-09-03 Thread Hezekiah M. Carty
(I do not want to derail this thread, just make a small clarification below) On Thu, Sep 3, 2009 at 11:49 AM, Jake Donhamj...@donham.org wrote: On Thu, Sep 3, 2009 at 6:05 AM, Edgar Friendly thelema...@gmail.com wrote: 8) Other (please explain) Please take this with the caveat that I have

Re: [Caml-list] Why don't you use batteries?

2009-09-03 Thread Jean-Christophe Filliâtre
8) Other (please explain) I like writing my own libraries when I need some. (But don't misread me: I don't see myself as a concurrent to Batteries, and I think you guys are doing a great job.) -- Jean-Christophe ___ Caml-list mailing list.

Re: [Caml-list] Why don't you use batteries?

2009-09-03 Thread Alp Mestan
On Thu, Sep 3, 2009 at 5:00 PM, Ashish Agarwal agarwal1...@gmail.comwrote: - Core language features are altered. For example, the Batteries way is to use input's instead of in_channel's. Documentation explaining such changes would help. The API documentation is excellent, but what is missing

[Caml-list] Re: Why don't you use batteries?

2009-09-03 Thread Sylvain Le Gall
On 03-09-2009, Edgar Friendly thelema...@gmail.com wrote: It seems like batteries' adoption isn't quite as thorough as expected. We in the batteries devel team would love to know why you don't use batteries. Here's some of our guesses: 1) I *do* use batteries 2) It's not 1.0 yet, I'll try

Re: [Caml-list] Why don't you use batteries?

2009-09-03 Thread Ashish Agarwal
Great! I did not know this book was going to employ Batteries. That is a great step towards making Batteries the standard library. On Thu, Sep 3, 2009 at 2:24 PM, Alp Mestan a...@mestan.fr wrote: On Thu, Sep 3, 2009 at 5:00 PM, Ashish Agarwal agarwal1...@gmail.comwrote: - Core language

Re: [Caml-list] PXP error messages

2009-09-03 Thread Gerd Stolpmann
Am Donnerstag, den 03.09.2009, 10:30 +0200 schrieb Florian Hars: I think that Fatal error: exception Pxp_core_types.A.At(In entity [toplevel] = PRIVATE, at line 2, position 175: , _) is a suboptimal message for No DTD found, maybe you should use

[Caml-list] Documentation to start

2009-09-03 Thread vernade
Hello, I just downloaded ocaml (and caml-light) . I am looking for documentation on pdf or any format that I can easily download , read and print. I need basic information. All I found was on line and the help didn't come with the file I downloaded to install ocaml and caml-light. Didier

Re: [Caml-list] Ocaml clone detector

2009-09-03 Thread John Clements
On Sep 3, 2009, at 8:06 AM, Nicolas barnier wrote: An amazing and simple technology to detect plagiarism is compression-based similarity distance. It is a side-effect of state-of-the-art compression algorithms that can be used to compute a distance for many kind of documents (it seems to work

Re: [Caml-list] Why don't you use batteries?

2009-09-03 Thread Hugo Schmitt
Hi I installed the Haskell Platform because there was a binary for win32, and didn't installed Ocaml Batteries for the same reason: You may download the source tarball from the Forge [1], read the on-line API documentation [2] or the extended release notes [3]. Cheers, Hugo On Thu, Sep 3, 2009

Re: [Caml-list] Why don't you use batteries?

2009-09-03 Thread Erik de Castro Lopo
Edgar Friendly wrote: 8) Other (please explain) I can not yet apt-get install it. The main systems where it batteries would be useful for me is on production code for Ubuntu 6.06 (legacy) and 8.04. I do have a laptop running 9.04 and will probably upgrade that to 9.10 in the near future. If

Re: [Caml-list] Why don't you use batteries?

2009-09-03 Thread Erik de Castro Lopo
Mike Lin wrote: Ditto, Due to the sparsity of OCaml's standard library, many long term users probably have their own library to do all sorts of little things they need, and substantial amounts of code written around it. :-( Double ditto. I have quite a large amount of stuff sitting on top of

Re: [Caml-list] Documentation to start

2009-09-03 Thread Philip
On Thu, 2009-09-03 at 23:36 +0200, vernade wrote: Hello, I just downloaded ocaml (and caml-light) . I am looking for documentation on pdf or any format that I can easily download , read and print. I need basic information. All I found was on line and the help didn't come with the file I

Re: [Caml-list] Why don't you use batteries?

2009-09-03 Thread David MENTRE
Hello Erik, 2009/9/4 Erik de Castro Lopo mle+oc...@mega-nerd.com: If batteries is available for 9.10 Batteries is available for 9.10: http://packages.ubuntu.com/search?keywords=batteries and I like it enough I will probably grab the 9.10 source package and backport it to 6.06 and 8.04 and

Re: [Caml-list] Documentation to start

2009-09-03 Thread David MENTRE
Hello, 2009/9/3 vernade vern...@free.fr: I just downloaded ocaml (and caml-light) . I am looking for documentation on pdf or any format that I can easily download , read and print. I need basic information. As you probably speak French, take a look at Le Langage Caml book: