[GHC] #14812: Dot-Notation for Flipped Function Application

GHC ghc-devs at haskell.org
Mon Feb 19 20:49:01 UTC 2018


#14812: Dot-Notation for Flipped Function Application
-------------------------------------+-------------------------------------
        Reporter:  tepan             |                Owner:  (none)
            Type:  feature request   |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  Compiler          |              Version:  8.2.2
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by simonpj):

 There's plenty of historical discussion about this; wiki link in
 comment:11 is a good starting point.  Personally, I think that something
 like this would be very attractive for writing pipelines of computation.

 One particularly attractive possibility is using type inference to drive
 auto-complete and drop-down menus of possibilities.  IDEs for OO languages
 use this to tremendous effect.

 There's an old paper
 [http://citeseerx.ist.psu.edu/viewdoc/summary?doi=10.1.1.146.5411 The
 power is in the dot] which I have not reviewed recently but remember
 enjoying some years ago.

 Definitely a GHC-proposal suggestion though.

 It would surely be controversial.

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


More information about the ghc-tickets mailing list