Add static flag -fsimple-list-literals
authorsimonpj@microsoft.com <unknown>
Fri, 5 Dec 2008 10:50:02 +0000 (10:50 +0000)
committersimonpj@microsoft.com <unknown>
Fri, 5 Dec 2008 10:50:02 +0000 (10:50 +0000)
commit6f547477aba779646caa7043d65825c59f10256b
tree70e96ba9b4251a0fb67eb45613c18d457cb2c3b2
parentd56631cb57511f95eece9e61972e142a0d9e812c
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.
compiler/deSugar/DsExpr.lhs
compiler/main/StaticFlagParser.hs
compiler/main/StaticFlags.hs