llvm-extra-0.7.3: Utility functions for the llvm interface

Safe HaskellSafe-Infered

LLVM.Extra.Monad

Description

These functions work in arbitrary monads but are especially helpful when working with the CodeGenFunction monad.

Documentation

chain :: Monad m => [a -> m a] -> a -> m aSource

liftR2 :: Monad m => (a -> b -> m c) -> m a -> m b -> m cSource

liftR3 :: Monad m => (a -> b -> c -> m d) -> m a -> m b -> m c -> m dSource