Failed to declare MonadPlus interface constrained on Monad
问题 I'm trying to declare MonadPlus interface like that: module NanoParsec.Plus %access public export interface Monad m => MonadPlus m where zero : m a plus : m a -> m a -> m a But have an error: | 5 | interface Monad m => MonadPlus m where | ~~~~~~~ When checking type of constructor of NanoParsec.Plus.MonadPlus#Monad m: When checking argument m to type constructor Prelude.Monad.Monad: Type mismatch between Type (Type of m) and Type -> Type (Expected type) What I'm doing wrong? How to fix this?