Releases: robrix/Either
Releases · robrix/Either
Alternatively
1.3: Else
1.2.2: Otherwise
- [fixed] Pins transitive dependencies to compatible versions, not SHAs.
1.2.1: Or
1.2: I Love Ambiguity More Than @numist
- [new] Swift 1.2 support.
- [new]
|||
disjunction operator. - [new] iOS target for 8.0+, h/t @gfontenot!
- [new]
flatMap
method. - [new]
>>-
flat map/bind operator. - [fixed]
either
’s parameters have external labels. - [fixed] Minimum deployment target for OS X lowered to 10.9.
1.2 beta 1
- [new] Swift 1.2b2 support.
- [new]
|||
disjunction operator. - [new] iOS target for 8.0+, h/t @gfontenot!
- [new]
flatMap
method. - [new]
>>-
flat map/bind operator. - [fixed]
either
’s parameters have external labels. - [fixed] Minimum deployment target for OS X lowered to 10.9.
1.1
- [new]
left
property returning the value of left instances, or nil. - [new]
right
property returning the value of right instances, or nil. - [new]
map
method applying a function to right instances and returning a new instance. - [new]
>>-
(“flat map,” or “bind”) operator applying a function to right instances and returning the instance produced by that function.