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 UAA21184; Fri, 27 Jun 2003 20:00:16 +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 UAA21396 for ; Fri, 27 Jun 2003 20:00:15 +0200 (MET DST) Received: from smtp.mbg.ocn.ne.jp (mbg.ocn.ne.jp [210.190.142.181]) by nez-perce.inria.fr (8.11.1/8.11.1) with ESMTP id h5RI0Df02439 for ; Fri, 27 Jun 2003 20:00:14 +0200 (MET DST) Received: from localhost (p5031-ipad71marunouchi.tokyo.ocn.ne.jp [220.97.38.31]) by smtp.mbg.ocn.ne.jp (Postfix) with ESMTP id 84AA150F1; Sat, 28 Jun 2003 03:00:10 +0900 (JST) Date: Sat, 28 Jun 2003 03:00:09 +0900 (JST) Message-Id: <20030628.030009.92588696.yoriyuki@mbg.sphere.ne.jp> To: chrisg@cs.uoregon.edu Cc: caml-list@inria.fr Subject: Re: [Caml-list] scripting ocaml from inside of ocaml From: Yamagata Yoriyuki In-Reply-To: <001001c33ccc$5e878300$a806df80@chrisgd> References: <001001c33ccc$5e878300$a806df80@chrisgd> X-Mailer: Mew version 2.2 on Emacs 21.2 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam: no; 0.00; yamagata:01 yoriyuki:01 sphere:01 caml-list:01 toploop:01 retrieve:99 chris:01 bindings:01 ocaml:01 toplevel:01 obj:03 scripting:05 fri:07 type:07 env:08 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk From: "Chris GauthierDickey" Subject: [Caml-list] scripting ocaml from inside of ocaml Date: Fri, 27 Jun 2003 09:51:35 -0700 > However, my dilema is this: How can I add my own bindings to Obj.t in > Toploop.toplevel_env > and how can I retrieve values from Obj.t? "Obj.repr : 'a -> Obj.t" and "Obj.obj : Obj.t -> 'a". They are not type safe, so use with care! -- Yamagata Yoriyuki ------------------- 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