[GHC] #8347: Add a Strict LANGUAGE pragma

GHC ghc-devs at haskell.org
Sat Nov 14 21:37:13 UTC 2015


#8347: Add a Strict LANGUAGE pragma
-------------------------------------+-------------------------------------
        Reporter:  tibbe             |                Owner:  adamse
            Type:  feature request   |               Status:  new
        Priority:  normal            |            Milestone:  8.0.1
       Component:  Compiler          |              Version:  7.6.3
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:  DsStrictData
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):  Phab:D1033,
                                     |  Phab:D1142
-------------------------------------+-------------------------------------

Comment (by Ben Gamari <ben@…>):

 In [changeset:"46a03fbec6a02761db079d1746532565f34c340f/ghc" 46a03fb/ghc]:
 {{{
 #!CommitTicketReference repository="ghc"
 revision="46a03fbec6a02761db079d1746532565f34c340f"
 Implement the Strict language extension

 Add a new language extension `-XStrict` which turns all bindings strict
 as if the programmer had written a `!` before it. This also upgrades
 ordinary Haskell to allow recursive and polymorphic strict bindings.

 See the wiki[1] and the Note [Desugar Strict binds] in DsBinds for
 specification and implementation details.

 [1] https://ghc.haskell.org/trac/ghc/wiki/StrictPragma

 Reviewers: austin, tibbe, simonpj, bgamari

 Reviewed By: tibbe, bgamari

 Subscribers: thomie

 Differential Revision: https://phabricator.haskell.org/D1142

 GHC Trac Issues: #8347
 }}}

--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/8347#comment:14>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list