[
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: | -- (:) |
| From: | Kenneth Knowles <kknowles@b...> |
| Subject: | Re: [Caml-list] including signature (mli) in struct (ml) |
On Wed, Aug 18, 2004 at 06:52:35PM -0400, Shaddin Doghmi wrote: > this redundancy can be annoying, is there a way to declare Aout only > once and still be able to refer to it in b.ml ? How about including > a.mli in a.ml somehow? something along the lines of include in C would > do it, where including a.h in a.c would make it unnecessary to define > something in both... Someone may have a more elegant solution to this, but when I have a bunch of types that I don't want to have to repeat, I put them in a .ml file without a corresponding .mli file. Kenn ------------------- 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