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 9fe6c16 commit caeb000Copy full SHA for caeb000
bloomfilter/examples/spell.hs
@@ -10,7 +10,7 @@ main :: IO ()
10
main = do
11
files <- getArgs
12
dictionary <- readFile "/usr/share/dict/words"
13
- let !bloom = B.fromList (B.policyForFPR 0.01) (words dictionary)
+ let !bloom = B.fromList 0 (B.policyForFPR 0.01) (words dictionary)
14
forM_ files $ \file ->
15
putStrLn . unlines . filter (`B.notElem` bloom) . words
16
=<< readFile file
0 commit comments