Browse thread
Rephrasing of dynamic module selection problem
-
Nathan Cooprider
- Martin Jambon
-
brogoff
- Andreas Rossberg
- Virgile Prevosto
[
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: | 2006-02-21 (12:13) |
From: | Andreas Rossberg <AndreasRossberg@w...> |
Subject: | Re: [Caml-list] Rephrasing of dynamic module selection problem |
"brogoff" <brogoff@speakeasy.net> wrote: > > There are other MLs where you can pack a module into some manipulable > entity, but OCaml isn't one of them. Once you go there I wonder why not > just remove all differences between modules and records, since the two > things seem very similar. Simple answer: type inference. You can do it for records, but not for modules, because their type system is much too higher-order. In fact, even type /checking/ may easily become undecidable. These probably aren't unsurmountable problems, but unfortunately unsolved yet. - Andreas