Merge pull request #29 from zerobuzz/export-toApplication-fun
Export `toApplication` from Server.
commit5f6c981d8019e61e625f69c7579f62b949c0d2dd
authorJulian Arni <jkarni@gmail.com>
dateFri 27 Feb 2015, 15:41 (12 years ago)
parentcae0b6e27e8423
src/Servant/Server.hs+4−2
@@ -4,12 +4,14 @@
44-- | This module lets you implement 'Server's for defined APIs. You'll
55-- most likely just need 'serve'.
66module Servant.Server
7− ( -- * Implementing an API
7+ ( -- * Run a wai application from an API
88 serve
99
10+ , -- * Construct a wai Application from an API
11+ toApplication
12+
1013 , -- * Handlers for all standard combinators
1114 HasServer(..)
12−
1315 ) where
1416
1517import Data.Proxy (Proxy)