Guest User

Untitled

a guest
Aug 13th, 2022
49
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.67 KB | None | 0 0
  1. app/Main.hs:61:17: error:
  2. • Couldn't match expected type ‘t0 (Int, Int)’
  3. with actual type ‘Aliens’
  4. • In the first argument of ‘forM_’, namely ‘aliens’
  5. In the first argument of ‘liftIO’, namely
  6. ‘(forM_
  7. aliens
  8. \ (row, col)
  9. -> do setCursorPosition row col
  10. putChar '@')’
  11. In a stmt of a 'do' block:
  12. liftIO
  13. (forM_
  14. aliens
  15. \ (row, col)
  16. -> do setCursorPosition row col
  17. putChar '@')
  18. |
  19. 61 | liftIO (forM_ aliens \(row, col) -> do
  20. | ^^^^^^
Advertisement
Add Comment
Please, Sign In to add comment