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

Add the Last Monoid #130

Merged
merged 2 commits into from
Jul 1, 2017
Merged

Add the Last Monoid #130

merged 2 commits into from
Jul 1, 2017

Conversation

evilsoft
Copy link
Owner

image

Would be nice to have both the First and Last monoid in crocks. They are handy for all kinds of things.
This PR implements the Last monoid, which has Transformations to other Sum types (as it is a Monoid that wraps a Sum Type).

This PR does the following:

  • Provide the Last monoid
  • Provide all Transformation permutations for Last to the other valid Sum Types.

@coveralls
Copy link

coveralls commented Jun 26, 2017

Coverage Status

Coverage remained the same at 100.0% when pulling 6ec97cc on last-monoid into dc261f3 on master.

@coveralls
Copy link

coveralls commented Jun 26, 2017

Coverage Status

Coverage remained the same at 100.0% when pulling 1d0821c on last-monoid into dc261f3 on master.

@coveralls
Copy link

coveralls commented Jun 26, 2017

Coverage Status

Coverage remained the same at 100.0% when pulling 65bf173 on last-monoid into dc261f3 on master.

@coveralls
Copy link

coveralls commented Jun 26, 2017

Coverage Status

Coverage remained the same at 100.0% when pulling 71716cd on last-monoid into dc261f3 on master.

@evilsoft
Copy link
Owner Author

evilsoft commented Jul 1, 2017

image

@evilsoft evilsoft merged commit d3a32ad into master Jul 1, 2017
@evilsoft evilsoft deleted the last-monoid branch July 1, 2017 17:25
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.

2 participants