On Sun, Sep 29, 2013 at 9:10 PM, <[email protected]> wrote: > + isPrelude :: ImportDecl Name -> Bool > + isPrelude = (== "Prelude") . moduleNameString . unLoc . ideclName
Can't you just do unLoc (ideclName imp) == pRELUDE_NAME here?
_______________________________________________ ghc-devs mailing list [email protected] http://www.haskell.org/mailman/listinfo/ghc-devs
