diff --git a/docs/src/Tutorial.hs b/docs/src/Tutorial.hs index c3d43ce..542f6a2 100644 --- a/docs/src/Tutorial.hs +++ b/docs/src/Tutorial.hs @@ -28,12 +28,12 @@ import Database.PostgreSQL.Simple.ToField import Database.PostgreSQL.Transact (DBT) import GHC.Generics -import Control.Monad.Error import qualified Data.Time as Time import qualified Data.UUID.V4 as UUID import Database.PostgreSQL.Entity import Database.PostgreSQL.Entity.DBT import Database.PostgreSQL.Entity.Types +import Control.Monad.IO.Class (MonadIO (..)) -- And let's write down our initial data models for a blog. `Author`, and `BlogPost`. diff --git a/pg-entity.cabal b/pg-entity.cabal index 231454b..da8ed6a 100644 --- a/pg-entity.cabal +++ b/pg-entity.cabal @@ -116,7 +116,6 @@ library , text-display ^>=0.0 , text-manipulate ^>=0.3 , time ^>=1.12 - , uuid ^>=1.3 , vector ^>=0.13 if flag(prod) diff --git a/test/Utils.hs b/test/Utils.hs index 865c340..d18e3d2 100644 --- a/test/Utils.hs +++ b/test/Utils.hs @@ -6,6 +6,7 @@ module Utils where import Control.Exception.Safe import Control.Monad.IO.Class import Control.Monad.Reader +import Control.Monad (void) import Data.ByteString (ByteString) import Data.Kind import Data.Pool (Pool)