ref: b2c417daf11c7b5e6c369e6e4b36fb35cc18eae1
dir: /lib/Control/Monad/Fail.hs/
module Control.Monad.Fail(MonadFail(..)) where import Prelude() -- do not import Prelude import Primitives import Control.Applicative import Control.Error import Control.Monad import Data.Char import Data.List_Type class Monad m => MonadFail m where fail :: forall a . String -> m a fail = error instance MonadFail [] where fail _ = []