We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2e6d5eb commit 4266d57Copy full SHA for 4266d57
ghcide/src/Text/Fuzzy/Parallel.hs
@@ -38,7 +38,7 @@ filter :: (TextualMonoid s)
38
-> Bool -- ^ Case sensitivity.
39
-> [Fuzzy t s] -- ^ The list of results, sorted, highest score first.
40
filter chunkSize maxRes pattern ts pre post extract caseSen = runST $ do
41
- let v = (V.catMaybes
+ let v = (V.mapMaybe id
42
(V.map (\t -> match pattern t pre post extract caseSen) (V.fromList ts)
43
`using`
44
parVectorChunk chunkSize (evalTraversable forceScore)))
0 commit comments