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 XAA24210; Wed, 15 May 2002 23:02:38 +0200 (MET DST) 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 XAA24216 for ; Wed, 15 May 2002 23:02:37 +0200 (MET DST) Received: from fichte.ai.univie.ac.at (fichte.ai.univie.ac.at [131.130.174.156]) by nez-perce.inria.fr (8.11.1/8.11.1) with ESMTP id g4FL2aH18344 for ; Wed, 15 May 2002 23:02:36 +0200 (MET DST) Received: (from markus@localhost) by fichte.ai.univie.ac.at (8.9.3/8.9.3/Debian 8.9.3-21) id XAA31603; Wed, 15 May 2002 23:02:30 +0200 Date: Wed, 15 May 2002 23:02:30 +0200 From: Markus Mottl To: John Max Skaller Cc: caml-list@inria.fr Subject: Re: [Caml-list] Turning off type-checking Message-ID: <20020515210230.GA30870@fichte.ai.univie.ac.at> Mail-Followup-To: John Max Skaller , caml-list@inria.fr References: <20020514091053.A8883@pauillac.inria.fr> <706871B20764CD449DB0E8E3D81C4D4301EE6D43@opus.cs.cornell.edu> <20020514091053.A8883@pauillac.inria.fr> <20020514165632J.sumii@tuba.is.s.u-tokyo.ac.jp> <706871B20764CD449DB0E8E3D81C4D4301EE6D43@opus.cs.cornell.edu> <20020514091053.A8883@pauillac.inria.fr> <20020514125133.GC15675@kiefer.ai.univie.ac.at> <3CE2BA27.6030808@ozemail.com.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3CE2BA27.6030808@ozemail.com.au> User-Agent: Mutt/1.3.26i Organization: Austrian Research Institute for Artificial Intelligence Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk On Thu, 16 May 2002, John Max Skaller wrote: > Hmm. The standard programmers trick here is to lift out the > nested components, at the cost of passing the environment as > arguments: if you type the arguments, it short circuits inference. This would make models much less readable: there may be hundreds of variables! Not much fun to pass all this around... > BTW: you can encode the "Very" recursion as an integer. For some > models .. eg the model is a grammar and the data is a program with > output a parse tree .. this optimisation isn't useful .. but in the > 'real' world a lot of data is scalar rather than recursive. This would not gain much: recursion is mostly there for convenient specification. In most cases the user will provide types of finite cardinality only. Regards, Markus Mottl -- Markus Mottl markus@oefai.at Austrian Research Institute for Artificial Intelligence http://www.oefai.at/~markus ------------------- 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