You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Data.Primitive.ByteArray currently only provides foldrByteArray. Meanwhile Data.Primitive.PrimArray provides foldrPrimArray, foldrPrimArray', foldlPrimArray and foldlPrimArray'. So it seems `Data.Primitive.ByteArray is missing:
foldrByteArray'
foldlByteArray
foldlByteArray'
However, foldrByteArray interprets the elements as Prim a => a values, so it may be questionable if folds over ByteArrays should really be provided, rather than just recommending to just use PrimArray.
The text was updated successfully, but these errors were encountered:
Data.Primitive.ByteArray
currently only providesfoldrByteArray
. MeanwhileData.Primitive.PrimArray
providesfoldrPrimArray
,foldrPrimArray'
,foldlPrimArray
andfoldlPrimArray'
. So it seems `Data.Primitive.ByteArray is missing:foldrByteArray'
foldlByteArray
foldlByteArray'
However,
foldrByteArray
interprets the elements asPrim a => a
values, so it may be questionable if folds overByteArray
s should really be provided, rather than just recommending to just usePrimArray
.The text was updated successfully, but these errors were encountered: