Safe Haskell | None |
---|---|
Language | Haskell2010 |
- extractBinding' :: ExtractBindingDomain dom => RealSrcSpan -> String -> LocalRefactoring dom
- type ExtractBindingDomain dom = (HasNameInfo dom, HasDefiningInfo dom, HasScopeInfo dom)
- tryItOut :: String -> String -> String -> IO ()
Documentation
extractBinding' :: ExtractBindingDomain dom => RealSrcSpan -> String -> LocalRefactoring dom Source #
type ExtractBindingDomain dom = (HasNameInfo dom, HasDefiningInfo dom, HasScopeInfo dom) Source #
We need name information to identify bindings, and scope information to check which entities must be directly passed as parameters.