I installed Yesod according to the quick start guide.
I bought the book "Seven Web frameworks in seven weeks" and I'm trying to follow along. I'm on page 204 (Day 1: Working with models). When I enter
ghci Model.hs
in order to enter some data into the database, as the book says, I get this:
GHCi, version 7.8.3: http://www.haskell.org/ghc/ :? for help
Loading package ghc-prim ... linking ... done.
Loading package integer-gmp ... linking ... done.
Loading package base ... linking ... done.
Model.hs:3:8:
Could not find module ‘ClassyPrelude.Yesod’
Use -v to see a list of the files searched for.
Model.hs:4:8:
Could not find module ‘Database.Persist.Quasi’
Use -v to see a list of the files searched for.
Failed, modules loaded: none.
I'm stuck. I'm new to Haskell (but not a newbie) and Yesod, so I don't know what to do.
Thanks in advance.