mirror of
https://github.com/typeable/wai.git
synced 2025-01-01 02:38:45 +03:00
Improve UrlMap documentation
Add type signatures in code example
This commit is contained in:
parent
83138f0701
commit
a99e8838f6
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user