Skip to content

Commit

Permalink
Bumping version and updating docs
Browse files Browse the repository at this point in the history
  • Loading branch information
ankurp committed Jun 3, 2016
1 parent 232092f commit 67e9d0a
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Dollar.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = "Dollar"
s.version = "5.0.1"
s.version = "5.1.0"
s.summary = "A functional tool-belt for Swift Language"
s.homepage = "https://github.com/ankurp/Dollar"
s.license = { :type => "MIT", :file => "LICENSE" }
Expand Down
12 changes: 10 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ Dollar is a Swift library that provides useful functional programming helper met

## Using [Carthage](https://github.com/Carthage/Carthage)

Add `github "ankurp/Dollar" ~> 5.0.0` to your `Cartfile` and run `carthage update`. If unfamiliar with Carthage then checkout their [Getting Started section](https://github.com/Carthage/Carthage#getting-started) or this [sample app](https://github.com/ankurp/DollarCarthageApp)
Add `github "ankurp/Dollar" ~> 5.1.0` to your `Cartfile` and run `carthage update`. If unfamiliar with Carthage then checkout their [Getting Started section](https://github.com/Carthage/Carthage#getting-started) or this [sample app](https://github.com/ankurp/DollarCarthageApp)

## Using [cocoapods](http://cocoapods.org/) version 0.36.x or greater

Expand Down Expand Up @@ -813,11 +813,19 @@ isDone
Creates a function that, when called, invokes func with the binding of arguments provided.

```swift
let helloWorldFunc = $.bind({(T...) in
var helloWorldFunc = $.bind({(T...) in
T[0] + " " + T[1] + " from " + T[2]
}, "Hello", "World", "Swift")
helloWorldFunc()
=> "Hello World from Swift"

helloWorldFunc = $.bind({ $0 + " World" }, "Hello")
helloWorldFunc()
=> "Hello World"

helloWorldFunc = $.bind({ $0 + $1 + " World" }, "Hello ", "Great")
helloWorldFunc()
=> "Hello Great World"
```

### compose - `$.compose`
Expand Down

0 comments on commit 67e9d0a

Please sign in to comment.