From: Jerome Vouillon <vouillon@pps.jussieu.fr>
To: caml-list@inria.fr
Subject: Re: [Caml-list] [ANN] The OCaml interactive toplevel in your Web browser
Date: Tue, 5 Apr 2011 11:40:45 +0200 [thread overview]
Message-ID: <20110405094045.GA4183@pps.jussieu.fr> (raw)
In-Reply-To: <20110404200708.GA16237@localhost>
On Mon, Apr 04, 2011 at 04:07:08PM -0400, Eric Cooper wrote:
> On Mon, Apr 04, 2011 at 02:59:59PM +0200, Jerome Vouillon wrote:
> > Technically, the OCaml toplevel and the Js_of_ocaml compiler have been
> > put together in a single OCaml program, which has then been compiled
> > to Javascript. The source code is currently available in the darcs
> > repository of the Js_of_ocaml compiler.
>
> Very nice. I notice that (=) is defined on functional values in your
> implementation, whereas it raises an exception in the traditional
> toplevel.
Indeed, the generic comparison function does not check for functional
values. Thus, the (implementation-dependent) string representations of
the functions end up to be compared.
-- Jerome
prev parent reply other threads:[~2011-04-05 9:41 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-04-04 12:59 Jerome Vouillon
2011-04-04 16:17 ` Andrew
2011-04-04 20:07 ` Eric Cooper
2011-04-05 9:40 ` Jerome Vouillon [this message]
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=20110405094045.GA4183@pps.jussieu.fr \
--to=vouillon@pps.jussieu.fr \
--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