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

Safe HaskellNone

LLVM.Extra.Multi.Iterator

Documentation

takeWhile :: (a -> CodeGenFunction r (T Bool)) -> T r a -> T r aSource

take :: (Additive i, Comparison i, IntegerConstant i) => T i -> T r a -> T r aSource

class Enum a whereSource

Methods

succ, pred :: T a -> CodeGenFunction r (T a)Source

enumFrom :: T a -> T r (T a)Source

enumFromTo :: T a -> T a -> T r (T a)Source

Instances

(IsInteger w, IntegerConstant w, Num w, CmpRet w, ~ * (CmpResult w) Bool, Enum e) => Enum (T w e)