on master help sign in
Improve UrlMap documentation

Add type signatures in code example

commita99e8838f6182eda50cc5cf320298ef281994046 authorHarry Garrood <hdgarrood@gmail.com> dateSat 4 Jan 2014, 00:24 (13 years ago) parent83138f0
1 file changed+2
wai-extra/Network/Wai/UrlMap.hs+2
wai-extra/Network/Wai/UrlMap.hs+2
@@ -2,6 +2,8 @@
22{- | This module gives you a way to mount applications under sub-URIs.
33For example:
44
5+> bugsApp, helpdeskApp, apiV1, apiV2, mainApp :: Application
6+>
57> myApp :: Application
68> myApp = mapUrls $
79> mount "bugs" bugsApp