ParetoOptimalDev via "General discussions about Org-mode."
writes:
> Oh, great to hear it's fixed!
Sorry, I was not clear.
I do not know if the bug existed to start with.
I just cannot reproduce on the latest main, which can be for many
reasons, starting from me misunderstanding the bug, or mayb
Oh, great to hear it's fixed!
ParetoOptimalDev via "General discussions about Org-mode."
writes:
> For something like:
>
> name:tbl
> #+begin_src sh
> echo -e "1\t2\t3"
> #+end_src
>
> #+RESULTS:
> | 1 | 2 | 3 |
>
> #+begin_src haskell :var table=tbl
> print table
> #+end_src
>
> #+RESULTS:
> | 1 | 2 | 3 |
>
> Whereas before
Just change the `[` and `]` to `(` and `)` respectively.
List of lists aren't parsed correctly by ob-haskell, but tuples of
tuples are.
That means this code change I just tested works:
(defun org-babel-haskell-var-to-haskell (var)
"Convert an elisp value VAR into a haskell variable.
The elis