@@ -100,41 +100,41 @@ import qualified Data.Attoparsec.Internal.Types as T
100100
101101-- $parsec
102102--
103−-- Compared to Parsec 3, Attoparsec makes several tradeoffs. It is
103+-- Compared to Parsec 3, attoparsec makes several tradeoffs. It is
104104-- not intended for, or ideal for, all possible uses.
105105--
106−-- * While Attoparsec can consume input incrementally, Parsec cannot.
106+-- * While attoparsec can consume input incrementally, Parsec cannot.
107107-- Incremental input is a huge deal for efficient and secure network
108108-- and system programming, since it gives much more control to users
109109-- of the library over matters such as resource usage and the I/O
110110-- model to use.
111111--
112−-- * Much of the performance advantage of Attoparsec is gained via
112+-- * Much of the performance advantage of attoparsec is gained via
113113-- high-performance parsers such as 'I.takeWhile' and 'I.string'.
114114-- If you use complicated combinators that return lists of bytes or
115115-- characters, there is less performance difference between the two
116116-- libraries.
117117--
118−-- * Unlike Parsec 3, Attoparsec does not support being used as a
118+-- * Unlike Parsec 3, attoparsec does not support being used as a
119119-- monad transformer.
120120--
121−-- * Attoparsec is specialised to deal only with strict 'B.ByteString'
121+-- * attoparsec is specialised to deal only with strict 'B.ByteString'
122122-- input. Efficiency concerns rule out both lists and lazy
123123-- bytestrings. The usual use for lazy bytestrings would be to
124124-- allow consumption of very large input without a large footprint.
125−-- For this need, Attoparsec's incremental input provides an
125+-- For this need, attoparsec's incremental input provides an
126126-- excellent substitute, with much more control over when input
127127-- takes place. If you must use lazy bytestrings, see the
128128-- "Data.Attoparsec.ByteString.Lazy" module, which feeds lazy chunks
129129-- to a regular parser.
130130--
131131-- * Parsec parsers can produce more helpful error messages than
132−-- Attoparsec parsers. This is a matter of focus: Attoparsec avoids
132+-- attoparsec parsers. This is a matter of focus: attoparsec avoids
133133-- the extra book-keeping in favour of higher performance.
134134
135135-- $incremental
136136--
137−-- Attoparsec supports incremental input, meaning that you can feed it
137+-- attoparsec supports incremental input, meaning that you can feed it
138138-- a bytestring that represents only part of the expected total amount
139139-- of data to parse. If your parser reaches the end of a fragment of
140140-- input and could consume more input, it will suspend parsing and
@@ -158,7 +158,7 @@ import qualified Data.Attoparsec.Internal.Types as T
158158
159159-- $performance
160160--
161−-- If you write an Attoparsec-based parser carefully, it can be
161+-- If you write an attoparsec-based parser carefully, it can be
162162-- realistic to expect it to perform within a factor of 2 of a
163163-- hand-rolled C parser (measuring megabytes parsed per second).
164164--