Explorar o código

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 %!s(int64=5) %!d(string=hai) anos
pai
achega
6fd05fcaca
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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)))