From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by yquem.inria.fr (Postfix) with ESMTP id 01DB3BB83 for ; Wed, 5 Jul 2006 01:19:56 +0200 (CEST) Received: from pauillac.inria.fr (pauillac.inria.fr [128.93.11.35]) by nez-perce.inria.fr (8.13.6/8.13.6) with ESMTP id k64NJvtV017088 for ; Wed, 5 Jul 2006 01:19:58 +0200 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 BAA19750 for ; Wed, 5 Jul 2006 01:19:56 +0200 (MET DST) Received: from mz2.forethought.net (mzpi4.forethought.net [216.241.36.13]) by nez-perce.inria.fr (8.13.6/8.13.6) with ESMTP id k64NJtIl017076 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO) for ; Wed, 5 Jul 2006 01:19:56 +0200 Received: from [216.241.35.41] (helo=[10.0.0.2]) by mz2.forethought.net with esmtp (Exim 4.51) id 1FxuBI-0007fA-12 for caml-list@inria.fr; Tue, 04 Jul 2006 17:19:49 -0600 Message-ID: <44AAF7B6.2030505@gushee.net> Date: Tue, 04 Jul 2006 17:20:22 -0600 From: Matt Gushee User-Agent: Thunderbird 1.5.0.4 (X11/20060615) MIME-Version: 1.0 To: caml-list@inria.fr Subject: Re: [Caml-list] revised syntax and immediate objects References: <44AAF164.20406@gushee.net> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Miltered: at nez-perce with ID 44AAF79D.001 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Miltered: at nez-perce with ID 44AAF79B.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Spam: no; 0.00; syntax:01 ocaml:01 topfind:01 camlp:01 camlp:01 pcaml:01 mlast:01 cmo:01 wrote:01 unbound:01 caml-list:01 hmm:02 revised:02 objects:02 loc:03 X-Spam-Checker-Version: SpamAssassin 3.0.3 (2005-04-27) on yquem.inria.fr X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=disabled version=3.0.3 Jonathan Roewen wrote: > Hmm, I'm getting an error trying to use class_str_item (ocaml 3.09.2): > > # #use "topfind";; > # #camlp4o;; > # #require "camlp4.extend";; > # open Pcaml;; > # let gen_method loc field = > let obj = "obj" in > <:class_str_item< method $lid:field$ = $lid:obj$#$lid:field$; >>;; > Unbound quotation: "class_str_item";; You also need to load q_Mlast.cmo. -- Matt Gushee : Bantam - lightweight file manager : matt.gushee.net/software/bantam/ : : RASCL's A Simple Configuration Language : matt.gushee.net/rascl/ :