Utilities for creating partially applied functions.