Guest User

Untitled

a guest
May 24th, 2015
556
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.77 KB | None | 0 0
  1. [1 of 1] Compiling Main ( Main.hs, Main.o )
  2.  
  3. Main.hs:20:13:
  4. Couldn't match type ‘[Char]’ with ‘Int’
  5. Expected type: Parser Int
  6. Actual type: Parser String
  7. In the second argument of ‘(<*>)’, namely
  8. ‘strOption (long "count" <> help "Count of files to download.")’
  9. In the expression:
  10. Params <$> strOption (long "artist" <> help "Artist of track(s).")
  11. <*> strOption (long "title" <> help "Title of the song.")
  12. <*> strOption (long "count" <> help "Count of files to download.")
  13.  
  14. Main.hs:25:8:
  15. Couldn't match expected type ‘[String] -> IO ()’
  16. with actual type ‘Parser Params’
  17. In the first argument of ‘(=<<)’, namely ‘params’
  18. In the expression: params =<< getArgs
Advertisement
Add Comment
Please, Sign In to add comment