When I try to compile a simple source file with import IO
or import Random
, the build fails with an error message like this:
Could not find module 'IO'
It is a member of the hidden package 'haskell98-2.0.0.1'
Use -v to see a list of the files searched for
-package haskell98 -hide-package base -hide-package array
. – Leucine