emacs-orgmode
[Top][All Lists]
Advanced

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

[no subject]


From: Roger Mason
Date: Thu, 20 Jan 2022 10:43:18 -0330
User-agent: mu4e 1.6.6; emacs 27.2

Hello,

I want to run stack ghci from haskell blocks in org-mode.  For the
task at I need to start ghci with command line option
-XFlexibleContexts.  I have this in my org-mode buffer:

#+begin_src emacs-lisp :results none
(setq haskell-process-type 'stack-ghci)
(setq haskell-process-args-stack-ghci (list "--ghci-options 
-XFlexibleContexts"))
#+end_src

but I get

Process haskell exited abnormally with code 1
Invalid option `--ghci-options -XFlexibleContexts'

in the inferior haskell buffer.

Does anyone know how to do what I want?

Thanks,
Roger



reply via email to

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