I ran the code through GHCI and got this error:
After some time, I continued to correct the error (which, as you might imagine, was caused by a too large index), but I would like the GHC to tell me which row this large index is evaluated in.
Is there any way either
- A) make the GHCI more detailed, or
- B) use normal practice that avoids this error somehow (shy, using smaller indices, of course)
indexing haskell error-handling ghci
Mark karavan
source share