update haskell code for new haskel 2010 library standard

This commit is contained in:
Dan Ballard 2013-01-30 22:13:37 -08:00
parent ee08928150
commit 4a95633c47
1 changed files with 2 additions and 1 deletions

View File

@ -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