#4189: (<.>) operator (generalizing (.) to Functor)
-----------------------------+----------------------------------------------
  Reporter:  uzytkownik      |          Owner:                  
      Type:  proposal        |         Status:  new             
  Priority:  normal          |      Milestone:  Not GHC         
 Component:  libraries/base  |        Version:  6.12.3          
Resolution:                  |       Keywords:                  
  Testcase:                  |      Blockedby:                  
Difficulty:                  |             Os:  Unknown/Multiple
  Blocking:                  |   Architecture:  Unknown/Multiple
   Failure:  None/Unknown    |  
-----------------------------+----------------------------------------------

Comment(by uzytkownik):

 Summary of
 [http://www.haskell.org/pipermail/libraries/2010-August/013992.html
 discussion].

 There were the following counterpoints to (<.>):

 - Lack of symmetry (contrary to (.))
 - Operators usually have more then 2 parameters in unexpanded form
 (however (>=>) (<=<) (^<<) etc. are in base)
 - f <.> g is not much shorter then fmap f . g

 Generally it seems to depend on style preference

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/4189#comment:8>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to