chickadee » srfi-178 » bitvector-fold-right/bool

bitvector-fold/int kons knil bvec1 bvec2 ...procedure
bitvector-fold/bool kons knil bvec1 bvec2 ...procedure
bitvector-fold-right/int kons knil bvec1 bvec2 ...procedure
bitvector-fold-right/bool kons knil bvec1 bvec2 ...procedure

Folds kons over the elements of bvec in increasing/decreasing order using knil as the initial value. The kons procedure is called with the states first and the new element last, as in SRFIs 43, 133, and 160.