Version française
Home     About     Download     Resources     Contact us    
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: -- (:)
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