chatty-0.5.3.1: Some monad transformers and typeclasses to simplify I/O on a transformer stack.

Safe HaskellSafe-Inferred

Text.Chatty.Expansion

Description

Provides generic string expansion

Synopsis

Documentation

class Monad e => MonadExpand e whereSource

Typeclass for all string-expanding monads.

Methods

expand :: String -> e StringSource

Expand the given string.

withExpansion :: Monad m => NullExpanderT m a -> m aSource