Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- primes = 2 : [ y | y <- [3..], (foldr ((||).(\x->mod y x == 0)) False [2..y-1]) == False]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement