#4189: (<.>) operator (generalizing (.) to Functor)
---------------------------------+------------------------------------------
    Reporter:  uzytkownik        |       Owner:                
        Type:  feature request   |      Status:  new           
    Priority:  normal            |   Component:  libraries/base
     Version:  6.12.3            |    Keywords:                
          Os:  Unknown/Multiple  |    Testcase:                
Architecture:  Unknown/Multiple  |     Failure:  None/Unknown  
---------------------------------+------------------------------------------

Comment(by malcolm.wall...@…):

 The type you have chosen for <.> is far from obvious.  Why not
 {{{
 (<.>) :: (b->c) -> (a->b) -> f a -> f c
 f <.> g = ((f . g) <$>)
 }}}
 for instance?

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/4189#comment:1>
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