haskell-tools-refactor-0.2.0.0: Refactoring Tool for Haskell

Safe HaskellNone
LanguageHaskell2010

Language.Haskell.Tools.Refactor.GenerateTypeSignature

Synopsis

Documentation

generateTypeSignature Source #

Arguments

:: GenerateSignatureDomain dom 
=> Simple Traversal (Ann' Module dom) (AnnList' Decl dom)

Access for a top-level definition if it is the selected definition

-> Simple Traversal (Ann' Module dom) (AnnList' LocalBind dom)

Access for a definition list if it contains the selected definition

-> (forall d. (Show (d dom SrcTemplateStage), Data (d dom SrcTemplateStage), Typeable d, BindingElem d) => AnnList' d dom -> Maybe (Ann' ValueBind dom))

Selector for either local or top-level declaration in the definition list

-> LocalRefactoring dom 

Perform the refactoring on either local or top-level definition