[commit: ghc] : Add full support for declaration splices. (82a7ab1)

Geoffrey Mainland gmainlan at microsoft.com
Thu Jun 27 11:41:23 CEST 2013


Repository : http://darcs.haskell.org/ghc.git/

On branch  : 

https://github.com/ghc/ghc/commit/82a7ab1c8d7b1f44c1d3ec1c64b450ec6c4a8ba4

>---------------------------------------------------------------

commit 82a7ab1c8d7b1f44c1d3ec1c64b450ec6c4a8ba4
Author: Geoffrey Mainland <mainland at apeiron.net>
Date:   Mon May 20 11:37:59 2013 +0100

    Add full support for declaration splices.
    
    Since declaration splices are now untyped, they can be used anywhere a
    declaration is valid, including in declaration brackets.

 compiler/hsSyn/HsDecls.lhs           | 16 +++++++----
 compiler/hsSyn/HsExpr.lhs            |  2 ++
 compiler/parser/Parser.y.pp          | 35 ++++++++++++++--------
 compiler/parser/RdrHsSyn.lhs         | 12 ++++----
 compiler/rename/RnSource.lhs         | 17 +++++++----
 compiler/rename/RnSplice.lhs         | 56 ++++++++++++++++++++++++++++++------
 compiler/rename/RnSplice.lhs-boot    |  2 ++
 compiler/typecheck/TcHsSyn.lhs       |  3 ++
 compiler/typecheck/TcRnDriver.lhs    |  9 +++---
 compiler/typecheck/TcSplice.lhs      | 12 ++++++--
 compiler/typecheck/TcSplice.lhs-boot |  2 +-
 11 files changed, 122 insertions(+), 44 deletions(-)


Diff suppressed because of size. To see it, use:

    git show 82a7ab1c8d7b1f44c1d3ec1c64b450ec6c4a8ba4



More information about the ghc-commits mailing list