Skip to content

Commit 0ecde77

Browse files
committed
Unbreak build
1 parent 8f246ac commit 0ecde77

File tree

3 files changed

+2
-13
lines changed

3 files changed

+2
-13
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
dist
22
dist-newstyle
3+
.ghc.environment.*
34
.cabal-sandbox/
45
cabal.sandbox.config
56
.stack-work/

aeson.cabal

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ test-suite tests
225225
unordered-containers,
226226
uuid-types,
227227
vector,
228-
quickcheck-instances >=0.3.12
228+
quickcheck-instances >=0.3.14
229229

230230
if flag(bytestring-builder)
231231
build-depends: bytestring >= 0.9 && < 0.10.4,

tests/Instances.hs

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -16,15 +16,13 @@ import Data.Aeson.Types
1616
import Data.Function (on)
1717
import Data.Functor.Compose (Compose (..))
1818
import Data.Proxy (Proxy(..))
19-
import Data.Tagged (Tagged(..))
2019
import Data.Time (ZonedTime(..), TimeZone(..))
2120
import Data.Time.Clock (UTCTime(..))
2221
import Functions
2322
import Test.QuickCheck (Arbitrary(..), elements, oneof)
2423
import Types
2524
import qualified Data.DList as DList
2625
import qualified Data.HashMap.Strict as HM
27-
import qualified Data.UUID.Types as UUID
2826

2927
#if !MIN_VERSION_QuickCheck(2,9,0)
3028
import Control.Applicative (Const(..))
@@ -193,9 +191,6 @@ instance Arbitrary Natural where
193191
instance Arbitrary (Proxy a) where
194192
arbitrary = pure Proxy
195193

196-
instance Arbitrary b => Arbitrary (Tagged a b) where
197-
arbitrary = Tagged <$> arbitrary
198-
199194
instance Arbitrary a => Arbitrary (DList.DList a) where
200195
arbitrary = DList.fromList <$> arbitrary
201196

@@ -220,10 +215,3 @@ makeVersion b = Version b []
220215
instance Arbitrary a => Arbitrary (Identity a) where
221216
arbitrary = Identity <$> arbitrary
222217
#endif
223-
224-
instance Arbitrary UUID.UUID where
225-
arbitrary = UUID.fromWords
226-
<$> arbitrary
227-
<*> arbitrary
228-
<*> arbitrary
229-
<*> arbitrary

0 commit comments

Comments
 (0)