preprocessor-tools-1.0.1: A framework for extending Haskell's syntax via quick-and-dirty preprocessors

Safe HaskellNone
LanguageHaskell98

Language.Haskell.Preprocessor.Util

Documentation

parens :: [Ast] -> Ast #

noParens :: [Ast] -> Ast #

splitVal :: String -> [Ast] -> Maybe ([Ast], Ast, [Ast]) #

splitTag :: Tag -> [Ast] -> Maybe ([Ast], Ast, [Ast]) #

splitSemis :: [Ast] -> [[Ast]] #

splitAllBy :: (Ast -> Bool) -> [Ast] -> [[Ast]] #

splitBy :: (Ast -> Bool) -> [Ast] -> Maybe ([Ast], Ast, [Ast]) #

valIs :: String -> Ast -> Bool #

tagIs :: Tag -> Ast -> Bool #