Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
Rephrasing of dynamic module selection problem
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ 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" <> 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

  - Andreas