aboutsummaryrefslogtreecommitdiff
path: root/test/Gen.hs
diff options
context:
space:
mode:
authorMikolaj Konarski <mikolaj.konarski@funktory.com>2025-05-13 16:59:17 +0200
committerMikolaj Konarski <mikolaj.konarski@funktory.com>2025-05-13 16:59:17 +0200
commitca78d92aa55e9ba8ad179ef42515e4e7b2b8155a (patch)
tree8311a404637693dbaec34e8ef13459e19cd20020 /test/Gen.hs
parent0b021e8630ab78ccad076cf8357e370f4a0fcab5 (diff)
Apply some suggestions from hlint
Diffstat (limited to 'test/Gen.hs')
-rw-r--r--test/Gen.hs3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/Gen.hs b/test/Gen.hs
index 244c735..8099f0d 100644
--- a/test/Gen.hs
+++ b/test/Gen.hs
@@ -2,7 +2,6 @@
{-# LANGUAGE GADTs #-}
{-# LANGUAGE ImportQualifiedPost #-}
{-# LANGUAGE NumericUnderscores #-}
-{-# LANGUAGE PatternSynonyms #-}
{-# LANGUAGE RankNTypes #-}
{-# LANGUAGE ScopedTypeVariables #-}
{-# LANGUAGE TypeAbstractions #-}
@@ -49,7 +48,7 @@ genLowBiased (lo, hi) = do
return (lo + x * x * x * (hi - lo))
shuffleShR :: IShR n -> Gen (IShR n)
-shuffleShR = \sh -> go (length (toList sh)) (toList sh) sh
+shuffleShR = \sh -> go (length sh) (toList sh) sh
where
go :: Int -> [Int] -> IShR n -> Gen (IShR n)
go _ _ ZSR = return ZSR