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

LLVM.Extra.Monad

Description

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

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