You have a couple of typos in your imports. I think you mean:
import Data.List
import System.IO
primeNumbers = [3,5,7,11]
morePrime = primeNumbers ++ [13,17,19]
i.e. Data.list
should be Data.List
and Syste.IO
should be System.IO
.
3
solved I cannot execute my Haskell code [closed]