fmidue / codeworld

Educational computer programming environment using Haskell
https://autotool.fmi.uni-due.de/codeworld
Apache License 2.0
0 stars 1 forks source link

Improve error message sanitization? #21

Closed jvoigtlaender closed 2 weeks ago

jvoigtlaender commented 2 weeks ago

For the expression

picture = circle(circle(3))

the current error message is:

Couldn't match expected type the standard library with actual type Picture

That reads strange. Maybe it should be

Couldn't match expected type from the standard library with actual type Picture

?

The corresponding error message on the vanilla CodeWorld site is

Couldn't match expected type Number with actual type Picture