Browse thread
[Caml-list] Do you like files as modules?
-
skaller
-
Matt Gushee
- Stefan Monnier
- William Lovas
-
Matt Gushee
[
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: | Stefan Monnier <monnier@i...> |
| Subject: | [Caml-list] Re: Do you like files as modules? |
> implementation files. Currently, if you have an interface 'foo.mli',
> with several possible implementations, you have to resort to kludges
> like creating subdirectories a/, b/, and c/, each with a different
> version of 'foo.ml', one of which gets copied into the main directory at
I thought the way to deal with that was to explicitly define a module A of
signature Foo in the file foo_a.ml, module B : Foo in file foo_b.ml, ...
Or something like that.
Stefan
-------------------
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