Making OpenCL? Simple with Haskell - AMD Developer Central
Making OpenCL? Simple with Haskell - AMD Developer Central
Making OpenCL? Simple with Haskell - AMD Developer Central
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
EMBEDDING MONADS<br />
Wraps class provides a uniform way to embed one<br />
computation into another, for example:<br />
<strong>with</strong> :: MonadIO m => Context -> ContextM t -> m t<br />
embeds a computation in ContextM (a contextual monad) into<br />
any IO monad.<br />
38 | <strong>Making</strong> <strong>OpenCL</strong> <strong>Simple</strong> | January, 2011 | Public