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 OAA27708; Fri, 9 Aug 2002 14:08:14 +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 OAA27989 for ; Fri, 9 Aug 2002 14:08:14 +0200 (MET DST) Received: from pauillac.inria.fr (pauillac.inria.fr [128.93.11.35]) by concorde.inria.fr (8.11.1/8.11.1) with ESMTP id g79C8Cr21832; Fri, 9 Aug 2002 14:08:12 +0200 (MET DST) Received: (from weis@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id OAA28030; Fri, 9 Aug 2002 14:08:12 +0200 (MET DST) From: Pierre Weis Message-Id: <200208091208.OAA28030@pauillac.inria.fr> Subject: Re: [Caml-list] Side effect In-Reply-To: <20020809132732.0139a7f4.nicolas.francois@free.fr> from Nicolas FRANCOIS at "Aug 9, 102 01:27:32 pm" To: nicolas.francois@free.fr (Nicolas FRANCOIS) Date: Fri, 9 Aug 2002 14:08:12 +0200 (MET DST) Cc: florian@hars.de, caml-list@inria.fr X-Mailer: ELM [version 2.4ME+ PL28 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk Hi Nicolas, [...] > Thanks, Florian. I guessed something like this, but could not find a clear > explanation in the docs (not that the docs are bad, it's just the reader > being unable to read it correctly). You should consider to have a look to the FAQ of the language, either in french or in english: http://pauillac.inria.fr/caml/FAQ/FAQ_DEBUTANT-eng.html http://pauillac.inria.fr/caml/FAQ/FAQ_DEBUTANT-fra.html There you will get a detailed explanation to answer the question: * My array is modified, I don't know why ? which seems relevant to your problem. > I'll have to write a matrix copy function :-) > > Nicolas FRANCOIS In particular, there is a discussion there about implementing matrices in Caml, plus a copy matrix function :) Read the FAQ ! Pierre Weis INRIA, Projet Cristal, Pierre.Weis@inria.fr, http://pauillac.inria.fr/~weis/ ------------------- 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