From: Jacques Garrigue <garrigue@math.nagoya-u.ac.jp>
To: swaroop@cs.jhu.edu, swaroop.sridhar@gmail.com
Cc: caml-list@yquem.inria.fr
Subject: Re: [Caml-list] Caml type rules
Date: Wed, 29 Jun 2005 13:34:30 +0900 (JST) [thread overview]
Message-ID: <20050629.133430.74757171.garrigue@math.nagoya-u.ac.jp> (raw)
In-Reply-To: <42C20A70.40305@cs.jhu.edu>
From: Swaroop Sridhar <swaroop.sridhar@gmail.com>
> Is there a document that contains all of the type-inference rules of
> Ocaml? If so, I would appreciate a reference.
No document contains all the rules.
(It would be soon obsolete, due to the speed of changes :-)
But most of the type system is accounted for in papers and technical
reports.
The following list may not be 100% accurate, nor complete, but it
should give you most of the type system:
Core language = HM type inference + algebraic datatypes:
Any good textbook on ML.
For the module system:
Applicative functors and fully transparent higher-order modules.
Xavier Leroy, POPL'95.
For objects and classes:
Objective ML: An effective object-oriented extension to ML.
Didier Remy and Jerome Vouillon, POPL'97.
For polymorphic variants and object typing:
Simple Type Inference for Structural Polymorphism
Jacques Garrigue, FOOL'2002.
For the typing of imperative features:
Relaxing the value restriction. Jacques Garrigue, FLOPS'04.
You can also find various papers on more specific aspects on
developpers' home pages.
Note however that some experimental features lack a detailed
presentation. For instance, recursive modules seem to be in this
category.
Hope this helps,
Jacques Garrigue
prev parent reply other threads:[~2005-06-29 4:34 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-06-29 2:41 Swaroop Sridhar
2005-06-29 4:34 ` Jacques Garrigue [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20050629.133430.74757171.garrigue@math.nagoya-u.ac.jp \
--to=garrigue@math.nagoya-u.ac.jp \
--cc=caml-list@yquem.inria.fr \
--cc=swaroop.sridhar@gmail.com \
--cc=swaroop@cs.jhu.edu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox