Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

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" <>
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 Archives:
Bug reports: FAQ:
Beginner's list: