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

Fix IO parallelism #587

Closed truizlop closed 4 years ago

truizlop commented 4 years ago

Related issues

Introducing trampolining broke the parallelism in IO, as execution is sequenced in the suspension induced by the Trampoline.

Goal

This PR brings back the parallelism to race, parMap2 and parMap3 implementations in IO.