NFData
Sittampalam, Ganesh
ganesh.sittampalam at credit-suisse.com
Mon Apr 20 12:21:52 EDT 2009
Roel van Dijk wrote:
> For a package I released recently I had to define the following
> operators:
>
> -- |Very strict monadic bind
> (>>=|) :: (Monad m, NFData a) => m a -> (a -> m b) -> m b
> m >>=| f = m >>= f $| rnf
>
> (>>|) :: (Monad m, NFData a) => m a -> m b -> m b
> m1 >>| m2 = m1 >>=| const m2
>
> It would be nice if I could drop the dependency on parallel.
Now is not a good time to be changing the extralibs as the
Platform is taking over from them. Once that's made its first
release and settled down a bit I will propose this split
properly.
Ganesh
===============================================================================
Please access the attached hyperlink for an important electronic communications disclaimer:
http://www.credit-suisse.com/legal/en/disclaimer_email_ib.html
===============================================================================
More information about the Libraries
mailing list