ref: 4684ef5c92371024f7a8ae867fd60ff5eb6e98f5
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 _ = []