Re: Haskell code blocks

2023-03-19 Thread Bruno Barbier
Hi Ihor, >> Bruno Barbier writes: >> >>> Sorry, I'm still working on adding a 'test-ob-haskell.el', when I have >>> some spare time, but I'm unable so far to find tests that I can't >>> reliably break. FTR: I've opened a new thread, with a patch containing tests:

Re: Haskell code blocks

2023-03-15 Thread Bruno Barbier
Hi Ihor, Ihor Radchenko writes: > Bruno Barbier writes: > >> Sorry, I'm still working on adding a 'test-ob-haskell.el', when I have >> some spare time, but I'm unable so far to find tests that I can't >> reliably break. > > May I know if you are still working on this? > Do you need any help?

Re: Haskell code blocks

2023-03-13 Thread Ihor Radchenko
Bruno Barbier writes: > Sorry, I'm still working on adding a 'test-ob-haskell.el', when I have > some spare time, but I'm unable so far to find tests that I can't > reliably break. May I know if you are still working on this? Do you need any help? -- Ihor Radchenko // yantar92, Org mode

Re: Haskell code blocks

2022-11-08 Thread Ihor Radchenko
Bruno Barbier writes: > Sorry, I'm still working on adding a 'test-ob-haskell.el', when I have > some spare time, but I'm unable so far to find tests that I can't > reliably break. > > I'll open a new thread when I think my 'test-ob-haskell.el' is worth > reviewing. Thanks for continued work on

Re: Haskell code blocks

2022-11-08 Thread Bruno Barbier
Ihor Radchenko writes: > Applied onto main. > https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=0de063a52181bd96ac9bf023454781f07c3353b3 Thanks Ihor. Sorry, I'm still working on adding a 'test-ob-haskell.el', when I have some spare time, but I'm unable so far to find tests that I

Re: Haskell code blocks

2022-11-06 Thread Ihor Radchenko
Bruno Barbier writes: > I've attached the patch that I've used to fix ob-haskell. Applied onto main. https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=0de063a52181bd96ac9bf023454781f07c3353b3 -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at

Re: Haskell code blocks

2022-10-22 Thread Jarmo Hurri
Greetings Thomas. "Thomas S. Dye" writes: > I'm struggling to write a minimal ob-doc-haskell.org for Worg. > > The obligatory Hello World! example yields bad results. > > #+name: haskell-hello-world > #+begin_src haskell > > main :: IO () > main = putStrLn "Hello, World!" > main >

Re: Haskell code blocks

2022-10-20 Thread Ihor Radchenko
Bruno Barbier writes: > I've attached the patch that I've used to fix ob-haskell. > > Should I submit a patch for ob-haskell ? > > Bruno > > > From f2e91a62469e84ce1d3036216ae3eca4084f3b94 Mon Sep 17 00:00:00 2001 > From: Bruno BARBIER > Date: Wed, 19 Oct 2022 19:44:42 +0200 > Subject: [PATCH]

Re: Haskell code blocks

2022-10-19 Thread Bruno Barbier
Hi Thomas, Ihor, I'm not currently using ob-haskell, but I do have a version of GHC. As I may use ob-haskell one day, I decided to take a look. Here are the versions I'm using: #+begin_src elisp (list (list "emacs" emacs-version) (list "org" org-version) (list

Re: Haskell code blocks

2022-10-19 Thread Ihor Radchenko
"Thomas S. Dye" writes: >> To clarify, it looks like Prelude Emacs is doing something wrong >> here. >> Something that breaks haskell-mode and consequently ob-haskell. > > I'm using Spacemacs. Prelude is a standard module in Haskell. I > thought that might be the source. Thanks for the

Re: Haskell code blocks

2022-10-18 Thread Thomas S. Dye
Ihor Radchenko writes: "Thomas S. Dye" writes: Thanks Ihor. I don't actually use Haskell. Earlier this year I attempted to complete the Org Babel language documents on Worg, but couldn't get the obligatory "hello world" code block to behave in Haskell. I'm guessing that

Re: Haskell code blocks

2022-10-18 Thread Ihor Radchenko
"Thomas S. Dye" writes: > Thanks Ihor. I don't actually use Haskell. Earlier this year I > attempted to complete the Org Babel language documents on Worg, > but couldn't get the obligatory "hello world" code block to behave > in Haskell. I'm guessing that ob-haskell.el actually works for

Re: Haskell code blocks

2022-10-18 Thread Thomas S. Dye
Thanks Ihor. I don't actually use Haskell. Earlier this year I attempted to complete the Org Babel language documents on Worg, but couldn't get the obligatory "hello world" code block to behave in Haskell. I'm guessing that ob-haskell.el actually works for experienced Haskell programmers

Re: Haskell code blocks

2022-10-18 Thread Ihor Radchenko
"Thomas S. Dye" writes: > I'm struggling to write a minimal ob-doc-haskell.org for Worg. > > I installed Haskell via Spacemacs (development branch) and the > Haskell installation appears to be functioning correctly. > > The obligatory Hello World! example yields bad results. > > #+name: