Skip to content

Conversation

7h3kk1d
Copy link
Member

@7h3kk1d 7h3kk1d commented Jun 10, 2022

I'll split this up into multiple PRs. Mostly creating this draft as a springboard for discussion.

Topics addressed:

  • Override checkedApply on SemigroupFactory to help resolve checkedApply/apply incoherence
  • Introduced a ShortCircuitingSemigroup with the hope of making short circuiting an easier pattern to add to semigroups/monoids in the future.
    • Does not address foldRight.
    • I'm not sure this is a good idea or if there's a better way to incorporate laziness
  • Make collapse short circuit if it's underlying semigroups do

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