Version française
Home     About     Download     Resources     Contact us    
Browse thread
Why + vs +. but "fake" parametric polymorphism for <
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: luc.maranget@i...
Subject: Re: [Caml-list] Why + vs +. but "fake" parametric polymorphism for <
>     Bonjour,
> 
> Quoting Gerd Stolpmann <info@gerd-stolpmann.de>:
> >Well, this is quite easy. The .mli file does not influence code
> >generation. Code is generated when the .ml file is compiled, and it is
> >only _checked_ afterwards if the types match the .mli file. This is
> >simply the logic of the .mli.
> 
> Very well, but why ?
> 
>         Diego Olivier

By design, I guess.

-- 
Luc Maranget