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#PKfVS3_mxbITZVNHtDtjp4Q

Message:

program.hs:(12,1)-(13,73): error:
    Couldn't match type ‘[(Color, Double)]’ with ‘(Color, Double)’
    Expected type: (Color, Double) -> [Picture]
      Actual type: [(Color, Double)] -> [Picture]

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