git.iko.soy/typeable/http-api-data
on master help sign in
Fix readTextData comment
commit2fb1ec64f1a9b2ff07cdea715c0d986eaabce083 authorNickolay Kudasov <nickolay.kudasov@gmail.com> dateSun 11 Oct 2015, 13:20 (11 years ago) parent5863731
1 file changed+1−1
Web/HttpApiData/Internal.hs+1−1
Web/HttpApiData/Internal.hs+1−1
@@ -255,7 +255,7 @@ parseBoundedTextData = parseMaybeTextData (flip lookup values . T.toLower)
255255-- This parser is case sensitive and will not match @'showTextData'@
256256-- in presense of letters:
257257--
258−-- >>> readTextData "true" :: Either Text Bool
258+-- >>> readTextData (showTextData True) :: Either Text Bool
259259-- Left "could not parse: `true'"
260260--
261261-- See @'parseBoundedTextData'@.