Browse thread
Extending modules and 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: | 2009-04-18 (14:23) |
From: | Martin Jambon <martin.jambon@e...> |
Subject: | Re: [Caml-list] Extending modules and signatures |
Ashish Agarwal wrote: > This is a commonly requested feature. Ah. > One issue is that a file a.ml > <http://a.ml> creates a module A. However, a file a.mli does not create > a module type A. I'm not sure why this is the case. Does anyone know if > there is a specific reason? The module type exists, it's just that it doesn't have a name. let x = (123, "abc") does not define "type x = int * string" either. Martin -- http://mjambon.com/