Skip to content

Commit

Permalink
Document non-lower-case showTextData alternative
Browse files Browse the repository at this point in the history
  • Loading branch information
tysonzero authored Sep 24, 2018
1 parent 1beba5a commit bc9cca3
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/Web/Internal/HttpApiData.hs
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,8 @@ parseMaybeTextData parse input =
-- Convert to URL piece using @'TextShow'@ instance.
-- The result is always lower cased.
--
-- If you do not want lower casing try @'T.pack' . 'show'@
--
-- >>> showTextData True
-- "true"
--
Expand All @@ -204,6 +206,8 @@ showTextData = T.toLower . showt
-- Convert to URL piece using @'Show'@ instance.
-- The result is always lower cased.
--
-- If you do not want lower casing try @'T.pack' . 'show'@
--
-- >>> showTextData True
-- "true"
--
Expand Down

0 comments on commit bc9cca3

Please sign in to comment.