Implement lookupGlobal in TcEnv, and use it
authorSimon Peyton Jones <simonpj@microsoft.com>
Fri, 20 Mar 2015 12:38:42 +0000 (12:38 +0000)
committerBen Gamari <ben@smart-cactus.org>
Wed, 26 Aug 2015 18:27:40 +0000 (20:27 +0200)
commit816d48a9b4d1607d1eaf6dfa396d64f2d6c1599c
treeed579e328a1eacd6588860f9468828513ae23dbd
parent0f3335fe45229c5790529e5fc7484c77bdae7668
Implement lookupGlobal in TcEnv, and use it

This localises the (revolting) initTcForLookup function, exposing
instead the more civilised interface for lookupGlobal
compiler/coreSyn/CorePrep.hs
compiler/simplCore/CoreMonad.hs
compiler/typecheck/TcEnv.hs