diff --git a/Network/Wai.hs b/Network/Wai.hs
--- a/Network/Wai.hs
+++ b/Network/Wai.hs
@@ -138,12 +138,12 @@
 -- @
 -- app :: Application
 -- app req respond = bracket_
---     (putStrLn "Allocating scarce resource")
---     (putStrLn "Cleaning up")
---     $ respond $ responseStream status200 [] $ \write flush -> do
---         write $ fromByteString "Hello\n"
+--     (putStrLn \"Allocating scarce resource\")
+--     (putStrLn \"Cleaning up\")
+--     $ respond $ responseStream status200 [] $ \\write flush -> do
+--         write $ fromByteString \"Hello\\n\"
 --         flush
---         write $ fromByteString "World\n"
+--         write $ fromByteString \"World\\n\"
 -- @
 --
 -- Note that in some cases you can use @bracket@ from inside @responseStream@
@@ -235,9 +235,9 @@
 -- @
 -- app :: Application
 -- app req respond = bracket_
---     (putStrLn "Allocating scarce resource")
---     (putStrLn "Cleaning up")
---     (respond $ responseLBS status200 [] "Hello World")
+--     (putStrLn \"Allocating scarce resource\")
+--     (putStrLn \"Cleaning up\")
+--     (respond $ responseLBS status200 [] \"Hello World\")
 -- @
 type Application = Request -> (Response -> IO ResponseReceived) -> IO ResponseReceived
 
diff --git a/wai.cabal b/wai.cabal
--- a/wai.cabal
+++ b/wai.cabal
@@ -1,5 +1,5 @@
 Name:                wai
-Version:             3.0.0.1
+Version:             3.0.0.2
 Synopsis:            Web Application Interface.
 Description:         Provides a common protocol for communication between web applications and web servers.
 License:             MIT
