-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: remove
IsPolynomial
class (#55)
I added the IsPolynomial typeclass as an experiment to see if we could use typeclass synthesis to keep track of QPFs whose quotient is trivial (in the sense that the QPF is isomorphic to the underlying polynomial functor). This hasn't really worked out, and as it stands the definition of IsPolynomial is broken: it takes in an [MvFunctor _] instance argument, even though it already extends MvQPF _, which was refactored to extend MvFunctor _, meaning we now have multiple instances of MvFunctor floating around. We could fix this fairly easily, but I think long-term it will be much easier to just write meta-code that optimistically keeps track of which QPFs are just PFunctors, rather than to use typeclass synthesis to recover this information after the fact. Thus, we should remove IsPolynomial alltogether
- Loading branch information
1 parent
2585928
commit ad48d8e
Showing
10 changed files
with
155 additions
and
231 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.