From a review of Clojure:
Huh?!?
I don’t know what’s expected here, but > (eq? 'foo 'foo)
#f
> (equal? 'foo 'foo)
#t
That first one isn’t vanilla racket.
I typed racket
and input both expressions; what do you mean @samth?
I mean that if that’s really what happened then there’s a bug somewhere
and also that isn’t what happens for me
sighs
I started typing before the REPL loaded, I guess, because when I hit up to go the past expressions to get a screenshot for proof, it showed > (eq? ''foo 'foo)
You’re correct, both are true for me
ok that’s reassuring
Not to me; this happens pretty frequently that I can type something and what runs is not exactly what I saw. (But I see your point; at least it’s a user bug, not a racket bug)
Symbols without interning … that’s just strings.
@soegaard2 you might be interested in https://discourse.julialang.org/t/ann-symbolics-jl-a-modern-computer-algebra-system-for-a-modern-language/56251
Fateman’s comment is quite amusing: To insist that sqrt( (-x)^2) is -x, … well, you figure out the implications of that.
Context:
I first tried to learn a LISP language with Clojure. I gave up after roughly two days, once I figured out that the official docs were (at the time at least) a poorly edited and out-of-date wiki.
My second attempt was Racket. I didn’t really have any major issues with Racket. At least it had some halfway-decent official docs.