Skip to content

docs(combine): add Haskell reference to documentation for combine functions #126

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

hoc081098
Copy link

@hoc081098 hoc081098 commented Apr 29, 2025

This pull request adds new references to Haskell's Data.Traversable.sequenceA function in the documentation comments of two methods in the kotlin-result library, enhancing the documentation with additional context for users familiar with functional programming concepts.

Data.Traversable.sequenceA

sequenceA :: Applicative f => t (f a) -> f (t a)

Evaluate each action in the structure from left to right, and and collect the results. For a version that ignores the results see sequenceA_.

  • t: List<_> / Iterable<_>
  • f: Result<_, E>

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.

1 participant