Quantcast
Channel: How to set up org-babel for Haskell with Stack - Stack Overflow
Browsing all 5 articles
Browse latest View live

Answer by appomsk for How to set up org-babel for Haskell with Stack

In my case it was .ghci, like Testare's. As soon as I commented out :set prompt "λ", emacs stopped freezing but gave the message ‘org-babel-script-escape’ expects a string. It was necessary to comment...

View Article



Answer by Azriel for How to set up org-babel for Haskell with Stack

what i did after installed stack and ghci (with stack itself)), was to install intero in emacs and then add those to init.el: (setq haskell-process-type 'stack-ghci)...

View Article

Answer by Testare for How to set up org-babel for Haskell with Stack

It is probably because of the custom prompt: I had the same issue, and when I removed ":set +t" and ":set prompt "GHCI >" from ~/.ghci, it worked. I fiddled with it some, and it seems it will work...

View Article

Answer by NickD for How to set up org-babel for Haskell with Stack

This is not a complete answer: in particular, it does not even mention Stack. But I (a complete ignoramus on Haskell) wanted to find out what it would take to get the OP's test program to run in babel....

View Article

How to set up org-babel for Haskell with Stack

I'm running:GNU Emacs 24.4.1 Stack Version 1.3.3org-modehaskell-modeI've looked through:Emacs Org-Mode & Literate...

View Article

Browsing all 5 articles
Browse latest View live




Latest Images