Skip to content

Commit a99091e

Browse files
author
Eric Lindblad
committed
typos
1 parent 2c12d39 commit a99091e

File tree

7 files changed

+9
-9
lines changed

7 files changed

+9
-9
lines changed

Network/Browser.hs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -307,7 +307,7 @@ getAllowBasicAuth :: BrowserAction t Bool
307307
getAllowBasicAuth = gets bsAllowBasicAuth
308308

309309
-- | @setMaxAuthAttempts mbMax@ sets the maximum number of authentication attempts
310-
-- to do. If @Nothing@, rever to default max.
310+
-- to do. If @Nothing@, revert to default max.
311311
setMaxAuthAttempts :: Maybe Int -> BrowserAction t ()
312312
setMaxAuthAttempts mb
313313
| fromMaybe 0 mb < 0 = return ()
@@ -515,7 +515,7 @@ setAllowRedirects bl = modify (\b -> b {bsAllowRedirects=bl})
515515
getAllowRedirects :: BrowserAction t Bool
516516
getAllowRedirects = gets bsAllowRedirects
517517

518-
-- | @setMaxRedirects maxCount@ sets the maxiumum number of forwarding hops
518+
-- | @setMaxRedirects maxCount@ sets the maximum number of forwarding hops
519519
-- we are willing to jump through. A no-op if the count is negative; if zero,
520520
-- the max is set to whatever default applies. Notice that setting the max
521521
-- redirects count does /not/ enable following of redirects itself; use
@@ -600,7 +600,7 @@ setDebugLog v = modify (\b -> b {bsDebug=v})
600600
-- A common form of user agent string is @\"name\/version (details)\"@. For
601601
-- example @\"cabal-install/0.10.2 (HTTP 4000.1.2)\"@. Including the version
602602
-- of this HTTP package can be helpful if you ever need to track down HTTP
603-
-- compatability quirks. This version is available via 'httpPackageVersion'.
603+
-- compatibility quirks. This version is available via 'httpPackageVersion'.
604604
-- For more info see <http://en.wikipedia.org/wiki/User_agent>.
605605
--
606606
setUserAgent :: String -> BrowserAction t ()

Network/HTTP/Base.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -332,7 +332,7 @@ type ResponseCode = (Int,Int,Int)
332332
type ResponseData = (ResponseCode,String,[Header])
333333

334334
-- | @RequestData@ contains the head of a HTTP request; method,
335-
-- its URL along with the auxillary/supporting header data.
335+
-- its URL along with the auxiliary/supporting header data.
336336
type RequestData = (RequestMethod,URI,[Header])
337337

338338
-- | An HTTP Response.

Network/HTTP/MD5Aux.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ md5 :: (MD5 a) => a -> ABCD
106106
md5 m = md5_main False 0 magic_numbers m
107107

108108

109-
-- Returns a hex number ala the md5sum program
109+
-- Returns a hex number à la md5sum program
110110

111111
md5s :: (MD5 a) => a -> String
112112
md5s = abcd_to_string . md5

Network/StreamSocket.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
-- - Created separate module for instance Stream Socket.
1818
--
1919
-- * Changes by Simon Foster:
20-
-- - Split module up into to sepearate Network.[Stream,TCP,HTTP] modules
20+
-- - Split module up into to separate Network.[Stream,TCP,HTTP] modules
2121
--
2222
-----------------------------------------------------------------------------
2323
module Network.StreamSocket

test/get.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
-- A simple test program which takes a url on the commandline
1+
-- A simple test program which takes a url on the command line
22
-- and outputs the contents to stdout.
33

44
-- ghc --make -package HTTP get.hs -o get

test/getb.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
-- A simple test program which takes a url on the commandline
1+
-- A simple test program which takes a url on the command line
22
-- and outputs the contents to stdout.
33

44
-- ghc --make -package HTTP get.hs -o get

test/httpTests.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ browserExample = do
147147
return (take 100 (rspBody rsp))
148148
assertEqual "Receiving expected response" (take 100 haskellOrgText) result
149149

150-
-- A vanilla HTTP request using Browser shouln't send a cookie header
150+
-- A vanilla HTTP request using Browser shouldn't send a cookie header
151151
browserNoCookie :: (?testUrl :: ServerAddress) => Assertion
152152
browserNoCookie = do
153153
(_, response) <- browse $ do

0 commit comments

Comments
 (0)