-- 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: -- -- -- -- The following patterns are currently supported: -- -- @package haskell-exp-parser @version 0.1.2 -- | Simple parser for a subset of Haskell expressions and patterns to the -- TemplateHaskell AST -- -- The following expressions are currently supported: -- -- -- -- 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