patch applied (ghc): Add static flag -fsimple-list-literals

Simon Peyton Jones simonpj at microsoft.com
Fri Dec 5 12:01:36 EST 2008


Fri Dec  5 02:50:02 PST 2008  simonpj at microsoft.com
  * Add static flag -fsimple-list-literals
  
  The new static flag -fsimple-list-literals makes ExplicitList literals
  be desugared in the straightforward way, rather than using 'build' as
  now.  See SLPJ comments with Note [Desugaring explicit lists].
  
  I don't expect this flag to be used by users (hence no docs). It's just
  there to let me try the performance effects of switching on and off.
  

    M ./compiler/deSugar/DsExpr.lhs -1 +19
    M ./compiler/main/StaticFlagParser.hs -2 +2
    M ./compiler/main/StaticFlags.hs +5

View patch online:
http://darcs.haskell.org/ghc/_darcs/patches/20081205105002-1287e-0b9b78873459086b1ec21a9c175f6b11a5bf1e9d.gz



More information about the Cvs-ghc mailing list