Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- app/Main.hs:61:17: error:
- • Couldn't match expected type ‘t0 (Int, Int)’
- with actual type ‘Aliens’
- • In the first argument of ‘forM_’, namely ‘aliens’
- In the first argument of ‘liftIO’, namely
- ‘(forM_
- aliens
- \ (row, col)
- -> do setCursorPosition row col
- putChar '@')’
- In a stmt of a 'do' block:
- liftIO
- (forM_
- aliens
- \ (row, col)
- -> do setCursorPosition row col
- putChar '@')
- |
- 61 | liftIO (forM_ aliens \(row, col) -> do
- | ^^^^^^
Advertisement
Add Comment
Please, Sign In to add comment