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

Open codeworld-feedback opened 2 months ago

codeworld-feedback commented 2 months ago

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

Comment:

how does this tell me what I'm missing

Message:

program.hs:4:1-9: error:
    The type signature for drawingOf lacks an accompanying binding
      (The type signature must be given where drawingOf is declared)