[haskell-llvm] insertvalue, extractvalue with bound check

Henning Thielemann lemming at henning-thielemann.de
Wed Jun 15 18:23:34 BST 2011


Since insertvalue and extractvalue for arrays and records require a 
constant index argument - how about turning this index into a type number 
and add a (index :<: dimension) constraint? Or should we have two 
functions, one with Int index and one of type number index?



More information about the Haskell-llvm mailing list