soegaard2
2021-3-5 13:58:38

soegaard2
2021-3-5 13:58:51

soegaard2
2021-3-5 18:17:01

From a review of Clojure:


soegaard2
2021-3-5 18:17:06

Huh?!?


ben.knoble
2021-3-5 18:26:44

I don’t know what’s expected here, but > (eq? 'foo 'foo) #f > (equal? 'foo 'foo) #t


samth
2021-3-5 18:33:23

That first one isn’t vanilla racket.


ben.knoble
2021-3-5 18:47:09

I typed racket and input both expressions; what do you mean @samth?


samth
2021-3-5 18:48:05

I mean that if that’s really what happened then there’s a bug somewhere


samth
2021-3-5 18:48:23

and also that isn’t what happens for me


ben.knoble
2021-3-5 18:48:41

sighs


ben.knoble
2021-3-5 18:49:19

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


samth
2021-3-5 18:49:40

ok that’s reassuring


ben.knoble
2021-3-5 18:51:28

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)


soegaard2
2021-3-5 20:12:24

Symbols without interning … that’s just strings.



soegaard2
2021-3-5 20:27:38

Fateman’s comment is quite amusing: To insist that sqrt( (-x)^2) is -x, … well, you figure out the implications of that. Context:


jcoo092
2021-3-5 20:47:27

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.