caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* [Caml-list] ocaml toplevel: is it possible to separate what is sent on stdout from the answers from the toplevel?
@ 2014-03-24 13:17 Alan Schmitt
  2014-03-24 14:47 ` Jeremie Dimino
  0 siblings, 1 reply; 3+ messages in thread
From: Alan Schmitt @ 2014-03-24 13:17 UTC (permalink / raw)
  To: OCaml Mailing List

Hello,

I'm looking into extending the OCaml support in org-mode, and to do so
I would like to distinguish what is printed out as replies from the
toplevel from the data printed from the program.

To give a precise example, I would like to split "foo" from "val x : int
= 3" in the following interaction:

--8<---------------cut here---------------start------------->8---
# let x = print_endline "foo"; 3;;
foo
val x : int = 3
--8<---------------cut here---------------end--------------->8---

Is there a way to do it?

Thanks,

Alan

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-03-29 11:04 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-03-24 13:17 [Caml-list] ocaml toplevel: is it possible to separate what is sent on stdout from the answers from the toplevel? Alan Schmitt
2014-03-24 14:47 ` Jeremie Dimino
2014-03-29 11:02   ` Alan Schmitt

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).