To: caml-redistribution@margaux
Subject: Represetation of data, and structural equality
Date: Mon, 14 Dec 1992 09:52:30 +0100 (MET) [thread overview]
Message-ID: <9209300722.AA26993@concorde.inria.fr> (raw)
Dear Chet,
Your question canot be answered in a theoretic framework: it depends
on the compiler you use. In Caml V3.1 the answer is yes, in Caml Light
the answer is no:
> Caml Light version 0.5
#type foo = GOO of int;;
Type foo defined.
#let x = GOO 1;;
x : foo = GOO 1
#let y = GOO 1;;
y : foo = GOO 1
#x == y;;
- : bool = false
#
CAML (decstation) (V3.1) by INRIA Thu Oct 15
#type foo = GOO of int;;
Type foo is defined
#let x = GOO 1;;
Value x is (GOO 1) : foo
#let y = GOO 1;;
Value y is (GOO 1) : foo
#x == y;;
true : bool
Pierre Weis
----------------------------------------------------------------------------
Formel Project
INRIA, BP 105, F-78153 Le Chesnay Cedex (France)
E-mail: Pierre.Weis@inria.fr
Telephone: +33 1 39 63 55 98
----------------------------------------------------------------------------
next reply other threads:[~1992-12-14 8:52 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
1992-12-14 8:52 [this message]
-- strict thread matches above, loose matches on Subject: below --
1992-12-14 8:47 murthy
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=9209300722.AA26993@concorde.inria.fr \
--to=caml-redistribution@margaux \
/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