caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Thomas Refis <thomas.refis@gmail.com>
To: Philippe Veber <philippe.veber@gmail.com>
Cc: caml users <caml-list@inria.fr>
Subject: Re: [Caml-list] Accessing values calculated by Toploop.execute_phrase
Date: Thu, 11 Feb 2016 15:42:06 +0000	[thread overview]
Message-ID: <CAJ_epFPCg-cNAPiL4mCvHCui8f6S-AOkqog+eNvbTJzazuN+yg@mail.gmail.com> (raw)
In-Reply-To: <CAOOOohQk1u-kbBYC0hWaUSU13r7-kUvU4fEirq5zsFd4iyJDPA@mail.gmail.com>

2016-02-11 15:37 GMT+00:00 Philippe Veber <philippe.veber@gmail.com>:
> Fair enough, I guess I had it coming :)
>
> Thanks for the hint anyway! I guess I'll rather deal with `out_phrase`
> values to spare me a few disgraceful segfaults.

To be fair, utop does what I described (more or less) :
https://github.com/diml/utop/blob/master/src/lib/uTop_main.cppo.ml#L645

Hopefully someday Toploop will be reorganized a bit to make easier for
people to write their own toplevel. Someday. Hopefully.

      reply	other threads:[~2016-02-11 15:42 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-02-11 14:11 Philippe Veber
2016-02-11 14:28 ` Thomas Refis
2016-02-11 15:37   ` Philippe Veber
2016-02-11 15:42     ` Thomas Refis [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=CAJ_epFPCg-cNAPiL4mCvHCui8f6S-AOkqog+eNvbTJzazuN+yg@mail.gmail.com \
    --to=thomas.refis@gmail.com \
    --cc=caml-list@inria.fr \
    --cc=philippe.veber@gmail.com \
    /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;
as well as URLs for NNTP newsgroup(s).