Improve UrlMap documentation

Add type signatures in code example
This commit is contained in:
Harry Garrood 2014-01-04 00:24:40 +00:00
parent 83138f0701
commit a99e8838f6

View File

@ -2,6 +2,8 @@
{- | This module gives you a way to mount applications under sub-URIs.
For example:
> bugsApp, helpdeskApp, apiV1, apiV2, mainApp :: Application
>
> myApp :: Application
> myApp = mapUrls $
> mount "bugs" bugsApp