Closed ccshan closed 1 year ago
Use #lang htdp/bsl
instead of the menu-based teaching languages. -- In that setting I can't reproduce the bug.
#lang
comes with other advantages. This bug seems to be new, but I don't have time today to check it out. @mikesperber ?
@ccshan As you'll notice, there's still no newline before the error message. It is surprisingly difficult to put one there without introducing spurious, conspicuous newlines in regular output. Can you live with that? (As @mfelleisen notes, the #lang
versions don't have this problem.)
I can live with that.
In the Beginning Student Language, running a program such as
produces the result
Similarly if
(+ "hello" "world")
is replaced by(cond [false "hello"])
This is confusing because