Functions are sufficient to represent compound
data.
If you want to change selection, open document below and click on "Move attachment"
2.2 Data Abstraction gt;>> select(p, 0)
20
>>> select(p, 1)
14
This use of higher-order functions corresponds to nothing like our intuitive
notion of what data should be. Nevertheless, these functions suffice to
represent pairs in our programs. <span>Functions are sufficient to represent compound
data.
The point of exhibiting the functional representation of a pair is not that
Python actually works this way (lists are implemented more directly, for
efficiency reasons) but that it co
Summary
status
not read
reprioritisations
last reprioritisation on
suggested re-reading day
started reading on
finished reading on
Details
Discussion
Do you want to join discussion? Click here to log in or create user.