[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_

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 a

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 in

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: http:/

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 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 that godi believes i

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] ht

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 love

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 over

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] Ocaml clone detector

2009-09-03 Thread Nicolas barnier
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 at least for program sources, books, music, DNA etc): t

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 ba

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 Jake Donham
On Thu, Sep 3, 2009 at 6:05 AM, Edgar Friendly wrote: > 8) Other (please explain) > Please take this with the caveat that I have little experience with Batteries, but my impression (from following batteries-devel) is that it changes OCaml significantly with Camlp4 extensions, and that it is not

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 Donham wrote: > On Thu, Sep 3, 2009 at 6:05 AM, Edgar Friendly wrote: >> >> 8) Other (please explain) > > Please take this with the caveat that I have little experience with > Batter

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. Subscr

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 wrote: > - 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 is a > book on "An I

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

2009-09-03 Thread Sylvain Le Gall
On 03-09-2009, Edgar Friendly 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 it then > 3) It

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 wrote: > On Thu, Sep 3, 2009 at 5:00 PM, Ashish Agarwal wrote: > >> - Core language features are altered. For example, the

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 Pxp_tree_parser.parse_wfdo

[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] Why don't you use batteries?

2009-09-03 Thread Jon Harrop
On Thursday 03 September 2009 15:35:20 Dario Teixeira wrote: > a) Lack of exposure to the advantages of Batteries. It borrows lots of >cool ideas from Haskell, but that may not be immediately apparent. Can you elaborate on this? >You guys should take advantage of the Ocaml Planet to run

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

2009-09-03 Thread Philippe Wang
I am not sure my answer is relevant, but here it is : The ratio (time needed to install&learn&use it) / (time saved) has to be interesting (close to zero). For me, at the moment, this ratio is close to infinite. However, I do hope to use it someday. Cheers, Philippe On Thu, Sep 3, 2009 at 2:0

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 a

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 Mike Lin
2009/9/3 Jean-Christophe Filliâtre > > > 8) Other (please explain) > > I like writing my own libraries when I need some. > 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 amou

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

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

2009-09-03 Thread Edgar Friendly
Erik de Castro Lopo wrote: > 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

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

2009-09-03 Thread Erik de Castro Lopo
Edgar Friendly wrote: > Would you consider donating any of it to batteries? When I finally get batteries (via apt-get) and find something thats in my library, but not in batteries, I would be happy to donate it :-). Cheers, Erik -- ---

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

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

2009-09-03 Thread David MENTRE
Hello Erik, 2009/9/4 Erik de Castro Lopo : > 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 then > push it into our

Re: [Caml-list] Documentation to start

2009-09-03 Thread David MENTRE
Hello, 2009/9/3 vernade : > 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: http://caml.inria.fr/pub/

Re: [Caml-list] batteries compilation error

2009-09-03 Thread Florent Monnier
(...) > > > I don't see any "-I +camlp4" can you add it? > > > > if I run the command like this on the command line it passes right > > but when I run again the make command it doesn't continue because > > ocamlbuild complains about sanity violation > > Anyway as it is for packaging purpose I will

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

2009-09-03 Thread Stefano Zacchiroli
On Fri, Sep 04, 2009 at 01:08:32AM +0100, Jon Harrop wrote: > I would very much like to learn batteries and write OCaml Journal > articles about it. The main reason I have not is not just that it > has not reached 1.0 yet but that it is not a mere "apt-get install" > away for most users. Uh? htt

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

2009-09-03 Thread Stefano Zacchiroli
On Fri, Sep 04, 2009 at 01:34:45PM +1000, Erik de Castro Lopo wrote: > I can not yet "apt-get install" it. Uh? I've released the Debian package close to the beginning of Batteries development: http://packages.debian.org/sid/libbatteries-ocaml-dev Given that this is the second message in this dire

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

2009-09-03 Thread Gaius Hammond
On 4 Sep 2009, at 01:08, Jon Harrop wrote: I would very much like to learn batteries and write OCaml Journal articles about it. The main reason I have not is not just that it has not reached 1.0 yet but that it is not a mere "apt-get install" away for most users. This (for example) is wh