Re: [O] ob-haskell evaluation needs inf-haskell but it does not exist

2017-11-17 Thread numbch...@gmail.com
I setted `haskell-process-type` to 'ghci. I evaluated a simple haskell src block, but it reports I need have a `*haskell*` inferior. Then I executed command [M-x run-haskell]. Then I get error: Debugger entered--Lisp error: (wrong-type-argument stringp nil) expand-file-name(nil) locate-dominat

Re: [O] ob-haskell evaluation needs inf-haskell but it does not exist

2017-11-15 Thread Nick Dokos
"numbch...@gmail.com" writes: > I checked out your answer, I have meet all your said requirements. GHCi, > inf-haskell (after I installed package haskell-mode) and setting > `haskell-program-name`, I found there is no > `defcustom` variable option named `haskell-program-name` at all. You proba

Re: [O] ob-haskell evaluation needs inf-haskell but it does not exist

2017-11-15 Thread numbch...@gmail.com
I checked out your answer, I have meet all your said requirements. GHCi, inf-haskell (after I installed package haskell-mode) and setting `haskell-program-name`, I found there is no `defcustom` variable option named `haskell-program-name` at all. [stardiviner] GPG key ID: 47C32433

Re: [O] ob-haskell evaluation needs inf-haskell but it does not exist

2017-11-15 Thread numbch...@gmail.com
I required `(require 'inf-haskell)` But have not found the command `inf-haskell` to start inferior process. [stardiviner] GPG key ID: 47C32433 IRC(freeenode): stardiviner Twitter: @numbchild Key fingerprint = 9BAA 92BC CDDD B9EF 3B36 CB99 B8C4 B8E5 47C3 2433 B

Re: [O] ob-haskell evaluation needs inf-haskell but it does not exist

2017-11-13 Thread Nick Dokos
stardiviner writes: > When I execute the following Haskell src block: > > ``` > > #+BEGIN_SRC haskell :session :tangle "Data/Code/hello_world.hs" > main :: IO () > main = do >   putStrLn "Hello, World!" > #+END_SRC > > ``` > > It reports error: > > ``` > > Debugger entered--Lisp error: (file-miss

[O] ob-haskell evaluation needs inf-haskell but it does not exist

2017-11-11 Thread stardiviner
When I execute the following Haskell src block: ``` #+BEGIN_SRC haskell :session :tangle "Data/Code/hello_world.hs" main :: IO () main = do   putStrLn "Hello, World!" #+END_SRC ``` It reports error: ``` Debugger entered--Lisp error: (file-missing "Cannot open load file" "No such file or direct