We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 70ef64c commit 4e22e5aCopy full SHA for 4e22e5a
1 file changed
test/lib/Streamly/Test/Parser/Common.hs
@@ -68,7 +68,7 @@ expectedResult moves inp = go 0 0 [] moves
68
inpLen = length inp
69
70
slice off len = Prelude.take len . Prelude.drop off
71
- slice_ off = Prelude.drop off
+ slice_ = Prelude.drop
72
73
-- i = Index of inp head
74
-- j = Minimum index of inp head
@@ -105,7 +105,7 @@ expectedResultMany moves inp =
105
106
createPaths :: [a] -> [[a]]
107
createPaths xs =
108
- Prelude.map (flip Prelude.take xs) [1..length xs]
+ Prelude.map (`Prelude.take` xs) [1..length xs]
109
110
parserSanityTests :: String -> ([Move] -> SpecWith ()) -> SpecWith ()
111
parserSanityTests desc testRunner =
0 commit comments