hint
hint copied to clipboard
Runtime Haskell interpreter
The GitHub action `haskell/actions/setup` [does not support ghc-9.4.1](https://github.com/haskell/actions/tree/main/setup#version-support) yet, so we'll have to merge #152 without a regression test. This issue exists to remind me to add that regression test...
This is work in progress
GHC 9.4.1 release is being prepared. If I download the build from https://gitlab.haskell.org/ghc/ghc/-/merge_requests/8583 (ghc-9.4.0.20220705), these are the errors I see: ``` Building library for hint-0.9.0.6.. [ 1 of 19] Compiling...
hint isn't building on GHC master (9.5) which is not yet released. ~~There might be issues on 9.2.3, which is released, but I have not tried yet. I am reporting...
`runInterpreter` in 0.9.0.6 with GHC < 9.2 on a module that fails to compile will send errors to stderr and return `Left (UnknownError "Got no error message")` instead of `Left...
Looks like capturing compilation errors only works with some GHCs. Adding a test to try in CI.
Hey, is there some way to get the name of all variables bound by the interpreter (using runStmt) ? In ghci this is possible with `:show bindings`
to fix the two TODOs at https://github.com/haskell-hint/hint/blob/0784dcfbe3b2b1cef8744540f6b15d0657a3c26e/src/Hint/Base.hs#L164 and https://github.com/haskell-hint/hint/blob/0784dcfbe3b2b1cef8744540f6b15d0657a3c26e/src/Hint/Conversions.hs#L17
Hi. We use `hint`, inside a `servant` app. We have `hspec` tests for the app. When I run them with `stack test`, I get ``` servant-tests: mmap 131072 bytes at...
see https://github.com/haskell-hint/hint/runs/2866131281?check_suite_focus=true