[Haskell-cafe] Foreign.Marshal.Error.void

J. Garrett Morris jgmorris at cecs.pdx.edu
Tue Oct 14 15:45:22 EDT 2008


mapM and mapM_ have different complexity - I don't know if the
compiler would be smart enough to infer mapM_ style behavior for (void
. mapM).

 /g

On Tue, Oct 14, 2008 at 10:52 AM, Mauricio <briqueabraque at yahoo.com> wrote:
> Hi,
>
> 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_?
>
> Best,
> Maurício
>
> _______________________________________________
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
> http://www.haskell.org/mailman/listinfo/haskell-cafe
>



-- 
I am in here


More information about the Haskell-Cafe mailing list