Closed int-index closed 10 years ago
I investigated swtching to the dlist
library and it was as simple as a few renames -- works perfectly fine (passes all the tests). And it's a safe dependency to introduce, as the package is well maintained. If you agree with this idea, I am ready to open another pull request.
@int-index Thanks! Switching to using the dlist
package sounds like a good idea, so please do go ahead with another PR for that.
As you might be well aware, the Applicative-Monad Proposal is on its second stage, and GHC 7.8 issues a warning if a Monad isn't also an Applicative. Such instances will break in GHC 7.10. So I added those instances where needed, and fixed one deprecated import as well.
A problem that remains is a future name clash:
We can either rename
join
toappend
(as in thedlist
package), or even switch to usingdlist
.