-
Notifications
You must be signed in to change notification settings - Fork 86
Open
Labels
documentationinfo neededMore information (like MWE) is needed (e.g. from reporter)More information (like MWE) is needed (e.g. from reporter)
Description
Loading a file generated with Alex (version 3.5.4.0) into ghci (version 9.6.7, which is the currently recommended version by ghcup), produces the following error message:
IdNum.hs:9:1: error:
Could not load module ‘Data.Array’
It is a member of the hidden package ‘array-0.5.8.0’.
You can run ‘:set -package array’ to expose it.
(Note: this unloads all the modules in the current scope.)
Use -v (or `:set -v` in ghci) to see a list of the files searched for.
|
9 | import qualified Data.Array
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
This can of course be fixed by the user as indicated in the error message, but it would be better if new users (e.g., students in a compilers class) would not have to be bothered with this.
Thanks,
Martin
Metadata
Metadata
Assignees
Labels
documentationinfo neededMore information (like MWE) is needed (e.g. from reporter)More information (like MWE) is needed (e.g. from reporter)