Safe Haskell | Safe |
---|---|
Language | Haskell2010 |
Text.Chatty.Expansion
Description
Provides generic string expansion
- class Monad e => ChExpand e where
- newtype NullExpanderT m a = NullExpander {
- runNullExpanderT :: m a
- withExpansion :: Monad m => NullExpanderT m a -> m a
Documentation
class Monad e => ChExpand e where Source #
Typeclass for all string-expanding monads.
Minimal complete definition
newtype NullExpanderT m a Source #
Constructors
NullExpander | |
Fields
|
Instances
MonadTrans NullExpanderT Source # | |
Monad m => Monad (NullExpanderT m) Source # | |
Functor m => Functor (NullExpanderT m) Source # | |
(Functor m, Monad m) => Applicative (NullExpanderT m) Source # | |
MonadIO m => MonadIO (NullExpanderT m) Source # | |
Monad m => ChExpand (NullExpanderT m) Source # | |
withExpansion :: Monad m => NullExpanderT m a -> m a Source #