7.5 Other useful tools

7.5.2 adverbs

partial wraps a function:

negate() negates a predicate function:

safely() and possibly():

compose() lets you string together multiple functions