bow-swift / bow

🏹 Bow is a cross-platform library for Typed Functional Programming in Swift
https://bow-swift.io
Other
643 stars 32 forks source link

["Request"] Pair type #640

Closed ferranpujolcamins closed 3 years ago

ferranpujolcamins commented 3 years ago

Description

A simple wrapper over (A, B) that behaves like Id<B> when A is partially applied.

Modules

Bow

Breaking changes

None

ferranpujolcamins commented 3 years ago

Actually, we just need Pair<A, B> to be a wrapper over Writer<A, B>. I think it will help discoverability. At first glance it seems we don't have something like Pair.