Closed shlok closed 7 years ago
Thanks! Could you also add some documentation?
It would also be good if we document the relationship between readPrec
and scientificP
so that users know skipping whitespace is not part of scientificP
. As in:
-- | Note that `readPrec` is defined as:
-- @readPrec = Read.parens $ ReadPrec.lift $ ReadP.skipSpaces >> 'scientificP'@
readPrec = Read.parens $ ReadPrec.lift $ ReadP.skipSpaces >> scientificP
Hi @basvandijk. I added some documentation for scientificP
and the Read
instance. Feel free to suggest improvements. (I haven’t yet added the readPrec
documentation that you suggested.)
The documentation is excellent. Thanks! Released as scientific-0.3.5.0.
@basvandijk Nice! Thanks for your cooperation.
See https://github.com/basvandijk/scientific/issues/51.