-
Notifications
You must be signed in to change notification settings - Fork 36
/
retry.cabal
91 lines (78 loc) · 2.37 KB
/
retry.cabal
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
name: retry
description:
This package exposes combinators that can wrap arbitrary
monadic actions. They run the action and potentially retry
running it with some configurable delay for a configurable
number of times.
The purpose is to make it easier to work with IO and
especially network IO actions that often experience temporary
failure and warrant retrying of the original action. For
example, a database query may time out for a while, in which
case we should hang back for a bit and retry the query instead
of simply raising an exception.
version: 0.9.3.1
synopsis: Retry combinators for monadic actions that may fail
license: BSD3
license-file: LICENSE
author: Ozgun Ataman
maintainer: [email protected]
copyright: Ozgun Ataman, Soostone Inc
category: Control
build-type: Simple
cabal-version: >=1.10
homepage: http://github.com/Soostone/retry
extra-source-files:
README.md
changelog.md
flag lib-Werror
default: False
manual: True
library
exposed-modules: Control.Retry
UnliftIO.Retry
build-depends:
base >= 4.8 && < 5
, exceptions >= 0.5
, ghc-prim
, random >= 1
, transformers
, mtl
, mtl-compat
, unliftio-core >= 0.1.0.0
hs-source-dirs: src
default-language: Haskell2010
if flag(lib-Werror)
ghc-options: -Werror
ghc-options: -Wall
test-suite test
type: exitcode-stdio-1.0
main-is: Main.hs
hs-source-dirs: test,src
ghc-options: -threaded
other-modules: Control.Retry
UnliftIO.Retry
Tests.Control.Retry
Tests.UnliftIO.Retry
build-depends:
base ==4.*
, exceptions
, transformers
, random
, time
, HUnit >= 1.2.5.2
, tasty
, tasty-hunit
, tasty-hedgehog
, hedgehog >= 1.0
, stm
, ghc-prim
, mtl
, mtl-compat
, unliftio-core
default-language: Haskell2010
if flag(lib-Werror)
ghc-options: -Werror
ghc-options: -Wall
source-repository head
type: git
location: git://github.com/Soostone/retry.git