, .
Couldn't match expected type `[a] -> [Integer]'
against inferred type `IO ()'
In the expression:
putStrLn ("factorList is : " ++ show quotient) []
" "; .
Haskell , . - "putStrLn". ": t putStrLn" GHCi, :
putStrLn :: String -> IO ()
, putStrLn - , " IO", . "putStrLn" , , "putStrLn (stuff)" "IO()". " " .
, , . , "putStrLn (stuff)" , , , "[ a]" ( -, , ). , "[ ]". "putStrLn (stuff)" , "[]" , "[a] → [Integer]". .
, , .
" " Foo " " Bar ", , , Haskell, . , . , - , .