preprocessor-tools-0.1: A framework for extending Haskell's syntax via quick-and-dirty preprocessors
Language.Haskell.Preprocessor
module Language.Haskell.Preprocessor.Ast
module Language.Haskell.Preprocessor.Parser
module Language.Haskell.Preprocessor.Printer
module Language.Haskell.Preprocessor.SynSpec
module Language.Haskell.Preprocessor.Util
module Data.Monoid
class Locatable a whereSource
Methods
getLoc :: a -> LocSource
setLoc :: a -> Loc -> aSource
Instances
cloneLoc :: Locatable a => a -> a -> aSource
scrub :: Data a => a -> aSource
data Extension Source
Constructors
Fields
base :: ExtensionSource
transform :: Extension -> [String] -> IO ()Source
hLoad :: SynSpec -> String -> Handle -> IO (Either Error [Ast])Source
fileLoad :: SynSpec -> String -> FilePath -> IO (Either Error [Ast])Source
stdinLoad :: SynSpec -> IO (Either Error [Ast])Source
hDump :: SynSpec -> Handle -> [Ast] -> IO ()Source
fileDump :: SynSpec -> String -> [Ast] -> IO ()Source
stdoutDump :: SynSpec -> [Ast] -> IO ()Source
stringDump :: SynSpec -> [Ast] -> StringSource