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 BAA05064; Fri, 19 Apr 2002 01:31:56 +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 BAA05057 for ; Fri, 19 Apr 2002 01:31:56 +0200 (MET DST) Received: from leia.mandrakesoft.com (office.mandrakesoft.com [195.68.114.34]) by concorde.inria.fr (8.11.1/8.11.1) with ESMTP id g3INVtb18812 for ; Fri, 19 Apr 2002 01:31:55 +0200 (MET DST) Received: by leia.mandrakesoft.com (Postfix, from userid 505) id 204995B15; Fri, 19 Apr 2002 01:31:48 +0200 (CEST) To: james woodyatt Cc: The Trade Subject: Re: [Caml-list] Is a Cow an Animal? References: From: Pixel Date: 19 Apr 2002 01:31:48 +0200 In-Reply-To: Message-ID: User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk james woodyatt writes: > On Thursday, April 18, 2002, at 03:44 PM, Pixel wrote: > > > > well, i don't really understand the """type 'diet energy = int""" stuff. [...] > It looks like the 'a energy type is not actually abstract in your trial above. > It has to be abstract or the technique doesn't work. /me is bad (bis) and worse, it seems I'm still missing something since subsumption is still not there. What I now understand is that it allows to have [ `E_rabbit | `E_human] T.energy a subtype of [ `E_rabbit ] T.energy which is needed to have the food tied to its eaters instead instead of having the animal tied to its accepted_food. thanks! ------------------- 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