egallesio / STklos

STklos Scheme
http://stklos.net
GNU General Public License v2.0
67 stars 17 forks source link

Enhancement to error message #626

Closed jpellegrini closed 2 months ago

jpellegrini commented 2 months ago

Before, we had:

stklos> (inc! "abc")
**** Error:
map: malformed list `"abc"'

Now we have:

stklos> (inc! "abc")
**** Error:
error: bad place "abc": it is neither a symbol (variable name) nor a list (generalized variable)

Of course this is not enough to make everything clear all the times, but it's better...

egallesio commented 2 months ago

Once again, GitHub didn't close this PR. I do it manually.