Module
Data.ArrayBuffer.DataView.Gen
- Package
- purescript-arraybuffer
- Repository
- purescript-contrib/purescript-arraybuffer
#genDataView Source
genDataView :: forall m. MonadGen m => m DataView
#WithOffsetAndValue Source
data WithOffsetAndValue :: ArrayViewType -> Type -> Type
data WithOffsetAndValue (a :: ArrayViewType) t
For generating some set of offsets residing inside the generated array, with some computable value
Constructors
#genWithOffsetAndValue Source
genWithOffsetAndValue :: forall m a t. MonadGen m => MonadRec m => BytesPerType a => BinaryValue a t => Int -> m DataView -> m t -> m (WithOffsetAndValue a t)