-
-
Notifications
You must be signed in to change notification settings - Fork 503
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Backporting from effect/* #1851
Comments
What about these. tap*
tapError* - there are |
IMO it always makes sense since you get dual APIs and also a better name (tapError vs orElseFirst) |
Does it make sense to implement |
No, there isn't a specific reason, they just don't seem very useful in the case of ReadonlyArray and Identity |
Are |
@sukovanej I think it's better to wait a little longer p.s. |
Ok. I don't have anything right now. |
How about |
Don't know if you now want to introduce |
The following features can be backported without breaking changes:
2.14
flatMap
(aka chain / chainW) add flatMap #18492.15
flatMap*
(aka chain*K / chain*KW) add more flatMap* dual functions #1862tap
(aka chainFirst / chainFirstW) add tap #1857tapError
(aka orElseFirst / orElseFirstW) add tapError #1858LazyArg
(aka Lazy) add LazyArg #18562.16
tapEither
(dual) (akachainFirstEitherK
/chainFirstEitherKW
) feat: tapEither #1864tapIO
(dual) (akachainFirstIOK
) feat: tapIO #1865as
/asUnit
feat: as and asUnit #1867tapTask
(dual) (akachainFirstTaskK
) feat: tapTask #1869mapError
(dual) (akamapLeft
) add mapError #1870mapBoth
(dual) (akabimap
) add mapBoth #1872tapReader
(dual) (akachainFirstReaderK
/chainFirstIReaderKW
) feat: tapReader #1871tapReaderEither
(dual) (akachainFirstReaderEitherK
/chainFirstEitherKW
) Add remaining tap*s #1873tapReaderIO
(dual) (akachainFirstReaderIOK
) Add remaining tap*s #1873tapReaderTask
(dual) (akachainFirstReaderTaskK
) Add remaining tap*s #1873tapTaskEither
(dual) (akachainFirstTaskEitherK
/chainFirstTaskEitherKW
) Add remaining tap*s #1873flatMapReaderTask
(dual) (akachainReaderTaskK
/chainReaderTaskKW
) Add ReaderTask, TaskEither and IO flatMaps #1874flatMapTaskEither
(dual) (akachainTaskEitherK
/chainTaskEitherKW
) Add ReaderTask, TaskEither and IO flatMaps #1874flatMapIO
(dual) (akachainIOK
) Add ReaderTask, TaskEither and IO flatMaps #1874Option.orElse
(dual) (akaalt
/altW
) Backport Option.orElse from effect/ #1868flatMapTask
(dual) (akachainTaskK
) AddflatMapTask
&flatMapReader
#1876flatMapReader
(dual) (akachainReaderK
/chainReaderKW
) AddflatMapTask
&flatMapReader
#1876flatMapReaderIO
(dual) (akachainReaderIOK
/chainReaderIOKW
) feat: flatMapReaderIO #1879flatMap*
(akachain*K
/chain*KW
) Add remainingflatMap
s #18802.17
TODO (Feel free to add a comment to this issue if you want to suggest any other backporting)
The text was updated successfully, but these errors were encountered: