haskell-tools-backend-ghc-0.8.0.0: Creating the Haskell-Tools AST from GHC's representations

Safe HaskellNone
LanguageHaskell2010

Language.Haskell.Tools.AST.FromGHC.Binds

Description

Functions that convert the value and function definitions of the GHC AST to corresponding elements in the Haskell-tools AST representation

Documentation

trfMatch :: TransformName n r => n -> Located (Match n (LHsExpr n)) -> Trf (Ann UMatch (Dom r) RangeStage) #

trfMatch' :: TransformName n r => n -> Match n (LHsExpr n) -> Trf (UMatch (Dom r) RangeStage) #

trfMatchLhs :: TransformName n r => n -> MatchFixity n -> [LPat n] -> Trf (Ann UMatchLhs (Dom r) RangeStage) #

trfRhss :: TransformName n r => [Located (GRHS n (LHsExpr n))] -> Trf (Ann URhs (Dom r) RangeStage) #