llvm-hs-6.2.0: General purpose LLVM bindings

Safe HaskellSafe
LanguageHaskell2010

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