From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id UAA26831; Wed, 8 Oct 2003 20:44:22 +0200 (MET DST) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id UAA03692 for ; Wed, 8 Oct 2003 20:44:21 +0200 (MET DST) Received: from qrnik.knm.org.pl (paf87.warszawa.sdi.tpnet.pl [217.96.225.87]) by concorde.inria.fr (8.11.1/8.11.1) with ESMTP id h98IiK112858 for ; Wed, 8 Oct 2003 20:44:21 +0200 (MET DST) Received: from qrnik ([192.168.0.1] ident=qrczak) by qrnik.knm.org.pl with esmtp (Exim 3.36 #1) id 1A7JIJ-0003dS-00 for caml-list@inria.fr; Wed, 08 Oct 2003 20:44:20 +0200 Subject: Re: [Caml-list] Constructors as functions and tuples in constructors From: "Marcin 'Qrczak' Kowalczyk" To: caml-list@inria.fr In-Reply-To: References: Content-Type: text/plain; charset=iso-8859-2 Message-Id: <1065638659.12041.0.camel@qrnik> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 Date: Wed, 08 Oct 2003 20:44:19 +0200 Content-Transfer-Encoding: quoted-printable X-Loop: caml-list@inria.fr X-Spam: no; 0.00; caml-list:01 marcin:01 'qrczak':01 kowalczyk:01 qrczak:01 alain:01 frisch:01 pisze:01 runtime:01 marcin:01 kowalczyk:01 qrczak:01 equality:01 knm:01 knm:01 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk W li=B6cie z =B6ro, 08-10-2003, godz. 20:28, Alain.Frisch@ens.fr pisze: > The idea is that any piece of code working on a pair (z1,z2) > can also work on A(z1,z2) since the runtime repsentation is the same, > except the tag which is not used. Equality would break. --=20 __("< Marcin Kowalczyk \__/ qrczak@knm.org.pl ^^ http://qrnik.knm.org.pl/~qrczak/ ------------------- To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ Beginner's list: http://groups.yahoo.com/group/ocaml_beginners