8000 Use Glob >= 0.9 and QuickCheck >= 2.10.1 · LumiGuide/haskell-opencv@9c927ba · GitHub
[go: up one dir, main page]

Skip to content

Commit 9c927ba

Browse files
committed
Use Glob >= 0.9 and QuickCheck >= 2.10.1
1 parent 59208d5 commit 9c927ba

File tree

4 files changed

+4
-12
lines changed

4 files changed

+4
-12
lines changed

doc/ExampleExtractor.hs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -278,9 +278,7 @@ mkRenderExampleImages renderTargets = [d|
278278
else VarE render `AppE` fp `AppE` sym
279279

280280
findHaskellPaths :: FilePath -> IO [FilePath]
281-
findHaskellPaths srcDir = do
282-
(paths, _) <- G.globDir [G.compile "**/*.hs", G.compile "**/*.hsc"] srcDir
283-
pure $ concat paths
281+
findHaskellPaths = fmap concat . G.globDir [G.compile "**/*.hs", G.compile "**/*.hsc"]
284282

285283
haddockToHaskell :: T.Text -> T.Text
286284
haddockToHaskell =

opencv-extra/opencv-extra.cabal

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ test-suite doc-images-opencv-extra
129129
, containers >= 0.5.6.2
130130
, data-default >= 0.7.1.1
131131
, directory >= 1.2.2
132-
, Glob >= 0.7.5
132+
, Glob >= 0.9
133133
, haskell-src-exts >= 1.18.2
134134
, JuicyPixels >= 3.2.8.1
135135
, linear >= 1.20.4

opencv/opencv.cabal

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ test-suite doc-images-opencv
227227
, containers >= 0.5.6.2
228228
, data-default >= 0.7.1.1
229229
, directory >= 1.2.2
230-
, Glob >= 0.7.5
230+
, Glob >= 0.9
231231
, haskell-src-exts >= 1.18.2
232232
, JuicyPixels >= 3.2.8.1
233233
, linear >= 1.20.4
@@ -262,7 +262,7 @@ test-suite test-opencv
262262
, lens >= 4.13
263263
, linear >= 1.20.4
264264
, opencv
265-
, QuickCheck >= 2.8.2
265+
, QuickCheck >= 2.10.1
266266
, repa >= 3.4.0.2
267267
, tasty >= 0.11.0.2
268268
, tasty-hunit >= 0.9.2

opencv/test/test.hs

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -398,12 +398,6 @@ eye_m33 = V3 (V3 1 0 0) (V3 0 1 0) (V3 0 0 1)
398398
-- QuikcCheck Arbitrary Instances
399399
--------------------------------------------------------------------------------
400400

401-
instance QC.Arbitrary CFloat where
402-
arbitrary = CFloat <$> QC.arbitrary
403-
404-
instance QC.Arbitrary CDouble where
405-
arbitrary = CDouble <$> QC.arbitrary
406-
407401
instance (QC.Arbitrary a) => QC.Arbitrary (V2 a) where
408402
arbitrary = V2 <$> QC.arbitrary <*> QC.arbitrary
409403

0 commit comments

Comments
 (0)
0