Skip to content

Monoid instance for Exp Ordering#561

Merged
tomsmeding merged 1 commit intoAccelerateHS:masterfrom
Tjalle-S:monoid-instances
Jan 30, 2026
Merged

Monoid instance for Exp Ordering#561
tomsmeding merged 1 commit intoAccelerateHS:masterfrom
Tjalle-S:monoid-instances

Conversation

@Tjalle-S
Copy link
Contributor

Description
Adds a Semigroup and Monoid instance for Exp Ordering.

Motivation and context
This follows base, and allows sorting on multiple criteria (in combination with the sorting algorithms in containers-accelerate.

How has this been tested?
No additional tests, but the existing tests pass.

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist

  • My code follows the code style of this project
  • My change requires a change to the documentation
  • I have updated the documentation accordingly
  • I have added tests to cover my changes
  • All new and existing tests passed

@tomsmeding tomsmeding merged commit c22387e into AccelerateHS:master Jan 30, 2026
39 checks passed
@tomsmeding
Copy link
Member

Thank you!

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