diff --git a/primes.hs b/primes.hs index e20cd13..165b9df 100644 --- a/primes.hs +++ b/primes.hs @@ -1,7 +1,8 @@ -- Haskell version of a Prime Number Finder -- haplo@mindstab.net -import System +import System.IO +import System.Environment check i c m | i > m = [(show c) ++ " "] | rem c i > 0 = check (i+2) c m