Hoogle Search

Within Stackage Nightly 2017-04-21 (ghc-8.0.2)

  1. package haskell-tools-ast

    Haskell AST for efficient tooling A representation of a Haskell Syntax tree that contain source-related and semantic annotations. These annotations help developer tools to work with the defined program. The source information enables refactoring and program transformation tools to change the source code without losing the original format (layout, comments) of the source. Semantic information helps analyzing the program. The representation is different from the GHC's syntax tree. It contains information from all representations in GHC (different version of syntax trees, lexical and module-level information). The module is split up to put the representation of different language elements into different modules. Additionally, it contains the representation of semantic and source annotations, helper functions and generated instances for the representation of language elements. Because langauge elements may refer each other (there can be a pattern inside an expression in case of a pattern match and an expression inside a pattern if view patterns are enabled), we use hs-boot files to break up dependency cycles.

  2. package haskell-tools-prettyprint

    Pretty printing of Haskell-Tools AST Converts the Haskell-Tools AST to text. Prepares the AST for this conversion. If the AST was created from the GHC AST this pretty printing will result in the original source code. Generated AST parts will get the default formatting. Works using the source annotations that are present in the AST. Creates a rose tree first to simplify the conversion.

  3. package haskell-tools-refactor

    Refactoring Tool for Haskell Contains a set of refactorings based on the Haskell-Tools framework to easily transform a Haskell program. For the descriptions of the implemented refactorings, see the homepage.

  4. package haskell-tools-backend-ghc

    Creating the Haskell-Tools AST from GHC's representations This package collects information from various representations of a Haskell program in GHC. Basically GHC provides us with the parsed, the renamed and the type checked representation of the program, if it was type correct. Each version contains different information. For example, the renamed AST contains the unique names of the definitions, however, template haskell splices are already resolved and thus missing from that version of the AST. To get the final representation we perform a transformation on the parsed and renamed representation, and then use the type checked one to look up the types of the names. The whole transformation is defined in the Modules module. Other modules define the functions that convert elements of the GHC AST to our AST.

  5. package haskell-tools-rewrite

    Facilities for generating new parts of the Haskell-Tools AST Contains utility functions to generate parts of the Haskell-Tools AST. Generates these elements to be compatible with the source annotations that are already present on the AST. The package is divided into modules based on which language elements can the given module generate. This packages should be used during the transformations to generate parts of the new AST.

  6. package haskell-tools-cli

    Command-line frontend for Haskell-tools Refact Command-line frontend for Haskell-tools Refact. Not meant as a final product, only for demonstration purposes.

  7. package haskell-tools-daemon

    Background process for Haskell-tools refactor that editors can connect to. Background process for Haskell-tools refactor that editors can connect to.

  8. package haskell-tools-debug

    Debugging Tools for Haskell-tools Debugging Tools for Haskell-tools

  9. package haskell-tools-demo

    A web-based demo for Haskell-tools Refactor. Allows websocket clients to connect and performs refactorings on demand. The clients maintain a continous connection with the server, sending changes in the source files. When a refactor request is received, it performs the changes and sends the modified source files to the client.

Page 1 of 1