Greetings…
I made myself a Shapes.hs source file as described in: Modules - Learn You a Haskell for Great Good!.
I cannot import it from gchi. Some slightly older tutorial documentation says I can. I think this tutorial expects that you can.
I want to use import
not :load
- the real experience
I am using an environment created via ghcup
and stack new
, stack setup
Prelude> import Shapes
<no location info>: error:
Could not find module ‘Shapes’
It is not a module in the current program, or in any known package.