[GHC] #3292: Add an 'ignore' function to Control.Monad

GHC trac at galois.com
Fri Jan 8 16:59:37 EST 2010


#3292: Add an 'ignore' function to Control.Monad
-----------------------------+----------------------------------------------
  Reporter:  guest           |          Owner:                  
      Type:  proposal        |         Status:  new             
  Priority:  normal          |      Milestone:  Not GHC         
 Component:  libraries/base  |        Version:  6.10.2          
Resolution:                  |       Keywords:                  
Difficulty:  Unknown         |             Os:  Unknown/Multiple
  Testcase:                  |   Architecture:  Unknown/Multiple
   Failure:  None/Unknown    |  
-----------------------------+----------------------------------------------
Comment (by guest):

 My final headcount of the very long discussion is here:
 http://www.haskell.org/pipermail/libraries/2010-January/012972.html

 I think it's clear that there's overwhelming support for adding
 void/ignore, with minor quibbling over the exact name & type signature.
 void :: f a -> f () is the best compromise, I think, and I hope now that
 Don's point about 'void' has been addressed, igloo or someone could add it
 to base.

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


More information about the Glasgow-haskell-bugs mailing list