homepage: ''
changelog-type: ''
hash: c6bd373f3f690f3ddf7396f4063989522da587252408bc2bb23ce5e30ec815ab
test-bench-deps: {}
maintainer: winterland1989@gmail.com
synopsis: A simple round-robin data type
changelog: ''
basic-deps:
  base: ! '>=4.6 && <5.0'
all-versions:
- '0.1.0.0'
author: winterland1989
latest: '0.1.0.0'
description-type: markdown
description: ! "# A simple round-robin data type\n\nThis package provide a simple
  data type wrap a round-robin table. so you can select resources(host, connection...)
  using round-robin fashion.\n\n## Example\n\n```haskell\nimport qualified Date.RoundRobin
  as RR\nimport qualified Network.HTTP.Client as HTTP\n\nmain :: IO ()\nmain = do\n
  \   reqs <- mapM HTTP.parseUrl [\"http://foo.com\", \"http://bar.com\", \"http://qux.com\"]\n
  \   proxyTable <- RR.newRoundRobin reqs\n    manager <- HTTP.newManager HTTP.defaultManagerSettings\n\n
  \   ...\n    -- maybe now you're inside a server service(a forked thread)\n    --
  use select to choose a request in round-robin fashion\n        req <- RR.select
  proxyTable\n        res <- HTTP.httpLbs req manager\n        ...\n```\n"
license-name: MIT

Update from Hackage at 2016-05-23T03:19:19+0000
Update from Hackage at 2016-05-23T03:19:19+0000
