Function: org-babel-ocaml-elisp-to-ocaml

org-babel-ocaml-elisp-to-ocaml is a byte-compiled function defined in ob-ocaml.el.gz.

Signature

(org-babel-ocaml-elisp-to-ocaml VAL)

Documentation

Return a string of ocaml code which evaluates to VAL.

Source Code

;; Defined in /usr/src/emacs/lisp/org/ob-ocaml.el.gz
(defun org-babel-ocaml-elisp-to-ocaml (val)
  "Return a string of ocaml code which evaluates to VAL."
  (if (listp val)
      (concat "[|" (mapconcat #'org-babel-ocaml-elisp-to-ocaml val "; ") "|]")
    (format "%S" val)))