Computer Science Fundamentals (CS153 2004S)
[Skip to Body]
Primary:
[Front Door]
[Current]
[Glance]
-
[Honesty]
[Instructions]
[Links]
[Search]
Groupings:
[EBoards]
[Examples]
[Exams]
[Handouts]
[Homework]
[Labs]
[Outlines]
[Readings]
[Reference]
Misc:
[Experiments in Java]
[Java API]
[Scheme Reference]
[Scheme Report]
[CS153 2003S]
[CS151 2003F]
[CS152 2000F]
[SamR]
Back to Starting Scheme. On to Procedures.
Held: Friday, 23 January 2004
Summary: Today we consider many of the core types in Scheme, particularly symbols, lists, and numbers.
Related Pages:
Assignments:
Notes:
Overview:
> 'cat cat > cat reference to undefined identifier: cat > (quote cat) cat
growand
shrink
null or ().
(cons thing-for-the-front rest-of-the-list)
> (cons 'a null) (a) > (cons 'b (cons 'a null)) (b a)
list.
> (list 'a 'b 'c)
(a b c)
car: get the initial element of the list.
cdr: get all but the initial element of the list.
list-ref: get the ith element of the list.
Back to Starting Scheme. On to Procedures.
[Skip to Body]
Primary:
[Front Door]
[Current]
[Glance]
-
[Honesty]
[Instructions]
[Links]
[Search]
Groupings:
[EBoards]
[Examples]
[Exams]
[Handouts]
[Homework]
[Labs]
[Outlines]
[Readings]
[Reference]
Misc:
[Experiments in Java]
[Java API]
[Scheme Reference]
[Scheme Report]
[CS153 2003S]
[CS151 2003F]
[CS152 2000F]
[SamR]
Disclaimer:
I usually create these pages on the fly
, which means that I rarely
proofread them and they may contain bad grammar and incorrect details.
It also means that I tend to update them regularly (see the history for
more details). Feel free to contact me with any suggestions for changes.
This document was generated by
Siteweaver on Fri May 7 09:43:03 2004.
The source to the document was last modified on Tue Jan 13 10:26:09 2004.
This document may be found at http://www.cs.grinnell.edu/~rebelsky/Courses/CS153/2004S/Outlines/outline.03.html.
You may wish to
validate this document's HTML
;
;
Check with Bobby