First, I created a new workspace:
stack new xxxx
stack init
stack build
then
cd xxxapp
stack ghci
import Data.Map
I can import other modules like Data.Char
and Data.List
, but I can't import Data.Map
. GHCi told me:
Could not find module 'Data.Map'
It is a member of the hidden package '[email protected]'.`
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…