From 5fe5a3f9366dfac76110b05388b2a34057eb8dce Mon Sep 17 00:00:00 2001 From: Alex Washburn Date: Tue, 30 Jun 2020 10:51:05 -0400 Subject: [PATCH] Cleaning up build warnings --- bench/bench-string-alignment-small.hs | 6 +++--- phylogenetic-component-graph.cabal | 11 +---------- 2 files changed, 4 insertions(+), 13 deletions(-) diff --git a/bench/bench-string-alignment-small.hs b/bench/bench-string-alignment-small.hs index 03eb1e0df..549f05434 100644 --- a/bench/bench-string-alignment-small.hs +++ b/bench/bench-string-alignment-small.hs @@ -12,10 +12,10 @@ import Data.MonoTraversable main :: IO () -main = let p = (128, 144) - in benchStringAlignment $ - \(m, x, y) -> ("two-hex-pref-gap" `isInfixOf` otoList (m ^. characterName)) +main = benchStringAlignment $ + \(m, _, _) -> ("two-hex-pref-gap" `isInfixOf` otoList (m ^. characterName)) {- + let p = (128, 144) in benchStringAlignment $ \(m, x, y) -> ((olength x == fst p && olength y == snd p) || (olength x == snd p && olength y == fst p)) diff --git a/phylogenetic-component-graph.cabal b/phylogenetic-component-graph.cabal index c6cad3a3b..80f757576 100644 --- a/phylogenetic-component-graph.cabal +++ b/phylogenetic-component-graph.cabal @@ -438,7 +438,7 @@ library data-structures binary-instances >= 1 && < 2.0, bv-little >= 1.0.1 && < 2.0, bv-little:instances >= 1.0.1 && < 2.0, - concurrent-hashtable >= 0.1.8 && < 2.0, +-- concurrent-hashtable >= 0.1.8 && < 2.0, containers >= 0.5.8 && < 1.0, data-default >= 0.5.2 && < 0.8, deepseq >= 1.4 && < 2.0, @@ -1216,7 +1216,6 @@ executable pcg ansi-wl-pprint >= 0.6.8 && < 0.7, base >= 4.11 && < 5.0, bimap >= 0.3 && < 2.0, - bytestring >= 0.10.8 && < 0.11, containers >= 0.5.8 && < 1.0, deepseq >= 1.4 && < 2.0, filepath >= 1.4 && < 2.0, @@ -1576,8 +1575,6 @@ executable reduce-fastc utility, ansi-wl-pprint >= 0.6.8 && < 0.7, base >= 4.11 && < 5.0, - bimap >= 0.3 && < 1.0, - bv-little >= 1.2 && < 2.0, containers >= 0.5.8 && < 1.0, keys >= 3.0 && < 4.0, optparse-applicative >= 0.15 && < 2.0, @@ -2353,15 +2350,9 @@ benchmark bench-new-str-align criterion >= 1.5 && < 2.0, deepseq >= 1.4 && < 2.0, keys >= 3.0 && < 4.0, - lens >= 4.17 && < 5.0, megaparsec >= 8.0 && < 9.0, - mono-traversable >= 1.0 && < 2.0, - semigroupoids >= 5.2.1 && < 5.4, split >= 0.2 && < 1.0, - text >= 1.2 && < 2.0, text-short >= 0.1 && < 1.0, - text-show >= 3.8.1 && < 4.0, - vector >= 0.12.0.2 && < 0.13, weigh >= 0.0.16 && < 1.0, hs-source-dirs: