caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* [Caml-list] A brief guide to a bit of the OCaml type checker
@ 2013-03-08 11:10 oleg
  2013-03-10  6:55 ` Anthony Tavener
  0 siblings, 1 reply; 2+ messages in thread
From: oleg @ 2013-03-08 11:10 UTC (permalink / raw)
  To: caml-list


When studying the OCaml type checker I have come across an elegant but
seemingly little known type generalization algorithm based on type
levels. Interestingly, the same levels also help type check local
modules, existentials, and polymorphic records. I am thankful to
Didier Re'my, the discoverer of the algorithm, for describing the
bigger picture, sharing intuitions and history, and pointing out more
applications of the type levels (e.g., MLF).

The following web page

        http://okmij.org/ftp/ML/generalization.html

attempts to popularize the algorithm, explain it on toy type checkers
and describe its implementation in the OCaml type checker. Hopefully
one might get a better idea what the OCaml type checker is really
doing.



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-03-10  6:55 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-03-08 11:10 [Caml-list] A brief guide to a bit of the OCaml type checker oleg
2013-03-10  6:55 ` Anthony Tavener

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).