update haskell code for new haskel 2010 library standard
This commit is contained in:
parent
ee08928150
commit
4a95633c47
|
@ -1,7 +1,8 @@
|
||||||
-- Haskell version of a Prime Number Finder
|
-- Haskell version of a Prime Number Finder
|
||||||
-- haplo@mindstab.net
|
-- haplo@mindstab.net
|
||||||
|
|
||||||
import System
|
import System.IO
|
||||||
|
import System.Environment
|
||||||
|
|
||||||
check i c m | i > m = [(show c) ++ " "]
|
check i c m | i > m = [(show c) ++ " "]
|
||||||
| rem c i > 0 = check (i+2) c m
|
| rem c i > 0 = check (i+2) c m
|
||||||
|
|
Loading…
Reference in New Issue