Language.Haskell.GhcMod.Options.Help

ghc-mod-5.6.0.0: Happy Haskell Programming

Safe Haskell | None
Language | Haskell2010

Language.Haskell.GhcMod.Options.Help

# Documentation

newtype MyDocM s a #

Constructors

MyDoc |
Fields unwrapState :: State s a

Instances

MonadState s (MyDocM s) # |
Methods get :: MyDocM s s # put :: s -> MyDocM s () # state :: (s -> (a, s)) -> MyDocM s a #
Monad (MyDocM s) # |
Methods (>>=) :: MyDocM s a -> (a -> MyDocM s b) -> MyDocM s b # (>>) :: MyDocM s a -> MyDocM s b -> MyDocM s b # return :: a -> MyDocM s a # fail :: String -> MyDocM s a #
Functor (MyDocM s) # |
Methods fmap :: (a -> b) -> MyDocM s a -> MyDocM s b # (<$) :: a -> MyDocM s b -> MyDocM s a #
Applicative (MyDocM s) # |
Methods pure :: a -> MyDocM s a # (<*>) :: MyDocM s (a -> b) -> MyDocM s a -> MyDocM s b # (*>) :: MyDocM s a -> MyDocM s b -> MyDocM s b # (<*) :: MyDocM s a -> MyDocM s b -> MyDocM s a #
IsString (MyDocM (Maybe Doc) a) # |
Methods fromString :: String -> MyDocM (Maybe Doc) a #
Monoid (MyDocM (Maybe Doc) ()) # |
Methods mempty :: MyDocM (Maybe Doc) () # mappend :: MyDocM (Maybe Doc) () -> MyDocM (Maybe Doc) () -> MyDocM (Maybe Doc) () # mconcat :: [MyDocM (Maybe Doc) ()] -> MyDocM (Maybe Doc) () #

type MyDoc = MyDocM (Maybe Doc) () #

para :: String -> Doc #

append :: Doc -> MyDocM (Maybe Doc) a #

(\\) :: MyDoc -> MyDoc -> MyDoc infixr 7 #

doc :: MyDoc -> Doc #

help' :: MyDoc -> Mod f a #

desc :: MyDoc -> InfoMod a #

code :: MyDoc -> MyDoc #

progDesc' :: MyDoc -> InfoMod a #

indent :: Int -> MyDoc -> MyDoc #

int' :: Int -> MyDoc #

para' :: String -> MyDoc #