[Haskell-cafe] doctest: Interpreter exited with an error: ExitFailure 127
sakariij at gmail.com
Wed Sep 21 19:54:35 CEST 2011
On Wed, Sep 21, 2011 at 7:52 PM, informationen <informationen at gmx.de> wrote:
> Do you have any idea, what the error message wants to tell
> me. What does "interpreter exited with .." mean. If i add a
Doctests starts ghc in interactive mode for evaluating the examples.
"interpreter exited with.." means that the spawned ghc process exited
with an error code. See src/Interpreter.hs : closeInterpreter for
details. One guess based on the 127 exit code would be that runnable
ghc is not found in the place defined by GHC.Paths.ghc.
By the way it seems that doctest (or haddoc) needs you to specify the
type signature for functions for which you write examples. So no
examples are run for 'fib'
More information about the Haskell-Cafe