Skip to content

Add Semigroup Superclass#1

Open
Tarmean wants to merge 1 commit intosebfisch:masterfrom
Tarmean:master
Open

Add Semigroup Superclass#1
Tarmean wants to merge 1 commit intosebfisch:masterfrom
Tarmean:master

Conversation

@Tarmean
Copy link
Copy Markdown

@Tarmean Tarmean commented Nov 30, 2021

The commit adds the Semigroup Superclass to add compatibility for GHC-8.4 and newer. This breaks compatibility with 8.2 and older. I don't think many people still use those, but I could add CPP ifdefs if necessary.

This is the only level-monad implementation I could find on Hackage thanks for writing this!

@asarkar
Copy link
Copy Markdown

asarkar commented Dec 28, 2023

@Tarmean Do you've access to the papers this monad was built on?

@Tarmean
Copy link
Copy Markdown
Author

Tarmean commented Feb 19, 2024

Sorry for the late answer, I do not know what this implementation is based on. The paper Algebras for weighted search discusses a more efficient implementation in section 3, which might be worth a look. But I don't think that bfs monad approach is on hackage https://doisinkidney.com/pdfs/algebras-for-weighted-search.pdf

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