Use qualified imports for persistent example section.

The scaffold namespace is too poluted.
This commit is contained in:
Felipe Lessa 2015-06-01 13:14:20 -03:00
parent 23584a9c47
commit da120b20ef

View File

@ -22,11 +22,11 @@
-- share [mkPersist sqlSettings, mkSave \"entityDefs\"] -- share [mkPersist sqlSettings, mkSave \"entityDefs\"]
-- --
-- -- On Application.hs -- -- On Application.hs
-- import Data.Proxy (Proxy(..)) -- tagged package, or base from GHC 7.10 onwards -- import qualified Data.Proxy as P -- tagged package, or base from GHC 7.10 onwards
-- import Web.ServerSession.Core (SessionMap) -- import qualified Web.ServerSession.Core as SS
-- import Web.ServerSession.Backend.Persistent (serverSessionDefs) -- import qualified Web.ServerSession.Backend.Persistent as SS
-- --
-- mkMigrate \"migrateAll\" (serverSessionDefs (Proxy :: Proxy SessionMap) ++ entityDefs) -- mkMigrate \"migrateAll\" (SS.serverSessionDefs (P.Proxy :: P.Proxy SS.SessionMap) ++ entityDefs)
-- --
-- makeFoundation = -- makeFoundation =
-- ... -- ...