Set14b.hs:24:1: error:
Could not find module ‘Network.Wai’
Use -v (or :set -v in ghci) to see a list of the files searched for.
|
24 | import Network.Wai (pathInfo, responseLBS, Application)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Set14b.hs:25:1: error:
Could not find module ‘Network.Wai.Handler.Warp’
Use -v (or :set -v in ghci) to see a list of the files searched for.
|
25 | import Network.Wai.Handler.Warp (run)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Set14b.hs:26:1: error:
Could not find module ‘Network.HTTP.Types’
Use -v (or :set -v in ghci) to see a list of the files searched for.
|
26 | import Network.HTTP.Types (status200)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Set14b.hs:29:1: error:
Could not find module ‘Database.SQLite.Simple’
Use -v (or :set -v in ghci) to see a list of the files searched for.
|
29 | import Database.SQLite.Simple (open,execute,execute,query,query,Connection,Query(..))
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Failed, one module loaded.
To reproduce:
stack build
ghci
:load Set14b.hs
Set14b.hs:24:1: error: Could not find module ‘Network.Wai’ Use -v (or
:set -v
in ghci) to see a list of the files searched for. | 24 | import Network.Wai (pathInfo, responseLBS, Application) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^Set14b.hs:25:1: error: Could not find module ‘Network.Wai.Handler.Warp’ Use -v (or
:set -v
in ghci) to see a list of the files searched for. | 25 | import Network.Wai.Handler.Warp (run) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^Set14b.hs:26:1: error: Could not find module ‘Network.HTTP.Types’ Use -v (or
:set -v
in ghci) to see a list of the files searched for. | 26 | import Network.HTTP.Types (status200) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^Set14b.hs:29:1: error: Could not find module ‘Database.SQLite.Simple’ Use -v (or
:set -v
in ghci) to see a list of the files searched for. | 29 | import Database.SQLite.Simple (open,execute,execute,query,query,Connection,Query(..)) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Failed, one module loaded.