diff options
Diffstat (limited to 'lisp/org/ob-haskell.el')
| -rw-r--r-- | lisp/org/ob-haskell.el | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lisp/org/ob-haskell.el b/lisp/org/ob-haskell.el index 53c55329752..03972efeec1 100644 --- a/lisp/org/ob-haskell.el +++ b/lisp/org/ob-haskell.el @@ -125,12 +125,12 @@ then create one. Return the initialized session." (current-buffer)))) (defun org-babel-variable-assignments:haskell (params) - "Return list of haskell statements assigning the block's variables" + "Return list of haskell statements assigning the block's variables." (mapcar (lambda (pair) (format "let %s = %s" (car pair) (org-babel-haskell-var-to-haskell (cdr pair)))) - (mapcar #'cdr (org-babel-get-header params :var)))) + (mapcar #'cdr (org-babel-get-header params :var)))) (defun org-babel-haskell-table-or-string (results) "Convert RESULTS to an Emacs-lisp table or string. @@ -147,6 +147,8 @@ specifying a variable of the same value." (format "%S" var))) (defvar org-src-preserve-indentation) +(declare-function org-export-as-latex "org-latex" + (arg &optional ext-plist to-buffer body-only pub-dir)) (defun org-babel-haskell-export-to-lhs (&optional arg) "Export to a .lhs file with all haskell code blocks escaped. When called with a prefix argument the resulting |
