Is Database.Persist.Sqlite removed from the persistent module? I can't find it listed on
http://hackage.haskell.org/package/persistent.
It seems I have the latest persistent module installed; output from `$ cabal list` is:
* persistent
Synopsis: Type-safe, multi-backend data serialization.
Default available version: 0.9.0.4
Installed versions: 0.9.0.4
Homepage:
http://www.yesodweb.com/book/persistent License: MIT
Yet, I get
`
Could not find module `Database.Persist.Sqlite'
Perhaps you meant
Database.Persist.Store (from persistent-0.9.0.4)
Database.Persist.Util (from persistent-0.9.0.4)
Database.Persist.TH (from persistent-template-0.9.0.2)
`
when doing `$ ghc -ddump-splices yesodpersistentex1.hs -v` (I want to see the output generated...)
The file yesodpersistentex1.hs contains a copypaste from the Yesod Book, page 96:
<file>
{-# LANGUAGE QuasiQuotes, TypeFamilies, GeneralizedNewtypeDeriving, TemplateHaskell, OverloadedStrings, GADTs #-}import Database.Persistimport Database.Persist.THimport Database.Persist.Sqliteimport Control.Monad.IO.Class (liftIO)mkPersist sqlSettings [persist|Person name String age Int deriving Show|]main = return ()</file>
Excuse any idiosyncrasies.