Browse Source

ob-haskell: Print all results with :results output

* lisp/ob-haskell.el (org-babel-execute:haskell): Print all results,
including the last one.
Roland Coeurjoly 5 years ago
parent
commit
6fd05fcaca
1 changed files with 1 additions and 1 deletions
  1. 1 1
      lisp/ob-haskell.el

+ 1 - 1
lisp/ob-haskell.el

@@ -85,7 +85,7 @@
     (org-babel-reassemble-table
      (let ((result
             (pcase result-type
-              (`output (mapconcat #'identity (reverse (cdr results)) "\n"))
+              (`output (mapconcat #'identity (reverse results) "\n"))
               (`value (car results)))))
        (org-babel-result-cond (cdr (assq :result-params params))
 	 result (org-babel-script-escape result)))