Closed treeowl closed 9 years ago
Currently,
lowerCodensity :: Monad m => Codensity m a -> m a lowerCodensity a = runCodensity a return
We could AMP that up to
lowerCodensity :: Applicative f => Codensity f a -> f a lowerCodensity a = runCodensity a pure
Whether that's useful or not is another question, but it's possible.
Happy to take a patch for it. It doesn't add much but it is correct.
See PR #16
Merged
Currently,
We could AMP that up to
Whether that's useful or not is another question, but it's possible.