arrow-kt / arrow-core

Λrrow Core is part of Λrrow, a functional companion to Kotlin's Standard Library
http://arrow-kt.io
Other
81 stars 30 forks source link

CU- d70mwa Unify `bind()` syntax #342

Closed nomisRev closed 3 years ago

nomisRev commented 3 years ago

This PR removes the newly added invoke (before it was released), and deprecates not alongside the deprecation of component1 to unify the computations block API with a single API.

A poll was taken on KotlinLang to decide between APIs. bind was chosen with 62% of the vote. Alternatives could be implemented locally in a project by adding an extension on the DSL receiver.