문제

So if I want to run a threaded application in ghci I simply pass -threaded to ghci when starting. But how can I do this when starting it from inside Emacs? Can I customize the Emacs haskell mode for this?

I suppose so but I can't find any instructions on this? I can't find any reference documentation for emacs lisp. Only the Haskell wiki but there is no reference there. I'm not very familiar with (Emacs) lisp, although I'm learning.

I suppose if I could find where the default emacs packages for haskell-platform are installed I could've read through the source to try to figure it out.

도움이 되었습니까?

해결책

The description of haskell-program-name notices that "the command can include arguments".

I've just tested it by setting haskell-program-name to ghci -threaded.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top