Browse thread
local modules in classes
- Jacques Le Normand
[
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-06 (16:15) |
From: | Jacques Le Normand <rathereasy@g...> |
Subject: | local modules in classes |
Dear caml-list, it seems that local modules can't be defined in class definitions. the following gives a syntax error: class foo = let module M = struct type t = [`Foo] end in object end is there a reason for this? --Jacques L.