From: Simon Helsen <helsen@informatik.uni-tuebingen.de>
To: Toby Moth <tm1@cise.npl.co.uk>
Cc: caml-list@inria.fr
Subject: Re: monomorphism is ... ?
Date: Thu, 21 Jan 1999 16:45:53 +0100 (MET) [thread overview]
Message-ID: <Pine.A32.3.96.990121164248.57908C-100000@modas> (raw)
In-Reply-To: <199901211150.LAA06705@squall.cise.npl.co.uk>
>Am I right in thinking that the following holds ?
>
>polymorphic = has type 'a = for all
>monomorphic = has type '_a = exists
not in the type-theoretic sense of the word. Exists normally refers to
data abstraction, whereas the '_a here is a "hack" of the ocaml
interactive environment. As soon as it gets a type, you cannot
"re"-instantiate it. SML doesn't have the '_a at all and returns a dummy
type-variable. I think (but I am not sure about this) that the batch
compiler doesn't deal with '_a at all.
cheers,
Simon
next prev parent reply other threads:[~1999-01-21 17:45 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
1999-01-21 15:45 ` Simon Helsen [this message]
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=Pine.A32.3.96.990121164248.57908C-100000@modas \
--to=helsen@informatik.uni-tuebingen.de \
--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