ob-ocaml.el: Clean up babel evaluation of ocaml blocks
commitc6aa8340ba09aa389d85083ccea83149090862bb
authorAlan Schmitt <alan.schmitt@polytechnique.org>
Wed, 26 Mar 2014 21:23:53 +0000 (26 22:23 +0100)
committerAlan Schmitt <alan.schmitt@polytechnique.org>
Sat, 29 Mar 2014 18:51:03 +0000 (29 19:51 +0100)
tree3d67c717d02f23a298bf97288e6dd94a29902637
parentd25846b2340e32dea93fc89ea432f74a7f64d950
ob-ocaml.el: Clean up babel evaluation of ocaml blocks

* ob-ocaml.el (org-babel-execute:ocaml): Capture the output, type, and
value when evaluating ocaml blocks. Return the one requested by
`results'.

(org-babel-ocaml-parse-output): Change the signature to take a type
and a value. Make the parsing of the type more robust.
lisp/ob-ocaml.el