5:14:04 am
UCT
47
online
5:14:04 am
UCT
47
online
primes = filterPrime [2..] where
filterPrime (p:xs) =
p : filterPrime [x | x <- xs, x `mod` p /= 0]
THANK YOU, HASKELL 🥷🏻