Class Notes (1,100,000)
CA (620,000)
UBC (10,000)
CPSC (200)
Lecture

CPSC 110 - Class 7: Arbitrary-sized Data


Department
Computer Science
Course Code
CPSC 110
Professor
Gregor Kiczales

This preview shows page 1. to view the full 4 pages of the document.
CPSC 110 – Sept 28, 2011
CLASS SEVEN
FOCUS: Arbitrary-sized data, mechanism, HtDD, HtDF, HtDW
Arbitrary-sized data:
Not all applicants, one or more fireworks all my favourite teams
Making lists? Examples:
Note: end of a list must always say empty
Using first and rest allows points of the list to be brought up as the answer:
Note: These are ‘homogenous’ lists. ‘heterogeneous’ lists will be taught later in the
course
If you don’t know how long the list is, but want to pick a certain part of it:
Also taught later in the course
1
You're Reading a Preview

Unlock to view full version