This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Next revision Both sides next revision | ||
cs330_f2016:labx [2016/06/15 20:52] dcostello |
cs330_f2016:labx [2016/06/21 22:23] dcostello |
||
---|---|---|---|
Line 30: | Line 30: | ||
-- Examples | -- Examples | ||
- | (build_infinite_list *x) = [2,4,6,8,...] | + | (build_infinite_list (*2)) = [2,4,6,8,...] |
</code> | </code> | ||
Lazily constructs an infinite list such that list!!i returns (f i). | Lazily constructs an infinite list such that list!!i returns (f i). |