☞ Generalize the pattern from
last lab
to make a
keep items such that
block.
☞ Write the
combine with
block. Note: The base case will be a list with one item, not an empty list.
☞ Modify the
sort
block you wrote earlier to take a comparison predicate as an input, so you can say
to sort numbers with the largest one coming first.