Add isImport, isDecl, and isStmt functions to GHC API
authorRoman Shatsov <roshats@gmail.com>
Mon, 7 Dec 2015 10:24:36 +0000 (11:24 +0100)
committerBen Gamari <ben@smart-cactus.org>
Mon, 7 Dec 2015 11:15:03 +0000 (12:15 +0100)
commit2110037e270c5ea36de63e4d95a3175751338571
tree3079e261df8c29491fdb6a7049d5a3d1d4316642
parent91e985cd99e9f628e7cd01fc5dd0e6f596337446
Add isImport, isDecl, and isStmt functions to GHC API

Reviewers: austin, thomie, bgamari

Reviewed By: thomie, bgamari

Subscribers: mpickering, thomie

Differential Revision: https://phabricator.haskell.org/D1518

GHC Trac Issues: #9015
compiler/main/GHC.hs
compiler/main/InteractiveEval.hs
docs/users_guide/7.12.1-notes.rst
ghc/GhciMonad.hs
ghc/InteractiveUI.hs
testsuite/.gitignore
testsuite/tests/ghc-api/Makefile
testsuite/tests/ghc-api/T9015.hs [new file with mode: 0644]
testsuite/tests/ghc-api/T9015.stdout [new file with mode: 0644]
testsuite/tests/ghc-api/all.T