[GHC] #13856: "Zero-argument" lambda expressions from pretty-print strangely

GHC ghc-devs at haskell.org
Fri Jun 23 17:07:48 UTC 2017


#13856: "Zero-argument" lambda expressions from pretty-print strangely
-------------------------------------+-------------------------------------
        Reporter:  RyanGlScott       |                Owner:  (none)
            Type:  bug               |               Status:  closed
        Priority:  normal            |            Milestone:  8.4.1
       Component:  Template Haskell  |              Version:  8.0.1
      Resolution:  fixed             |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):  Phab:D3664
       Wiki Page:                    |
-------------------------------------+-------------------------------------

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

 In [changeset:"3c4537ea1c940966eddcb9cb418bf8e39b8f0f1c/ghc"
 3c4537ea/ghc]:
 {{{
 #!CommitTicketReference repository="ghc"
 revision="3c4537ea1c940966eddcb9cb418bf8e39b8f0f1c"
 Fix pretty-printing of zero-argument lambda expressions

 Using Template Haskell, one can construct lambda expressions with no
 arguments. The pretty-printer isn't aware of this fact, however. This
 changes that.

 Test Plan: make test TEST=T13856

 Reviewers: bgamari, austin, goldfire

 Reviewed By: bgamari

 Subscribers: rwbarton, thomie

 GHC Trac Issues: #13856

 Differential Revision: https://phabricator.haskell.org/D3664
 }}}

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


More information about the ghc-tickets mailing list