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

Safe HaskellNone
LanguageHaskell2010

Language.Haskell.Tools.Refactor.Representation

Contents

Description

Representation of modules, their collections, refactoring changes and exceptions.

Synopsis

Documentation

type UnnamedModule = Ann UModule IdDom SrcTemplateStage Source #

A type for the input and result of refactoring a module

type ModuleDom = (SourceFileKey, UnnamedModule) Source #

The name of the module and the AST

moduleSourceFile :: String -> FilePath Source #

Transforms module name to a .hs file name relative to the source root directory.

sourceFileModule :: FilePath -> String Source #

Transforms a source root relative file name into module name.

Orphan instances