@@ -290,6 +290,8 @@ data ScientificParseState
290290-- exponent) tuple. The result can be mapped to 'Double' or any other number
291291-- representation e.g. @Scientific@.
292292--
293+-- For example, using the @scientific@ package:
294+-- >> parserScientific = uncurry Data.Scientific.scientific <$> 'number'
293295{-# INLINE number #-}
294296number :: Monad m => Parser Char m (Integer, Int)
295297number = Parser (\s a -> return $ step s a) initial (return . extract)