codeworld
codeworld copied to clipboard
User-reported unhelpful error message
trafficstars
Program: https://code.world/haskell#PmOCtavlPgfQlvR6qCPXvwg
Comment:
aaaaaaaaaaaaaaaaaaahhhhhhhhhhhhhhhhh
Message:
program.hs:92:72-73: error:
• Couldn't match expected type ‘((Double, Double), Bool, Double)’
with actual type ‘[Alien]’
• In the second argument of ‘atira’, namely ‘ba’
In the second argument of ‘atualizeBala’, namely ‘(atira nv ba)’
In the expression: atualizeBala w (atira nv ba)