Skip to content

Commit 3f67a93

Browse files
committed
Strict fields
1 parent 9051720 commit 3f67a93

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/Database/PostgreSQL/PQTypes/Internal/Connection.hs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -129,13 +129,13 @@ data Connection = Connection
129129
}
130130

131131
data InternalConnectionSource m cdata = InternalConnectionSource
132-
{ takeConnection :: m (Connection, cdata)
133-
, putConnection :: forall r. (Connection, cdata) -> ExitCase r -> m ()
132+
{ takeConnection :: !(m (Connection, cdata))
133+
, putConnection :: !(forall r. (Connection, cdata) -> ExitCase r -> m ())
134134
}
135135

136136
-- | Database connection supplier.
137137
data ConnectionSourceM m
138-
= forall cdata. ConnectionSourceM (InternalConnectionSource m cdata)
138+
= forall cdata. ConnectionSourceM !(InternalConnectionSource m cdata)
139139

140140
-- | Wrapper for a polymorphic connection source.
141141
newtype ConnectionSource (cs :: [(Type -> Type) -> Constraint]) = ConnectionSource

0 commit comments

Comments
 (0)