7:51:32 am
UCT
53
online
7:51:32 am
UCT
53
online
primes = filterPrime [2..] where
filterPrime (p:xs) =
p : filterPrime [x | x <- xs, x `mod` p /= 0]
THANK YOU, HASKELL 🥷🏻