On Tue, Oct 14, 2008 at 12:52 PM, Mauricio <[EMAIL PROTECTED]> wrote:
> Wouldn't it be nice if we had something
> like 'void' in Foreign.Marshal.Error in
> standard monad functions, so that we could
> use it instead of, for instance, mapM_
> or sequence_?

Dunno. I thought about using 'void' in the situation where my 'when'
action wasn't IO (). It was IO something else, where the something
wasn't something I needed. It's a little irritating to have to do >>
return () or whatever.
_______________________________________________
Haskell-Cafe mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to