From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on yquem.inria.fr X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=AWL autolearn=disabled version=3.1.3 Received: from mail1-relais-roc.national.inria.fr (mail1-relais-roc.national.inria.fr [192.134.164.82]) by yquem.inria.fr (Postfix) with ESMTP id 4A838BBAF for ; Sun, 12 Oct 2008 15:59:06 +0200 (CEST) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AvoCAIKf8UjCpx6wiGdsb2JhbACTWwEBARUipQiBbA X-IronPort-AV: E=Sophos;i="4.33,397,1220220000"; d="scan'208";a="18611348" Received: from smtpmin.univ-orleans.fr (HELO min.univ-orleans.fr) ([194.167.30.176]) by mail1-smtp-roc.national.inria.fr with ESMTP; 12 Oct 2008 15:59:06 +0200 Received: from smtps.univ-orleans.fr (localhost [127.0.0.1]) by min.univ-orleans.fr (Postfix) with ESMTP id 564A612B48F; Sun, 12 Oct 2008 15:59:06 +0200 (CEST) Received: from [192.168.0.12] (ras75-4-82-235-58-110.fbx.proxad.net [82.235.58.110]) by smtps.univ-orleans.fr (Postfix) with ESMTP id 3957636E60; Sun, 12 Oct 2008 15:59:08 +0200 (CEST) Subject: Re: [Caml-list] ANN OCaml Batteries Included alpha 1 From: David Teller To: peng.zang@gmail.com Cc: caml-list@yquem.inria.fr, OCaml In-Reply-To: <200810120142.23667.peng.zang@gmail.com> References: <1223732914.7333.22.camel@Blefuscu> <200810120142.23667.peng.zang@gmail.com> Content-Type: text/plain Date: Sun, 12 Oct 2008 15:59:13 +0200 Message-Id: <1223819953.6213.22.camel@Blefuscu> Mime-Version: 1.0 X-Mailer: Evolution 2.12.1 Content-Transfer-Encoding: 7bit X-Spam: no; 0.00; ocaml:01 univ-orleans:01 cheers:01 hash:01 toplevel:01 topfind:01 syntax:01 syntax:01 toplevel:01 ocaml:01 makefile:01 edits:01 toolchain:01 beginner's:01 bug:01 Hi, It seems we forgot one dependency in the README: you need Bin-prot to get Batteries to work. I must confess that we could have removed that dependency for Alpha 1, as we don't use any feature of Bin-prot yet. Cheers, David On Sun, 2008-10-12 at 01:42 -0400, Peng Zang wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Hi, > > I think Batteries Included is a great idea and have been looking forward to > seeing how it turns out. I've just installed it and have been playing around > with it. A quick question, how do you get batteries to work in the toplevel? > I tried the usual: > > # #use "topfind";; > # #require "batteries";; > No such package: bin_prot.syntax - Required by `batteries.bin_prot.syntax' > > But I get an error. Attempts to "#require" batteries.bin_prot.syntax yield > similar errors. > > This is quite important to me. I don't know what the general sentiment of the > community is, but the toplevel is one of the major reasons I use OCaml. In > fact, for every Makefile I write, I write an equivalent toplevel init file. > This ensures that any code I write in the toplevel, will compile with no > changes and vice versa. Even when making simple edits to compiled code, I > will open up a toplevel, load the library/file and open the correct name > space of where the edit will take place (automated with some elisp of > course). This allows me to test, in the toplevel, each little change I make. > > Thanks in advance, > > Peng > > > > > > On Saturday 11 October 2008 09:48:34 am David Teller wrote: > > Dear list, > > > > We're happy to inform you that the first alpha version of OCaml > > Batteries Included has just been released. You may find the source on > > the Forge [1], as well as the release notes [2], and you can browse the > > documentation online, including a detailed presentation of what OCaml > > Batteries Included is all about [3]. A GODI package has also been > > uploaded for OCaml 3.10 . > > > > The list of features is a tad too long for detailing it here. Let's just > > say that there are new or improved data structures, i/o, unicode ropes, > > syntax extensions, primitives for invoking some of the tools of the > > toolchain, etc. > > > > It's alpha-level code, so use with caution, and not all the features we > > have in mind have been implemented yet. On the other hand, any form of > > feedback is greatly appreciated. > > > > [1] http://forge.ocamlcore.org/frs/?group_id=17&release_id=44 > > [2] http://forge.ocamlcore.org/frs/shownotes.php?release_id=44 > > [3] http://forge.ocamlcore.org/docman/?group_id=17 > > > > Have fun coding, > > David > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v2.0.7 (GNU/Linux) > > iD8DBQFI8Y4/fIRcEFL/JewRAst2AKCRnKy/uB70LhSBnb/Rvny2EJTKYwCgz+j+ > 1oNcyf/KdXaQrwOe4dChrlk= > =zMpC > -----END PGP SIGNATURE----- > > _______________________________________________ > Caml-list mailing list. Subscription management: > http://yquem.inria.fr/cgi-bin/mailman/listinfo/caml-list > Archives: http://caml.inria.fr > Beginner's list: http://groups.yahoo.com/group/ocaml_beginners > Bug reports: http://caml.inria.fr/bin/caml-bugs > -- David Teller-Rajchenbach Security of Distributed Systems http://www.univ-orleans.fr/lifo/Members/David.Teller Angry researcher: French Universities need reforms, but the LRU act brings liquidations.