Browse thread
Importing module signatures ?
[
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: | David Teller <David.Teller@e...> |
| Subject: | RE: [Caml-list] Importing module signatures ? |
On Thu, 2007-10-04 at 13:29 +0100, David Allsopp wrote: > > It seems that String is the name of the module structure itself rather > > than its signature. But what is the name of the signature ? > > Module String is not constrained by a named signature - you either need to > copy the interface from string.mli (it'll be in your ocaml lib directory) or > use ocamlc -i to generate an inferred interface and copy it in (cf. the > Extlib module ExtList.List). If there is another way, then I'd be fascinated > to hear it too! Well, that's what I did. And I'm deeply dissatisfied with copying and pasting myself. Cheers, David