haskell-tools-builtin-refactorings-1.1.1.0: Refactoring Tool for Haskell

Safe HaskellNone
LanguageHaskell2010

Language.Haskell.Tools.Refactor.Builtin.GenerateTypeSignature

Synopsis

Documentation

generateTypeSignature Source #

Arguments

:: Simple Traversal Module DeclList

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

-> Simple Traversal Module LocalBindList

Access for a definition list if it contains the selected definition

-> (forall d. BindingElem d => AnnList d -> Maybe ValueBind)

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

-> LocalRefactoring 

Perform the refactoring on either local or top-level definition