Version française
Home     About     Download     Resources     Contact us    
Browse thread
[Caml-list] scripting ocaml from inside of ocaml
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Yamagata Yoriyuki <yoriyuki@m...>
Subject: Re: [Caml-list] scripting ocaml from inside of ocaml
From: "Chris GauthierDickey" <chrisg@cs.uoregon.edu>
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