Version française
Home     About     Download     Resources     Contact us    
Browse thread
[Caml-list] # eval line; (?)
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Coletta Rémi <remi.coletta@f...>
Subject: [Caml-list] # eval line; (?)
Hello,

# line;;
- : string = "let b = 1;;"

# b;;
  ^
Unbound value b

I'm looking for a function like "eval" in LISP, that does

# eval line;
-: int = 1

#b;;
- : int = 1

Thanks,

-- 
Remi COLETTA
-------------------
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