[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re:
From: |
Immanuel Litzroth |
Subject: |
Re: |
Date: |
Thu, 20 Jan 2022 20:57:01 +0100 |
Just going by what I see, not having tried it:
(setq haskell-process-args-stack-ghci (list "--ghci-options"
"-XFlexibleContexts"))
In your version the process gets 1 argument (with a space in it). In
my version it gets 2 args.
Immanuel
On Thu, Jan 20, 2022 at 8:22 PM Roger Mason <rmason@mun.ca> wrote:
>
> 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
>
--
-- A man must either resolve to point out nothing new or to become a
slave to defend it. -- Sir Isaac Newton
- [no subject], Roger Mason, 2022/01/20
- Re:,
Immanuel Litzroth <=
- Re:, Roger Mason, 2022/01/20