Babel ocaml: Fix the interaction with the toplevel
commit69464bf13522e40027beefce8e1655f96292ed91
authorAlan Schmitt <alan.schmitt@polytechnique.org>
Thu, 2 May 2013 09:46:27 +0000 (2 11:46 +0200)
committerAlan Schmitt <alan.schmitt@polytechnique.org>
Tue, 7 May 2013 07:55:14 +0000 (7 09:55 +0200)
treeeef6312ac0c8d7f022897861735ebf10f7f9ca76
parente79e8943ded4f1e3f2929560a3496fae8eec73c5
Babel ocaml: Fix the interaction with the toplevel

* lisp/ob-ocaml.el (org-babel-execute:ocaml): Always append ";;" at the end of
the expression before sending it to the toplevel.
(org-babel-execute:ocaml): Do not remove the type information if "verbatim" is a
results parameter of the code block.
(org-babel-ocaml-parse-output): Make sure the complete type is taken into
account when matching against known types.
lisp/ob-ocaml.el