FP concepts in Objective-C