How can we prove that the continuation monad has no valid instance of MonadFix
?
相关问题
- Understanding do notation for simple Reader monad:
- Making Custom Instances of PersistBackend
- Haskell: What is the differrence between `Num [a]
- applying a list to an entered function to check fo
- Haskell split a list into two by a pivot value
相关文章
- Is it possible to write pattern-matched functions
- Haskell underscore vs. explicit variable
- Top-level expression evaluation at compile time
- Stuck in the State Monad
- foldr vs foldr1 usage in Haskell
- List of checkboxes with digestive-functors
- How does this list comprehension over the inits of
- Replacing => in place of -> in function type signa
Well actually, it's not that there can't be a
MonadFix
instance, just that the library's type is a bit too constrained. If you defineContT
over all possibler
s, then not only doesMonadFix
become possible, but all instances up toMonad
require nothing of the underlying functor :