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

Safe HaskellSafe-Inferred
LanguageHaskell98

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 a Source

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

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