Skip to content
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

CU-fb6x32 Clean up Arrow Syntax based on API Review #2330

Merged
merged 22 commits into from Mar 22, 2021

Conversation

nomisRev
Copy link
Member

@nomisRev nomisRev commented Mar 17, 2021

  • Remove Ior.unit
  • Remove Validated.s
  • Remove SetKZip instance
  • Remove foldMapA
  • Remove ifM
  • Remove zipEval
  • Remove selectM
  • Remove fproduct/tupleLeft/tupleRight/mproduct
  • ap/apEval
  • Deprecate tailRecM
  • Update deprecations AndThen

@nomisRev nomisRev requested a review from a team March 17, 2021 15:46
@franciscodr
Copy link
Collaborator

@nomisRev nomisRev changed the title Apply API review comments CU-fb6x32 Clean up Arrow Syntax based on API Review Mar 18, 2021
Copy link
Member

@raulraja raulraja left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@nomisRev looking great! thanks 🙏

nomisRev and others added 8 commits March 19, 2021 16:03
Co-authored-by: Raúl Raja Martínez <raulraja@gmail.com>
…ns/ior/apply/IorApply.kt

Co-authored-by: Raúl Raja Martínez <raulraja@gmail.com>
…ns/ior/monad/IorMonad.kt

Co-authored-by: Raúl Raja Martínez <raulraja@gmail.com>
…ns/ior/monad/IorMonad.kt

Co-authored-by: Raúl Raja Martínez <raulraja@gmail.com>
…ns/ior/monad/IorMonad.kt

Co-authored-by: Raúl Raja Martínez <raulraja@gmail.com>
…ow-kt/arrow into cu-fv6x32-clean-up-arrow-core-review
@nomisRev nomisRev marked this pull request as ready for review March 22, 2021 10:42
@nomisRev nomisRev requested a review from a team March 22, 2021 10:42
Copy link
Member

@raulraja raulraja left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @nomisRev 🙏

inline fun <E, A, B> Iterable<A>.traverseEither(f: (A) -> Either<E, B>): Either<E, List<B>> =
foldRight<A, Either<E, List<B>>>(emptyList<B>().right()) { a, acc ->
f(a).ap(acc.map { bs -> { b: B -> listOf(b) + bs } })
when (val res = f(a)) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🙌🏾

Copy link
Member

@i-walker i-walker left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

my longest review of the week 😄
Thanks for the work @nomisRev 🙌🏾

@nomisRev nomisRev merged commit f3b99cd into master Mar 22, 2021
@nomisRev nomisRev deleted the cu-fv6x32-clean-up-arrow-core-review branch March 22, 2021 23:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants