codeworld
codeworld copied to clipboard
User-reported unhelpful error message
trafficstars
Program: https://code.world/haskell#PJpUzFrUh2dKj9SsNlPjU4w
Message:
program.hs:12:23: error:
• Couldn't match expected type ‘Double’ with actual type ‘Int’
• In the first argument of ‘translated’, namely ‘x’
In the expression: translated x y
In the expression: translated x y $ circle 0.9