Hi, Çagdas Bozman wrote on Fri, Dec 23, 2011 : > > The only "real" thing that it's missing is a way to reset the toplevel > > without reloading the page. It's the same problem as with the real > > toplevel now that I think about it, but I didn't think of reloading the > > page directly! > > You can clear the editor view by using the command "clear()".
Yes, I've seen that - what I mean isn't clearing the view, but really reseting the variables and whatever is defined. Maybe there actually is something in the standard toplevel, but I don't think I've ever heard about it :) The behaviour I want would be: # let x = 42;; val x : int = 42 # reset ();; - : unit = () # x;; Characters 0-1: Error: Unbound value x Regards, -- Dominique Martinet | Asmadeus -- Caml-list mailing list. Subscription management and archives: https://sympa-roc.inria.fr/wws/info/caml-list Beginner's list: http://groups.yahoo.com/group/ocaml_beginners Bug reports: http://caml.inria.fr/bin/caml-bugs
