google / codeworld

Educational computer programming environment using Haskell
http://code.world
Apache License 2.0
1.24k stars 197 forks source link

User-reported unhelpful error message #1652

Open codeworld-feedback opened 2 months ago

codeworld-feedback commented 2 months ago

Program: https://code.world/#PzEfsWDoLf2vpmZOY1CppOw

Message:

program.hs:1:38-47: error:
    • Missing punctuation before this expression.
      Perhaps you forgot a comma, an operator, or a bracket.
    • To multiply, please use the * operator.
      For example: (coordinatePlane) * rectangle1
    • To apply a function, add parentheses around the argument.
      For example: (coordinatePlane)(rectangle1)