Implement typechecker plugins
authorAdam Gundry <adam@well-typed.com>
Thu, 20 Nov 2014 13:32:26 +0000 (13:32 +0000)
committerAdam Gundry <adam@well-typed.com>
Thu, 20 Nov 2014 16:54:44 +0000 (16:54 +0000)
commit64cb49686457c233d0f58e5cfa324ad28a5453a3
tree7037ca2fa8ad2702b1f2e73b7f3598a790afded4
parentcce6318e8fdb086a8501a0c81ae1ee02eed67835
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
17 files changed:
compiler/ghc.cabal.in
compiler/main/DynamicLoading.hs
compiler/main/GhcPlugins.hs
compiler/main/Plugins.hs [new file with mode: 0644]
compiler/prelude/PrelNames.lhs
compiler/simplCore/CoreMonad.lhs
compiler/simplCore/SimplCore.lhs
compiler/typecheck/TcInteract.lhs
compiler/typecheck/TcPluginM.hs [new file with mode: 0644]
compiler/typecheck/TcRnDriver.lhs
compiler/typecheck/TcRnMonad.lhs
compiler/typecheck/TcRnTypes.lhs
compiler/typecheck/TcRnTypes.lhs-boot [deleted file]
compiler/typecheck/TcSMonad.lhs
compiler/typecheck/TcTypeNats.hs
docs/users_guide/7.10.1-notes.xml
docs/users_guide/extending_ghc.xml