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 IAA14764; Sat, 15 Feb 2003 08:02:22 +0100 (MET) 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 IAA14760 for ; Sat, 15 Feb 2003 08:02:22 +0100 (MET) Received: from kurims.kurims.kyoto-u.ac.jp (kurims.kurims.kyoto-u.ac.jp [130.54.16.1]) by concorde.inria.fr (8.11.1/8.11.1) with ESMTP id h1F72Kf20857 for ; Sat, 15 Feb 2003 08:02:20 +0100 (MET) Received: from localhost (suiren.kurims.kyoto-u.ac.jp [130.54.16.25]) by kurims.kurims.kyoto-u.ac.jp (8.9.3/3.7W) with ESMTP id QAA11853; Sat, 15 Feb 2003 16:02:14 +0900 (JST) To: inv2002@yandex.ru Cc: caml-list@inria.fr Subject: Re: [Caml-list] Problem with classes or i need help In-Reply-To: <3E4D0C5A.000016.04257@ariel.yandex.ru> References: <3E4184BF.000014.23165@ariel.yandex.ru> <20030206094439M.garrigue@kurims.kyoto-u.ac.jp> <3E4D0C5A.000016.04257@ariel.yandex.ru> X-Mailer: Mew version 1.94.2 on Emacs 21.2 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-Id: <20030215160213L.garrigue@kurims.kyoto-u.ac.jp> Date: Sat, 15 Feb 2003 16:02:13 +0900 From: Jacques Garrigue X-Dispatcher: imput version 20000228(IM140) Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk From: "inv2002" > and now is a second problem: > > method add_figure : 'a. (#figure as 'a) -> string -> unit = fun f k -> > Hashtbl.add figures k f#to_string > > work correctly, but > > method add_figure : string -> 'a. (#figure as 'a) -> unit = fun k f -> > Hashtbl.add figures k f#to_string > > return syntax error, Only prefix quantification is allowed. method add_figure : 'a. string -> (#figure as 'a) -> unit = ... Jacques Garrigue ------------------- 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