tokstyle-0.0.9: TokTok C code style checker
Safe HaskellNone
LanguageHaskell2010

Tokstyle.Common

Synopsis

Documentation

functionName :: Show a => Node (Lexeme a) -> Maybe a Source #

Extract the name of a function, possibly inside an attribute node.

Non-function nodes result in Nothing.

(>+>) :: Monad m => (t -> m ()) -> (t -> m ()) -> t -> m () Source #