Re: [PATCH] lisp/ob-haskell.el: Fix org-babel-script-escape expects a string

2022-11-08 Thread Ihor Radchenko
Bruno Barbier writes: > When running, for example, the following haskell block in ghci > >#+begin_src haskell >v=2 >#+end_src > > there is no result. > > The attached patch avoids calling `org-babel-script-escape' in such a > case. Thanks! Applied onto main.

[PATCH] lisp/ob-haskell.el: Fix org-babel-script-escape expects a string

2022-11-08 Thread Bruno Barbier
:00 2001 From: Bruno BARBIER Date: Tue, 8 Nov 2022 19:19:32 +0100 Subject: [PATCH] lisp/ob-haskell.el: Fix org-babel-script-escape expects a string * lisp/ob-haskell.el (org-babel-interpret-haskell): Don't call `org-babel-script-escape' when the result is nil. --- lisp/ob-haskell.el | 2 +- 1 f