From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id XAA27645; Wed, 14 May 2003 23:23:08 +0200 (MET DST) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id XAA27719 for ; Wed, 14 May 2003 23:23:07 +0200 (MET DST) Received: from jamlikhet.polytechnique.org (b.mx.m4x.polytechnique.org [129.104.30.35]) by nez-perce.inria.fr (8.11.1/8.11.1) with ESMTP id h4ELN7T22383 for ; Wed, 14 May 2003 23:23:07 +0200 (MET DST) Received: from alan-schm1p.inria.fr (DHCP12-12.CIS.UPENN.EDU [158.130.13.42]) by ssl.polytechnique.org (Postfix) with ESMTP id 4FED8C01A for ; Wed, 14 May 2003 23:23:06 +0200 (CEST) Received: by alan-schm1p.inria.fr (Postfix, from userid 501) id F2AF44149; Wed, 14 May 2003 17:22:27 -0400 (EDT) Date: Wed, 14 May 2003 17:22:27 -0400 From: Alan Schmitt To: caml-list@inria.fr Subject: [Caml-list] mli and packing question Message-ID: <20030514212227.GT25328@alan-schm1p> Mail-Followup-To: caml-list@inria.fr Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4i X-Editor: Vim http://vim.sf.net/ X-Info: http://pauillac.inria.fr/~aschmitt/ X-Operating-System: Linux/2.4.21pre4-1mdk (i686) X-Uptime: 17:10:23 up 1 day, 17:21, 1 user, load average: 0.12, 0.20, 0.10 X-Spam: no; 0.00; mli:01 syntax:02 parser:02 modules:02 abstract:03 ------:94 functions:05 definition:06 i'd:06 channel:06 i'm:07 i've:09 something:09 abstracts:10 duplicating:10 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk Hi, I've been trying to clean up the iCalendar parser that I've been working on, to be able to release something (even if it's not finished). I'm trying to make it as simple as possible to use, and I have a small question. I have a dependency among modules that look like this: _____ parser _______ / \ syntax ------ printer ________ main where main abstracts away some details by providing a read (input channel to iCalendar abstract syntax) and write functions. Now I'd like to make all this available using some mli file that exposes the two functions from main, and the syntax. It feels like there must be an easy way to do it, without duplicating all the syntax definition. Alan Schmitt -- The hacker: someone who figured things out and made something cool happen. ------------------- To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ Beginner's list: http://groups.yahoo.com/group/ocaml_beginners