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=1.0 required=5.0 tests=AWL,SPF_SOFTFAIL autolearn=disabled version=3.1.3 X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from mail2-relais-roc.national.inria.fr (mail2-relais-roc.national.inria.fr [192.134.164.83]) by yquem.inria.fr (Postfix) with ESMTP id 70E05BBAF for ; Thu, 20 Nov 2008 22:57:28 +0100 (CET) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: As0AAAlsJUnUGyojkWdsb2JhbACBbZFsAQEBAQkLCgcRA71cgnw X-IronPort-AV: E=Sophos;i="4.33,639,1220220000"; d="asc'?vcf'?scan'208";a="17434300" Received: from smtp5-g19.free.fr ([212.27.42.35]) by mail2-smtp-roc.national.inria.fr with ESMTP; 20 Nov 2008 22:57:28 +0100 Received: from smtp5-g19.free.fr (localhost.localdomain [127.0.0.1]) by smtp5-g19.free.fr (Postfix) with ESMTP id 091B73EA1E7; Thu, 20 Nov 2008 22:57:28 +0100 (CET) Received: from Tocksi.local (lns-bzn-48f-81-56-220-129.adsl.proxad.net [81.56.220.129]) by smtp5-g19.free.fr (Postfix) with ESMTP id A5D753EA323; Thu, 20 Nov 2008 22:57:27 +0100 (CET) Message-ID: <4925DD43.1000700@univ-savoie.fr> Date: Thu, 20 Nov 2008 22:57:23 +0100 From: Christophe Raffalli User-Agent: Thunderbird 2.0.0.17 (Macintosh/20080914) MIME-Version: 1.0 To: David Rajchenbach-Teller Cc: Caml Subject: Re: [Caml-list] About namespaces References: <1227216556.7676.31.camel@Blefuscu> In-Reply-To: <1227216556.7676.31.camel@Blefuscu> X-Enigmail-Version: 0.95.7 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig94BB810D411BEA7BBDA90DA5" X-Spam: no; 0.00; christophe:01 raffalli:01 christophe:01 raffalli:01 univ-savoie:01 namespaces:01 mylist:01 struct:01 struct:01 mylist:01 cheers:01 chablais:01 73376:01 univ-savoie:01 lama:01 X-Attachments: cset="utf-8" name="Christophe_Raffalli.vcf" name="Christophe_Raffalli.vcf" type="application/pgp-signature" name="signature.asc" name="signature.asc" This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig94BB810D411BEA7BBDA90DA5 Content-Type: multipart/mixed; boundary="------------010003010007050707040008" This is a multi-part message in MIME format. --------------010003010007050707040008 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable And what about include (it is your import) ? It allows what you want and is short ? module Mylist =3D struct let id x =3D x end module Hislist =3D struct let id2 x =3D x end module Alllist =3D struct include Mylist include Hislist end What is really missing is renaming when opening or doing include (with regular expression pattern matching for instance). Cheers, Christophe --=20 Christophe Raffalli Universite de Savoie Batiment Le Chablais, bureau 21 73376 Le Bourget-du-Lac Cedex tel: (33) 4 79 75 81 03 fax: (33) 4 79 75 87 42 mail: Christophe.Raffalli@univ-savoie.fr www: http://www.lama.univ-savoie.fr/~RAFFALLI --------------------------------------------- IMPORTANT: this mail is signed using PGP/MIME At least Enigmail/Mozilla, mutt or evolution=20 can check this signature. The public key is stored on www.keyserver.net --------------------------------------------- --------------010003010007050707040008 Content-Type: text/x-vcard; charset=utf-8; name="Christophe_Raffalli.vcf" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="Christophe_Raffalli.vcf" begin:vcard fn:Christophe Raffalli n:Raffalli;Christophe org:LAMA (UMR 5127) email;internet:christophe.raffalli@univ-savoie.fr title;quoted-printable:Ma=3DC3=3DAEtre de conf=3DC3=3DA9rences tel;work:+33 4 79 75 81 03 note:http://www.lama.univ-savoie.fr/~raffalli x-mozilla-html:TRUE version:2.1 end:vcard --------------010003010007050707040008-- --------------enig94BB810D411BEA7BBDA90DA5 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFJJd1Hi9jr/RgYAS4RAotYAJ412hvwoNc6zczgrwL9uEp/98aK9QCgo6vp 0r7RA3ARzYMso/nv1U2oias= =PIo0 -----END PGP SIGNATURE----- --------------enig94BB810D411BEA7BBDA90DA5--