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 QAA06496; Mon, 3 Feb 2003 16:09:53 +0100 (MET) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id QAA06684 for ; Mon, 3 Feb 2003 16:09:52 +0100 (MET) Received: from ns.mccme.ru ([195.133.68.22]) by nez-perce.inria.fr (8.11.1/8.11.1) with ESMTP id h13F9oP13305 for ; Mon, 3 Feb 2003 16:09:51 +0100 (MET) Received: from mccme.ru (potanin@mccme.ru [195.178.198.7]) by ns.mccme.ru (8.8.5/8.8.5) with SMTP id RAA31307 for ; Mon, 3 Feb 2003 17:52:27 +0300 Date: Mon, 3 Feb 2003 18:26:12 +0300 (MSK) From: Mike Potanin To: caml-list@inria.fr Subject: [Caml-list] Generic generic types. Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk Haskell support types like data Refal_atom agregat = RefalChar Char | RefalInt Int | RefalTerm (agregat (Refal_atom agregat)) Do OCaml support similar type? type 'agregat refal_atom = Char of char | Int of int | Term of (('agregate refal_atom) 'agregat);; ------------------- 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