git.iko.soy/typeable/http-api-data
on master help sign in
Fix doctest for old GHCs
commit5fcc4b000f46756102ada7bc632f56e86120eef3 authorNickolay Kudasov <nickolay.kudasov@gmail.com> dateTue 6 Oct 2015, 01:00 (11 years ago) parentf96cb08
1 file changed+1−1
Web/HttpApiData.hs+1−1
Web/HttpApiData.hs+1−1
@@ -134,7 +134,7 @@ instance ToHttpApiData () where
134134instance ToHttpApiData Char where toUrlPiece = T.singleton
135135
136136-- |
137−-- >>> toUrlPiece (makeVersion [1, 2, 3])
137+-- >>> toUrlPiece (Version [1, 2, 3] [])
138138-- "1.2.3"
139139instance ToHttpApiData Version where
140140 toUrlPiece = T.pack . showVersion