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:02

>>6
suppose you're in a system where strings don't exist separately and all you have is symbols. then:
(define op 'faggot)
(string-append 'Op\ is\  op) ; => Op is faggot
(string-append 'Op\ is\  'op) ; => Op is op


IHBT.

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