emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* (no subject)
@ 2022-01-20 14:13 Roger Mason
  2022-01-20 19:57 ` Immanuel Litzroth
  0 siblings, 1 reply; 3+ messages in thread
From: Roger Mason @ 2022-01-20 14:13 UTC (permalink / raw)
  To: Org Mode Mailing List

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-01-20 23:51 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-20 14:13 Roger Mason
2022-01-20 19:57 ` Immanuel Litzroth
2022-01-20 19:58   ` Re: Roger Mason

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).