Runtime Haskell interpreter
#14`/usr/lib/ghc-7.10.2/settings: openFile: does not exist (No such file or directory)` when executing with stack
I always get the error when giving any expression to eval
:
> stack ghc -- -e 'import Language.Haskell.Interpreter' -e 'runInterpreter (eval "()")
'<interactive>: /usr/lib/ghc-7.10.2/settings: openFile: does not exist (No such file or directory)
I guess this happens because I've not installed GHC from my system's package manager. Because I found /usr/lib/ghc-7.10.3/
is created after installing ghc from the package manager.
About my environment
OS: Arch Linux 64bit hint-0.4.2.3
> stack --version
Version 1.0.0, Git revision 3bc26237b5b3c387b8fd564459ea4dd88fd58b30 (2939 commits) x86_64