emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Babel Haskell. Print all results when header has :results output


From: Roland Coeurjoly
Subject: Babel Haskell. Print all results when header has :results output
Date: Tue, 28 Apr 2020 18:22:28 +0200

Right now, when executing the following source block

#+begin_src haskell :results output
[1..10]
"hello" == "hello"
   #+end_src

I get the following output:

#+RESULTS:
   : True

Whereas (for me) the desired result would be

#+RESULTS:
   : [1,2,3,4,5,6,7,8,9,10]
   : True

I created the attached patch that achieves the desired result.

Please notice that the default behaviour (without :results output) remains unchanged.

Attachment: 0001-Print-all-results.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]