Higher-order fun