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 ArticleAnswer 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 ArticleAnswer 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 ArticleAnswer 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 ArticleHow 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
More Pages to Explore .....