From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Original-To: caml-list@sympa.inria.fr Delivered-To: caml-list@sympa.inria.fr Received: from mail1-relais-roc.national.inria.fr (mail1-relais-roc.national.inria.fr [192.134.164.82]) by sympa.inria.fr (Postfix) with ESMTPS id 84C037EE09 for ; Fri, 26 Oct 2012 16:48:09 +0200 (CEST) Received-SPF: None (mail1-smtp-roc.national.inria.fr: no sender authenticity information available from domain of thelema314@gmail.com) identity=pra; client-ip=209.85.223.182; receiver=mail1-smtp-roc.national.inria.fr; envelope-from="thelema314@gmail.com"; x-sender="thelema314@gmail.com"; x-conformance=sidf_compatible Received-SPF: Pass (mail1-smtp-roc.national.inria.fr: domain of thelema314@gmail.com designates 209.85.223.182 as permitted sender) identity=mailfrom; client-ip=209.85.223.182; receiver=mail1-smtp-roc.national.inria.fr; envelope-from="thelema314@gmail.com"; x-sender="thelema314@gmail.com"; x-conformance=sidf_compatible; x-record-type="v=spf1" Received-SPF: None (mail1-smtp-roc.national.inria.fr: no sender authenticity information available from domain of postmaster@mail-ie0-f182.google.com) identity=helo; client-ip=209.85.223.182; receiver=mail1-smtp-roc.national.inria.fr; envelope-from="thelema314@gmail.com"; x-sender="postmaster@mail-ie0-f182.google.com"; x-conformance=sidf_compatible X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AmkFABSiilDRVd+2m2dsb2JhbABEhVG7XQEDAQOBAAgjAQEBAQEICQsJFCeCHgEBAQQSAh4BBQgBGxwCAwwGBQsNCRYPCQMCAQIBEREBBQEcEwgBAR6HUQEDD54GYgkDjDCCdoR/ChknDVmIdQEFDItlg0qDJAOVc4VmiHc/hC0 X-IronPort-AV: E=Sophos;i="4.80,654,1344204000"; d="scan'208";a="179091627" Received: from mail-ie0-f182.google.com ([209.85.223.182]) by mail1-smtp-roc.national.inria.fr with ESMTP/TLS/RC4-SHA; 26 Oct 2012 16:48:08 +0200 Received: by mail-ie0-f182.google.com with SMTP id k10so6850194iea.27 for ; Fri, 26 Oct 2012 07:48:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=iN6slci3z08I7mykwYvNCCmqsDBeSqeSpAco0ftVSO0=; b=BYQqNuRTCyVlxR6O2XS3ZI7FA/BKy4hdtHrALhDaJeW0QA37sFPoW66jFLQNI0JEBq Ib7L5pZx3nlKajIj+S7VGBenP4TwdtxH8+VUOMKkA8OBAHXfNy3OaweWe+ccAT34SHiS JeLDq3p1ODC9PUjLwmo35yu3/syyQRUAEv5LPNbV5rxrLw9375S8qqHDlxit79CEjaKP 37+hEs1PzVrvwcptTLCDhn+jD/KwlkrMmU4m8zL12BcW0Hobz3HJxQxPalZhNHefot+M nmYzR74nPNyQLVtB99ARr2sDKkJOzikb8WMqN7wInSmrCCawmIAzdtvyRHITubOn1ILr fgjA== Received: by 10.50.188.199 with SMTP id gc7mr2510247igc.4.1351262887484; Fri, 26 Oct 2012 07:48:07 -0700 (PDT) Received: from [192.168.1.73] (99-121-78-10.lightspeed.lnngmi.sbcglobal.net. [99.121.78.10]) by mx.google.com with ESMTPS id uj6sm1340543igb.4.2012.10.26.07.48.05 (version=SSLv3 cipher=OTHER); Fri, 26 Oct 2012 07:48:06 -0700 (PDT) Message-ID: <508AA2AB.5040401@gmail.com> Date: Fri, 26 Oct 2012 10:48:11 -0400 From: Edgar Friendly User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:16.0) Gecko/20121010 Thunderbird/16.0.1 MIME-Version: 1.0 To: caml-list@inria.fr References: <20121026112602.GA2781@romildo.no-ip.org> In-Reply-To: <20121026112602.GA2781@romildo.no-ip.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Subject: Re: [Caml-list] Importing specific names On 10/26/2012 7:26 AM, José Romildo Malaquias wrote: > Hello. > > It seems that the expression ocaml "open module-path" exposes all names > exported by module-path. > > Is there any way of exposing only a restrict set of names from a > module-path, instead of all names? > > Romildo > If I want to import only a few values from a module, I often use something like this: let (a,b,c) = Module.(a,b,c) E.