A sample algorithm
Search a sequence for a particular value
- start with the first element
- keep looking until the element is found or the sequence is exhausted
- stop as soon as you find what you wanted
How might we find an abstraction of sequences that will let us implement this algorithm?