Mailing list for all users of the OCaml language and system.
 help / color / mirror / Atom feed
From: Pierre Weis <Pierre.Weis@inria.fr>
To: tm1@cise.npl.co.uk (Toby Moth)
Cc: caml-list@inria.fr
Subject: Re: monomorphism is ... ?
Date: Thu, 21 Jan 1999 16:32:00 +0100 (MET)	[thread overview]
Message-ID: <199901211532.QAA18132@pauillac.inria.fr> (raw)
In-Reply-To: <199901211150.LAA06705@squall.cise.npl.co.uk> from "Toby Moth" at Jan 21, 99 11:50:29 am

> Am I right in thinking that the following holds ?
> 
> polymorphic  = has type 'a  = for all
> monomorphic  = has type '_a = exists
> 
> Here '=' stands for 'equal in spirit'.
> 
> 
> Toby Moth

Yes you are 'right in spirit': more precisely '_a means an unknown
type, that should be precised by further constraints or computations
(as are unknowns in math). There is no quantifier in a type with '_a,
as opposed to existential types (type scheme with existential
quantifier in fact).

Pierre Weis

INRIA, Projet Cristal, Pierre.Weis@inria.fr, http://cristal.inria.fr/~weis/





  reply	other threads:[~1999-01-21 15:40 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-01-21 11:50 Toby Moth
1999-01-21 15:32 ` Pierre Weis [this message]
1999-01-21 15:45 ` Simon Helsen
1999-01-21 18:24   ` Pierre Weis

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=199901211532.QAA18132@pauillac.inria.fr \
    --to=pierre.weis@inria.fr \
    --cc=caml-list@inria.fr \
    --cc=tm1@cise.npl.co.uk \
    /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