Skip to content

Commit 187e4ac

Browse files
authored
Merge pull request #167 from haskellari/fix-typos
Fix typos
2 parents 84f5f28 + cdf43a1 commit 187e4ac

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/Database/PostgreSQL/Simple/Copy.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ copy conn template qs = do
6666
-- | Issue a @COPY FROM STDIN@ or @COPY TO STDOUT@ query. In the former
6767
-- case, the connection's state will change to @CopyIn@; in the latter,
6868
-- @CopyOut@. The connection must be in the ready state in order
69-
-- to call this function. Does not perform parameter subsitution.
69+
-- to call this function. Does not perform parameter substitution.
7070

7171
copy_ :: Connection -> Query -> IO ()
7272
copy_ conn (Query q) = do

src/Database/PostgreSQL/Simple/FromField.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -647,7 +647,7 @@ okInt = ok32
647647
okInt = ok64
648648
#endif
649649

650-
-- | eq and \/ are used to imlement what Macro stuff did,
650+
-- | eq and \/ are used to implement what Macro stuff did,
651651
-- i.e. mkCompats and inlineTypoid
652652
eq :: PQ.Oid -> PQ.Oid -> Bool
653653
eq = (==)

src/Database/PostgreSQL/Simple/Internal.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -625,7 +625,7 @@ escapeByteaConn = escapeWrap PQ.escapeByteaConn
625625
breakOnSingleQuestionMark :: ByteString -> (ByteString, ByteString)
626626
breakOnSingleQuestionMark b = go (B8.empty, b)
627627
where go (x,bs) = (x `B8.append` x',bs')
628-
-- seperate from first QM
628+
-- separate from first QM
629629
where tup@(noQ, restWithQ) = B8.break (=='?') bs
630630
-- if end of query, just return
631631
-- else check for second QM in 'go2'

0 commit comments

Comments
 (0)