llvm-hs-5.1.3: General purpose LLVM bindings

Safe HaskellSafe
LanguageHaskell98

LLVM.Internal.FFI.Iterate

Description

Functions to help handle LLVM iteration patterns

Synopsis

Documentation

getXs :: IO (Ptr a) -> (Ptr a -> IO (Ptr a)) -> IO [Ptr a] Source #

retrieve a sequence of objects which form a linked list, given an action to | retrieve the first member and an action to proceed through the list