Skip to content

Commit

Permalink
update Readme
Browse files Browse the repository at this point in the history
  • Loading branch information
nghialv committed Jun 4, 2015
1 parent 1f0c1b0 commit 462f4a7
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,10 @@ Usage

``` swift
let e = NSError(domain: "noSuchElement", code: 1, userInfo: nil)

let f = searchRepositories("Hakuba").filter(e){ $0.count > 0 } <^> { $0.first!.ownerName } >>- requestUser
let f1 = searchRepositories("Hakuba")

let f = f1.filter(e){ $0.count > 0 } <^> { $0.first!.ownerName } >>- requestUser

f.onComplete { result in
switch result {
case .Success(let user): println(user)
Expand Down

0 comments on commit 462f4a7

Please sign in to comment.