[commit: ghc] master: Move liftData and use it as a default definition for Lift. (08558a3)

git at git.haskell.org git at git.haskell.org
Wed Jun 3 17:39:08 UTC 2015


Repository : ssh://git@git.haskell.org/ghc

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/08558a30c17572453e0f8bcbb483a8cb7f00eafa/ghc

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

commit 08558a30c17572453e0f8bcbb483a8cb7f00eafa
Author: Edward Z. Yang <ezyang at cs.stanford.edu>
Date:   Thu May 28 19:04:37 2015 -0700

    Move liftData and use it as a default definition for Lift.
    
    Summary:
    This should make it a lot easier to define Lift instances.
    See https://mail.haskell.org/pipermail/libraries/2015-May/025728.html
    for motivating discussion.
    
    I needed to muck out some code from Quote into Syntax to get
    the definition in the right place; but I would argue that code
    never really belonged in Quote to begin with.
    
    Signed-off-by: Edward Z. Yang <ezyang at cs.stanford.edu>
    
    Test Plan: validate
    
    Reviewers: austin, ekmett, goldfire
    
    Subscribers: bgamari, thomie
    
    Differential Revision: https://phabricator.haskell.org/D923


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

08558a30c17572453e0f8bcbb483a8cb7f00eafa
 docs/users_guide/7.12.1-notes.xml                  |  12 +++
 .../template-haskell/Language/Haskell/TH/Quote.hs  |  77 +---------------
 .../template-haskell/Language/Haskell/TH/Syntax.hs | 100 ++++++++++++++++++++-
 3 files changed, 113 insertions(+), 76 deletions(-)

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

    git diff-tree --root --patch-with-stat --no-color --find-copies-harder --ignore-space-at-eol --cc 08558a30c17572453e0f8bcbb483a8cb7f00eafa


More information about the ghc-commits mailing list