Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

symbol? and string?

Name: Anonymous 2012-07-13 17:31

Aside from the issue of uninterned symbols, why are these separate and not the exact same thing?  Alternatively, are these any situations in which you need to differentiate between strings and symbols?

Name: Anonymous 2012-07-14 0:18

>>7
I will shove cudders down this system creator's throat.
(define faggot #f)
(define op "faggot")
(define (eval-display x) (display (eval x)))
(for-each eval-display (list "Op is " op))
; I expect it to print "Op is faggot"
; But if "faggot" == 'faggot it must print "op is #f"

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List