Adding an ignore function to Control.Monad
michael at snoyman.com
Sat Jul 11 16:03:49 EDT 2009
I'm not opposed to using void instead of ignore. Out of curiosity, is anyone
interested in having the Functor version of void? I'm not sure I see a
reason to unnecessarily limit ourselves to Monads here.
Also, if we do end up using void, what's going to happen with the FFI copy?
On Sat, Jul 11, 2009 at 6:10 AM, Don Stewart <dons at galois.com> wrote:
> > OK, let's apply a little democracy here. Reading back through the
> > thread, I tally the votes:
> > # Nothing
> > David Menendez
> > John Meachem (?)
> > # Just
> > ## Control.Monad.ignore m a -> m ()
> > Michael Snoyman
> > Neil Mitchell
> > Isaac Dupree
> > Maurício
> > Martijn van Steenbergen
> > ### Control.Monad.ignore f a -> f ()
> > Edward Kmett
> > ## Control.Monad.void m a -> m ()
> > Don Stewart
> > Iavor Diatchki
> That's an odd mix too. I wonder if we even reached quorum.
> -- Don
> Libraries mailing list
> Libraries at haskell.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Libraries