-- Hoogle documentation, generated by Haddock
-- See Hoogle, http://www.haskell.org/hoogle/
-- | Simple parser parser from Haskell to TemplateHaskell expressions
--
-- This package defines a simple parser for a subset of Haskell
-- expressions and patterns to the TemplateHaskell AST.
--
-- It provides a very lightweight alternative to the functions
-- parseExp and parsePat from
-- http://hackage.haskell.org/package/haskell-src-meta.
--
-- The following expressions are currently supported:
--
--
-- - Variables
-- - Integer and string literals
-- - Prefix function application
-- - Lists and tuples
--
--
-- The following patterns are currently supported:
--
--
@package haskell-exp-parser
@version 0.1.3
-- | Simple parser for a subset of Haskell expressions and patterns to the
-- TemplateHaskell AST
--
-- The following expressions are currently supported:
--
--
-- - Variables
-- - Integer and string literals
-- - Prefix function application
-- - Lists and tuples
--
--
-- The following patterns are currently supported:
--
--
module Language.Haskell.ParseExp
-- | Parse a Haskell expression (the supported subset is given above)
parseExp :: String -> Either String Exp
-- | Parse a Haskell pattern (the supported subset is given above)
parsePat :: String -> Either String Pat