Bryan O'Sullivan committed bbdbe4f

Another small doc tweak.

Comments (0)

Files changed (1)


 -- It probably goes without saying that you should never call
 -- 'disconnect' on a connection, as doing so will cause a subsequent
--- user, expecting the connection to be valid, to throw an exception.
+-- user (who expects the connection to be valid) to throw an exception.
 withConnection :: Pool -> (Connection -> IO a) -> IO a
 withConnection Pool{..} act = do
   i <- ((`mod` numStripes) . hash) <$> myThreadId