module Language.Haskell.Exts.Simple (
module Language.Haskell.Exts.Simple.Syntax,
module Language.Haskell.Exts.Simple.Build,
module Language.Haskell.Exts.Simple.Pretty,
module Language.Haskell.Exts.Simple.Fixity,
module Language.Haskell.Exts.Simple.Extension,
module Language.Haskell.Exts.Simple.Parser,
module Language.Haskell.Exts.SrcLoc,
module Language.Haskell.Exts.Simple
) where
import qualified Language.Haskell.Exts as H
import Language.Haskell.Exts (
readExtensions,
)
import Language.Haskell.Exts.Simple.Syntax
import Language.Haskell.Exts.Simple.Build
import Language.Haskell.Exts.Simple.Pretty
import Language.Haskell.Exts.Simple.Fixity
import Language.Haskell.Exts.Simple.Extension
import Language.Haskell.Exts.Simple.Parser
import Language.Haskell.Exts.SrcLoc
parseFile :: FilePath -> IO (ParseResult Module)
parseFile = fmap (fmap (fmap (const ()))) . H.parseFile
parseFileWithExts :: [Extension] -> FilePath -> IO (ParseResult Module)
parseFileWithExts e = fmap (fmap (fmap (const ()))) . H.parseFileWithExts e
parseFileWithMode :: ParseMode -> FilePath -> IO (ParseResult Module)
parseFileWithMode m = fmap (fmap (fmap (const ()))) . H.parseFileWithMode m
parseFileContents :: String -> ParseResult Module
parseFileContents = fmap (fmap (const ())) . H.parseFileContents
parseFileContentsWithExts :: [Extension] -> String -> ParseResult Module
parseFileContentsWithExts e =
fmap (fmap (const ())) . H.parseFileContentsWithExts e
parseFileContentsWithMode :: ParseMode -> String -> ParseResult Module
parseFileContentsWithMode m =
fmap (fmap (const ())) . H.parseFileContentsWithMode m