1. Bryan O'Sullivan
  2. riak-haskell-client


Bryan O'Sullivan  committed bbdbe4f

Another small doc tweak.

  • Participants
  • Parent commits edf8031
  • Branches default

Comments (0)

Files changed (1)

File src/Network/Riak/Connection/Pool.hs

View file
 -- 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