Skip to content

Commit

Permalink
Update README.markdown
Browse files Browse the repository at this point in the history
Updating to literal syntax
  • Loading branch information
stuartervine committed Jan 8, 2013
1 parent fb550a9 commit a3548c7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.markdown
Expand Up @@ -58,7 +58,7 @@ Mapping (Sequence, NSArray, partially on NSSet, NSDictionary)
}]
// returns sequence(@"ONE", @"TWO", @"THREE", nil)

[array(@"one", array(@"two", nil), @"three", nil) flatMap:^(NSString *item){
[@[@"one", @[@"two"], @"three"] flatMap:^(NSString *item){
return [item uppercaseString];
}];
// returns array(@"ONE", @"TWO", @"THREE", nil)
Expand Down Expand Up @@ -127,4 +127,4 @@ So I'm a bit fed up with using 'libraries' that say, just include our source cod
- Import the framework to your project.
- Jobsa good 'un.



0 comments on commit a3548c7

Please sign in to comment.