CSC 270 - Survey of Programming Languages: Scheme (Racket)
Symbolic Information
Representing Symbolic Information
Symbols
Scheme provides one basic operation eq? which produces
true if the two symbols match.
(eq? 'Hello x) = true is x stands for ':w
llo
(eq? 'Hello x) = false is x stands for 'Howdy
Symbols were introduced to programming as a way to
have the computer reply to users. We could have the computer print
an appropriate response to certain messages entered by users.
[Back to the Notes Index]