From: Dominique Martinet <dominique.martinet@student.ecp.fr>
To: "Çagdas Bozman" <cagdas.bozman@ocamlpro.com>
Cc: caml-list@inria.fr
Subject: Re: [Caml-list] try ocaml website
Date: Fri, 23 Dec 2011 20:10:28 +0100 [thread overview]
Message-ID: <20111223191028.GB13146@nautica> (raw)
In-Reply-To: <CAAFKszFL5mP5Sr9+SavZWv=wFBC8vmunYdNS5Ob4Zebyk0v3zQ@mail.gmail.com>
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
next prev parent reply other threads:[~2011-12-23 19:10 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-12-23 18:00 Fabrice Le Fessant
2011-12-23 18:40 ` Dominique Martinet
2011-12-23 18:49 ` Çagdas Bozman
2011-12-23 19:10 ` Dominique Martinet [this message]
2011-12-23 19:29 ` Jérémie Dimino
2011-12-23 19:39 ` Dominique Martinet
2011-12-23 21:35 ` oliver
2011-12-23 19:36 ` Adrien
2011-12-26 8:09 ` Gabriel Scherer
2011-12-27 20:23 ` Fabrice Le Fessant
2011-12-23 18:40 ` oliver
2011-12-24 8:51 ` Stéphane Glondu
2011-12-24 10:16 ` oliver
2011-12-24 10:31 ` Dominique Martinet
2011-12-23 18:54 ` Török Edwin
2011-12-23 21:27 ` oliver
2011-12-23 18:56 ` Ashish Agarwal
2011-12-23 19:15 ` Philippe Strauss
2011-12-23 21:14 ` Norman Hardy
2011-12-23 21:18 ` William Le Ferrand
2011-12-23 21:32 ` oliver
2011-12-26 8:50 ` Mihamina Rakotomandimby
2011-12-26 9:05 ` Esther Baruk
2012-01-03 22:12 ` Philippe Wang
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20111223191028.GB13146@nautica \
--to=dominique.martinet@student.ecp.fr \
--cc=cagdas.bozman@ocamlpro.com \
--cc=caml-list@inria.fr \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox