Function: org-babel-haskell-var-to-haskell

org-babel-haskell-var-to-haskell is a byte-compiled function defined in ob-haskell.el.gz.

Signature

(org-babel-haskell-var-to-haskell VAR)

Documentation

Convert an elisp value VAR into a haskell variable.

The elisp VAR is converted to a string of haskell source code specifying a variable of the same value.

Source Code

;; Defined in /usr/src/emacs/lisp/org/ob-haskell.el.gz
(defun org-babel-haskell-var-to-haskell (var)
  "Convert an elisp value VAR into a haskell variable.
The elisp VAR is converted to a string of haskell source code
specifying a variable of the same value."
  (if (listp var)
      (concat "[" (mapconcat #'org-babel-haskell-var-to-haskell var ", ") "]")
    (format "%S" var)))