Dominik Schrempf <dominik.schre...@gmail.com> writes:

> whenever I have a Haskell source code block in my Org mode file, and I execute
> =org-lint=, I get the following error:

Confirmed.

Can you try with the attached patch?

Best,
Ihor

>From f640249d08a14bfde417c38274634b88c789d1c7 Mon Sep 17 00:00:00 2001
Message-Id: <f640249d08a14bfde417c38274634b88c789d1c7.1632208540.git.yanta...@gmail.com>
From: Ihor Radchenko <yanta...@gmail.com>
Date: Tue, 21 Sep 2021 15:10:45 +0800
Subject: [PATCH] Fix org-babel-header-args:haskell not being an alist

* lisp/ob-haskell.el (org-babel-header-args:haskell): The old value of
the variable was not argument alist, as expected by Org babel code.

Fixes https://orgmode.org/list/87fsty7750....@gmail.com
---
 lisp/ob-haskell.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/ob-haskell.el b/lisp/ob-haskell.el
index a6f0e55f7..971e1ce6a 100644
--- a/lisp/ob-haskell.el
+++ b/lisp/ob-haskell.el
@@ -70,7 +70,7 @@ (defcustom org-babel-haskell-compiler "ghc"
   :package-version '(Org "9.4")
   :type 'string)
 
-(defconst org-babel-header-args:haskell '(compile . :any)
+(defconst org-babel-header-args:haskell '((compile . :any))
   "Haskell-specific header arguments.")
 
 (defun org-babel-haskell-execute (body params)
-- 
2.32.0

Reply via email to