Try to fix doctest for older GHCs
commitf918e5b487a4471d0696c0d14b08a699c2659ee4
authorNickolay Kudasov <nickolay.kudasov@gmail.com>
dateSun 11 Oct 2015, 14:32 (11 years ago)
parentaee4a33
Web/HttpApiData/Internal.hs+1−1
@@ -173,8 +173,8 @@ parseUrlPieceWithPrefix pattern input
173173
174174-- | Parse given bytestring then parse the rest of the input using @'parseHeader'@.
175175--
176+-- >>> data BasicAuthToken = BasicAuthToken Text deriving (Show)
176177-- >>> :{
177−-- data BasicAuthToken = BasicAuthToken Text deriving (Show)
178178-- instance FromHttpApiData BasicAuthToken where
179179-- parseHeader h = BasicAuthToken <$> parseHeaderWithPrefix "Basic " h
180180-- parseQueryParam p = BasicAuthToken <$> parseQueryParam p