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

Safe HaskellSafe
LanguageHaskell98

LLVM.Extra.Monad

Description

Deprecated: use utility-ht:Control.Monad.HT

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 #