codeworld icon indicating copy to clipboard operation
codeworld copied to clipboard

User-reported unhelpful error message

Open codeworld-feedback opened this issue 1 year ago • 0 comments
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

codeworld-feedback avatar Oct 31 '24 19:10 codeworld-feedback