@@ -210,7 +210,7 @@ queryNamed conn qNamed params =
210210and expects a list of rows in return.
211211
212212Sometimes there are multiple ways to parse tuples returned by PostgreSQL into
213- the same data type. However, it's not possible to implement multiple intances of
213+ the same data type. However, it's not possible to implement multiple instances of
214214the 'PG.FromRow' typeclass (or any other typeclass).
215215
216216Consider the following data type:
@@ -224,11 +224,11 @@ __data__ Person = Person
224224
225225We might want to parse values of the @Person@ data type in two ways:
226226
227- 1. Default by parsing all fields.
227+ 1. Default to parsing all fields.
2282282. Parse only name and @age@ to 'Nothing'.
229229
230230If you want to have multiple instances, you need to create @newtype@ for each
231- case. However, in some cases it might not be convenient to deal with newtypes
231+ case. However, in some cases it might not be convenient to deal with @ newtypes@
232232around large data types. So you can implement custom 'PG.RowParser' and use it
233233with 'queryWithNamed'.
234234
@@ -272,7 +272,7 @@ executeNamed conn qNamed params =
272272 withNamedArgs qNamed params >>= \ (q, actions) ->
273273 liftIO $ PG. execute conn q (toList actions)
274274
275- {- | Same as 'executeNamed' but discard the nubmer of rows affected by the given
275+ {- | Same as 'executeNamed' but discard the number of rows affected by the given
276276query. This function is useful when you're not interested in this number.
277277-}
278278executeNamed_
0 commit comments