diff options
| author | Adam Gundry <adam@well-typed.com> | 2014-11-20 13:32:26 +0000 |
|---|---|---|
| committer | Adam Gundry <adam@well-typed.com> | 2014-11-20 16:54:44 +0000 |
| commit | 64cb49686457c233d0f58e5cfa324ad28a5453a3 (patch) | |
| tree | 7037ca2fa8ad2702b1f2e73b7f3598a790afded4 /compiler/main/GhcPlugins.hs | |
| parent | cce6318e8fdb086a8501a0c81ae1ee02eed67835 (diff) | |
| download | haskell-64cb49686457c233d0f58e5cfa324ad28a5453a3.tar.gz | |
Implement typechecker plugins
Summary:
See https://ghc.haskell.org/trac/ghc/wiki/Plugins/TypeChecker
This is based on work by Iavor Diatchki and Eric Seidel.
Test Plan: validate
Reviewers: simonpj, austin
Reviewed By: austin
Subscribers: gridaphobe, yav, thomie, carter
Differential Revision: https://phabricator.haskell.org/D489
Conflicts:
docs/users_guide/7.10.1-notes.xml
Diffstat (limited to 'compiler/main/GhcPlugins.hs')
| -rw-r--r-- | compiler/main/GhcPlugins.hs | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/compiler/main/GhcPlugins.hs b/compiler/main/GhcPlugins.hs index 0fc87f0fd0..2b7746c6ce 100644 --- a/compiler/main/GhcPlugins.hs +++ b/compiler/main/GhcPlugins.hs @@ -8,9 +8,9 @@ -- Particularly interesting modules for plugin writers include -- "CoreSyn" and "CoreMonad". module GhcPlugins( - module CoreMonad, + module Plugins, module RdrName, module OccName, module Name, module Var, module Id, module IdInfo, - module CoreSyn, module Literal, module DataCon, + module CoreMonad, module CoreSyn, module Literal, module DataCon, module CoreUtils, module MkCore, module CoreFVs, module CoreSubst, module Rules, module Annotations, module DynFlags, module Packages, @@ -23,7 +23,7 @@ module GhcPlugins( ) where -- Plugin stuff itself -import CoreMonad +import Plugins -- Variable naming import RdrName @@ -34,6 +34,7 @@ import Id hiding ( lazySetIdInfo, setIdExported, setIdNotExported {- all import IdInfo -- Core +import CoreMonad import CoreSyn import Literal import DataCon |
