[Haskell-cafe] Core packages and locale support

Felipe Lessa felipe.lessa at gmail.com
Sat Jun 26 22:28:17 EDT 2010


On Sat, Jun 26, 2010 at 10:01:57PM -0300, Felipe Lessa wrote:
> The types are:
>
>   getArgs   :: IO [String]
>   writeFile :: FilePath -> String -> IO ()

On a similar note, getArgs probably suffers from the same
problem.  Which should it be?

  a) getArgs :: IO [String]
  b) getArgs :: IO [Word8]
  c) getArgs :: IO [FilePath]
  d) getArgs :: IO [Argument]

Cheers,

--
Felipe.


More information about the Haskell-Cafe mailing list