on master help sign in
Corrected typos.
commitcf6042b3306332d5546e8592adb87a115825cbb8 authorCharmander <campersander@gmail.com> dateTue 11 Feb 2014, 10:06 (13 years ago) parent81964b7
2 files changed+4−4
wai/Network/Wai.hs+3−3 warp/Network/Wai/Handler/Warp/Run.hs+1−1
wai/Network/Wai.hs+3−3
@@ -5,7 +5,7 @@
55This module defines a generic web application interface. It is a common
66protocol between web servers and web applications.
77
8−The overriding design principles here are performance and generality . To
8+The overriding design principles here are performance and generality. To
99address performance, this library is built on top of the conduit and
1010blaze-builder packages. The advantages of conduits over lazy IO have been
1111debated elsewhere and so will not be addressed here. However, helper functions
@@ -36,7 +36,7 @@ include:
3636-}
3737module Network.Wai
3838 (
39− -- * Ttypes
39+ -- * Types
4040 Application
4141 , Middleware
4242 -- * Request
@@ -194,7 +194,7 @@ type Application = Request -> IO Response
194194--
195195-- As an example of an alternate type for middleware, suppose you write a
196196-- function to load up session information. The session information is simply a
197−-- string map \[(String, String)\]. A logical type signatures for this middleware
197+-- string map \[(String, String)\]. A logical type signature for this middleware
198198-- might be:
199199--
200200-- @ loadSession :: ([(String, String)] -> Application) -> Application @
warp/Network/Wai/Handler/Warp/Run.hs+1−1
@@ -66,7 +66,7 @@ allowInterrupt = unblock $ return ()
6666run :: Port -> Application -> IO ()
6767run p = runSettings defaultSettings { settingsPort = p }
6868
69−-- | Run an 'Applicatoin' with the given 'Settings'.
69+-- | Run an 'Application' with the given 'Settings'.
7070runSettings :: Settings -> Application -> IO ()
7171#if WINDOWS
7272runSettings set app = withSocketsDo $ do