Browse thread
Nesting Modules
[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: | 2005-11-02 (01:39) |
From: | Pietro Abate <Pietro.Abate@a...> |
Subject: | Re: [Caml-list] Nesting Modules |
On Tue, Nov 01, 2005 at 10:59:27AM -0600, Tom Hawkins wrote: > Can I instruct the compiler to nest Bottom somewhere in Top, to obtain > clean, hierarchical names (eg: Top.Bottom.some_function)? Of course I > can inline bottom.ml in top.ml, but then the file become rather large. There should be some way in camlp4 to inline files with and #include "file.ml" directive... Or at least I've a vague memory of this... I remember of a thread on this ml a while ago but I never use this trick. Does anybody can confirm this ? hope this helps. p -- ++ Blog: http://blog.rsise.anu.edu.au/?q=pietro ++ ++ "All great truths begin as blasphemies." -George Bernard Shaw ++ Please avoid sending me Word or PowerPoint attachments. See http://www.fsf.org/philosophy/no-word-attachments.html