...I'm using the book "Real World
Haskell"...
...In Chapter 22, it uses two files, namely:
...\ch22\PodDB.hs and ...\ch22\PodTypes.hs.
...This is the calling code in
PodDB.hs:
{-- snippet all --}
module PodDB where
import
Database.HDBC
import Database.HDBC.Sqlite3
import PodTypes
...I was instructed to start ghci and invoke the
command: ...> :load
C:\Users\User\Downloads\rwh-examples2\examples\ch22\poddb.hs
...this gives the following error
message:
C:\Users\User\Downloads\rwh-examples2\examples\ch22\poddb.hs:6:7:
Could not find module `PodTypes':
Use
-v to see a list of the files searched for.
Failed,
modules loaded: none.
...I then tried the command: :l
C:\Users\User\Downloads\rwh-examples2\examples\ch22\poddb.hs
C:\Users\User\Downloads\rwh-examples2\examples\ch22\podtypes.hs
...it loaded both files...
...is there someway to modify the code in PodDB.hs
that would allow me to simply invoke the command, as mentioned by the author,
:load PodDB.hs?
Thank you