primitive-extras-0.10.1.1: Extras for the "primitive" library
Safe HaskellNone
LanguageHaskell2010

PrimitiveExtras.FoldMs

Synopsis

Documentation

primArray Source #

Arguments

:: Prim a 
=> Int

Array size

-> FoldM IO a (PrimArray a) 

Given a size of the array, construct a fold, which produces an array of elements.