[GHC] #3524: Add mfilter to Control.Monad

View: New views
4 Messages — Rating Filter:   Alert me  

[GHC] #3524: Add mfilter to Control.Monad

by GHC-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

#3524: Add mfilter to Control.Monad
-----------------------------+----------------------------------------------
Reporter:  JonFairbairn      |          Owner:                  
    Type:  proposal          |         Status:  new            
Priority:  normal            |      Component:  libraries/base  
 Version:  6.10.4            |       Severity:  normal          
Keywords:                    |       Testcase:                  
      Os:  Unknown/Multiple  |   Architecture:  Unknown/Multiple
-----------------------------+----------------------------------------------
 In the comments of #3453, I contemplated a filter function on MonadPlus.
 The consensus seems to be that this function is an appropriate addition.

 mfilter is just List.filter generalised to any MonadPlus.

 It must have been embodied in Monad comprehensions when we had those, so
 I'm sure it's simply an oversight that it hasn't been included here
 already.

--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/3524>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@...
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Re: [GHC] #3524: Add mfilter to Control.Monad

by GHC-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

#3524: Add mfilter to Control.Monad
---------------------------------+------------------------------------------
    Reporter:  JonFairbairn      |        Owner:                  
        Type:  proposal          |       Status:  new            
    Priority:  normal            |    Milestone:  Not GHC        
   Component:  libraries/base    |      Version:  6.10.4          
    Severity:  normal            |   Resolution:                  
    Keywords:                    |   Difficulty:  Unknown        
    Testcase:                    |           Os:  Unknown/Multiple
Architecture:  Unknown/Multiple  |  
---------------------------------+------------------------------------------
Changes (by igloo):

  * difficulty:  => Unknown
  * milestone:  => Not GHC

--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/3524#comment:1>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@...
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Re: [GHC] #3524: Add mfilter to Control.Monad

by GHC-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

#3524: Add mfilter to Control.Monad
---------------------------------+------------------------------------------
    Reporter:  JonFairbairn      |        Owner:                  
        Type:  proposal          |       Status:  new            
    Priority:  normal            |    Milestone:  Not GHC        
   Component:  libraries/base    |      Version:  6.10.4          
    Severity:  normal            |   Resolution:                  
    Keywords:                    |   Difficulty:  Unknown        
    Testcase:                    |           Os:  Unknown/Multiple
Architecture:  Unknown/Multiple  |  
---------------------------------+------------------------------------------
Comment (by JonFairbairn):

 No one opposed this, but I don't have permissions to commit the patch.
 Please can someone do it for me?

--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/3524#comment:2>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@...
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Re: [GHC] #3524: Add mfilter to Control.Monad

by GHC-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

#3524: Add mfilter to Control.Monad
---------------------------------+------------------------------------------
    Reporter:  JonFairbairn      |        Owner:                  
        Type:  proposal          |       Status:  new            
    Priority:  normal            |    Milestone:  6.14.1          
   Component:  libraries/base    |      Version:  6.10.4          
    Severity:  normal            |   Resolution:                  
    Keywords:                    |   Difficulty:  Unknown        
    Testcase:                    |           Os:  Unknown/Multiple
Architecture:  Unknown/Multiple  |  
---------------------------------+------------------------------------------
Changes (by igloo):

  * milestone:  Not GHC => 6.14.1

--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/3524#comment:3>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@...
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs