Releases: facile-it/FunctionalKit
Releases · facile-it/FunctionalKit
0.24.0 Makes Sendable callbacks in Future
Remove unused playground file
Merge pull request #33 from facile-it/tech/IOS-1688 IOS-1688: Remove reference to unused Playground.playground file
Quick helper comment for Effect.pure function usage
Merge pull request #32 from facile-it/tech/IOS-1505 Add a quick help comment to better explain the use cases of effect's pure function
Update dependencies
Merge pull request #30 from facile-it/update_dependencies Update dependencies
Recommended settings for Swift 5.1 and Xcode 11
Update to recommended settings for Swift 5.1 and Xcode 11
Replace custom Result with Swift Result
The Result type of library is from the Swift library.
Changelog:
- The generic types of Result are inverted
Before
public enum Result<Failure, Parameter> where Failure: Error { ... }
After (from apple documentation)
public enum Result<Success, Failure> where Failure : Error { ... }
- The method
public func run() throws -> Parameter
becames (from apple documentation)
public func get() throws -> Success
-
the
fold
method has the onSuccess and onFailure swapped. -
map and flatMap are declared in Swift's Result
-
all the
flatMapT
,flatMapTT
,flatMapTTT
,mapT
andmapTT
have the Result's generic parameters swapped.
Public `Coreader.enviroment`
0.20.1 `Coreader.environment` must be `public`
Fix Result.zip
Merge pull request #26 from facile-it/IOS-847 Fix Result.zip
0.19.0
Add Coreader
Result conform's to Magma, Semigroup and Monoid
Add to Result
- extractT
- mapExtend
- mapExtract
- flatMapExtend
- flatMapExtract
Add ifNil to Optional
Add toBool to CoproductType
Swift 5 migration
Starting from now, minimum Swift version is 5.