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 OAA08021; Tue, 5 Nov 2002 14:40:07 +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 OAA08489 for ; Tue, 5 Nov 2002 14:40:06 +0100 (MET) X-SPAM-Warning: Sending machine is listed in blackholes.five-ten-sg.com Received: from athlon.baretta.com ([62.211.4.28]) by concorde.inria.fr (8.11.1/8.11.1) with ESMTP id gA5De5528168 for ; Tue, 5 Nov 2002 14:40:05 +0100 (MET) Received: from baretta.com (localhost.localdomain [127.0.0.1]) by athlon.baretta.com (Postfix) with ESMTP id A0E2B27252 for ; Tue, 5 Nov 2002 14:39:43 +0100 (CET) Message-ID: <3DC7CA1F.7070404@baretta.com> Date: Tue, 05 Nov 2002 14:39:43 +0100 From: Alessandro Baretta Organization: Baretta srl -- www.baretta.com User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.1) Gecko/20020826 X-Accept-Language: it, en MIME-Version: 1.0 To: ocaml Subject: Re: [Caml-list] help References: <3DC7B823.000089.11485@bj231.163.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk ÀîÒÇ wrote: > could anybody tell me what does "self type can not escape its class" mean? > > my function is > let test (mat: #seq array) = let result = Array.make 10 mat.(0) in result There is no problem with test. How did you define class seq? Alex ------------------- 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