Skip to content

Releases: facile-it/FunctionalKit

0.24.0 Makes Sendable callbacks in Future

09 Oct 10:29
37df12e
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 0.23.2...0.24.0

Remove unused playground file

01 Feb 16:25
e5fe071
Compare
Choose a tag to compare
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

12 Jan 10:16
98b640f
Compare
Choose a tag to compare
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

28 Jan 07:57
e465a47
Compare
Choose a tag to compare
Merge pull request #30 from facile-it/update_dependencies

Update dependencies

Recommended settings for Swift 5.1 and Xcode 11

30 Sep 15:56
Compare
Choose a tag to compare

Update to recommended settings for Swift 5.1 and Xcode 11

Replace custom Result with Swift Result

26 Jul 12:58
2835692
Compare
Choose a tag to compare

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 and mapTT have the Result's generic parameters swapped.

Public `Coreader.enviroment`

27 May 12:25
Compare
Choose a tag to compare
0.20.1

`Coreader.environment` must be `public`

Fix Result.zip

02 May 09:38
c7fecaa
Compare
Choose a tag to compare
Merge pull request #26 from facile-it/IOS-847

Fix Result.zip

0.19.0

19 Apr 09:27
e405420
Compare
Choose a tag to compare

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

01 Apr 10:00
2e787df
Compare
Choose a tag to compare

Starting from now, minimum Swift version is 5.