#1773: Add Compositor class as superclass of Arrow, in Control.Compositor
-------------------------------+--------------------------------------------
    Reporter:  guest           |        Owner:         
        Type:  proposal        |       Status:  new    
    Priority:  normal          |    Milestone:  Not GHC
   Component:  libraries/base  |      Version:  6.6.1  
    Severity:  normal          |   Resolution:         
    Keywords:                  |   Difficulty:  Unknown
          Os:  Unknown         |     Testcase:         
Architecture:  Unknown         |  
-------------------------------+--------------------------------------------
Comment (by guest):

 Consensus was to add this under the name Category:

 {{{
 class Category cat where
   id :: cat a a
   (.) :: cat b c -> cat a b -> cat a c
 }}}

 id and (.) would not replace those in the Prelude. Category would become a
 superclass of the existing Arrow class.

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