diff --git a/opium.cabal b/opium.cabal index 50ce4b0..9ddd7aa 100644 --- a/opium.cabal +++ b/opium.cabal @@ -62,10 +62,12 @@ library exposed-modules: Database.PostgreSQL.Opium, Database.PostgreSQL.Opium.FromField, + Database.PostgreSQL.Opium.ToField -- Modules included in this library but not exported. other-modules: Database.PostgreSQL.Opium.Error, + Database.PostgreSQL.Opium.ToParamList, Database.PostgreSQL.Opium.Oid -- LANGUAGE extensions used by modules in this package. diff --git a/test/Database/PostgreSQL/OpiumSpec.hs b/test/Database/PostgreSQL/OpiumSpec.hs index ccfdfff..8819e9e 100644 --- a/test/Database/PostgreSQL/OpiumSpec.hs +++ b/test/Database/PostgreSQL/OpiumSpec.hs @@ -47,7 +47,7 @@ data ScoreByAge = ScoreByAge instance Opium.FromRow ScoreByAge where -data Only a = Only +newtype Only a = Only { only :: a } deriving (Eq, Generic, Show)