| { |
| "name": "MLFunctionalPackage", |
| "version": "1.0.2", |
| "summary": "A set of map-filter-reduce tools for Objective-C", |
| "description": "# MLFunctionalPackage\n## A set of map-filter-reduce tools for Objective-C\n\nThanks to blocks Objective-C has the potential to support functional programming style. \nThis library provides the basic map-filter-reduce library functions to further expand this opportunity.\n\n## Installation\n \nUse CocoaPods or copy those 2 files directly into the project. \n\n pod 'MLFunctionalPackage'\n\n## How to use it?\n\n #import <MLFunctionalPackage/MLFunctionalPackage.h>\n \n NSLog(@\"%@\", [[[[[NSArray rangeFrom:10 to: 21] mll_filter: ^(NSNumber *n) { \n return n.integerValue % 2 == 0; \n }] mll_map: ^(NSNumber *n) { \n return [NSString stringWithFormat:@\"%d\", n.integerValue]; \n }] mll_reduce: ^(NSString *l, NSString *r) { \n return [NSString stringWithFormat:@\"%@, %@\", l, r];\n }] stringByAppendingString: @\".\"]);", |
| "homepage": "https://github.com/mll/MLFunctionalPackage", |
| "license": "MIT", |
| "authors": { |
| "Marek Lipert": "marek.lipert@gmail.com" |
| }, |
| "platforms": { |
| "ios": "5.0" |
| }, |
| "source": { |
| "git": "https://github.com/mll/MLFunctionalPackage.git", |
| "tag": "1.0.2" |
| }, |
| "source_files": "*.{h,m}", |
| "requires_arc": true |
| } |