Repository : ssh://darcs.haskell.org//srv/darcs/ghc

On branch  : master

http://hackage.haskell.org/trac/ghc/changeset/814d864125bdd03d8bc6c3fc551f393b21942c6c

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

commit 814d864125bdd03d8bc6c3fc551f393b21942c6c
Author: Simon Peyton Jones <[email protected]>
Date:   Thu Nov 24 12:35:33 2011 +0000

    Support "phase control" for SPECIALISE pragmas
    
    This featurelet allows Trac #5237 to be fixed.
    The idea is to allow SPECIALISE pragmas to specify
    the phases in which the RULE is active, just as you can
    do with RULES themselves.
      {-# SPECIALISE [1] foo :: Int -> Int #-}
    
    This feature is so obvious that not having it is really a bug.
    There are, needless to say, a few wrinkles.  See
       Note [Activation pragmas for SPECIALISE]
    in DsBinds

 compiler/deSugar/DsBinds.lhs      |   60 +++++++++++++++++++++++++++++++++++-
 compiler/parser/Parser.y.pp       |   11 ++++---
 compiler/parser/RdrHsSyn.lhs      |    3 +-
 docs/users_guide/glasgow_exts.xml |   40 ++++++++++++++++++++++++
 4 files changed, 106 insertions(+), 8 deletions(-)


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

    git show 814d864125bdd03d8bc6c3fc551f393b21942c6c

_______________________________________________
Cvs-ghc mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cvs-ghc

Reply via email to