Comparison of two uninterned symbol
Jakub T. Jankiewicz 25 Jan 2025 12:21 UTC
It seems that the SRFI don't specify the output of this expression:
(let ((a (string->uninterned-symbol "foo"))
(b (string->uninterned-symbol "foo")))
(list
(eq? a b)
(eqv? a b)
(equal? a b)
(symbol=? a b)))
It only specify symbol=?
Maybe it's obvious, but I don't know exactly how to compare those two symbols.
Should it be #f #f #f #t? I think this should be included in the SRFI so
there are no confusion.
--
Jakub T. Jankiewicz, Senior Front-End Developer
https://jcubic.pl/me
https://lips.js.org
https://koduj.org