@@ -179,7 +179,7 @@ ignoreElem test parser = do
179179 if ign then pure Nothing else Just <$> parser
180180
181181-- | If current element has no children nodes does not run parser and returns
182−-- Nothing. Otherwise runs parser inside current element. Usefull when you got
182+-- Nothing. Otherwise runs parser inside current element. Useful when you got
183183-- XML with strange empty elements which must be just ignored, but `inElem` runs
184184-- parser inside of this elements which causes to parser error.
185185ignoreEmpty
@@ -213,7 +213,7 @@ getCurrentName :: (Monad m) => DomParserT Identity m Text
213213getCurrentName = view $ pdElements . to runIdentity . localName
214214
215215-- | If name of current tag differs from first argument throws 'PENotFound' with
216−-- tag name replaced in last path's segment. Usefull for checking root
216+-- tag name replaced in last path's segment. Useful for checking root
217217-- document's element name.
218218checkCurrentName
219219 :: (Monad m)
@@ -275,7 +275,7 @@ maybeReadContent f t = maybe (Left msg) Right $ f t
275275 msg = "Not readable " <> n <> ": " <> t
276276 n = T.pack $ show $ typeRep (Proxy :: Proxy a)
277277
278−-- | Tries to read given text to value using 'Read'. Usefull to use
278+-- | Tries to read given text to value using 'Read'. Useful to use
279279-- with 'parseContent' and 'parseAttribute'
280280readContent
281281 :: (Read a, Typeable a)