Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
type DollarMonad dom = StateT [SrcSpan] (LocalRefactor dom) Source #
type DollarDomain dom = (HasImportInfo dom, HasModuleInfo dom, HasFixityInfo dom, HasNameInfo dom) Source #
dollarApp :: DollarDomain dom => RealSrcSpan -> LocalRefactoring dom Source #
replaceExpr :: DollarDomain dom => Expr dom -> [SrcSpan] -> DollarMonad dom (Expr dom) Source #
parenDollar :: Bool -> Expr dom -> DollarMonad dom (Expr dom) Source #
dollarName :: Name Source #