HORIZON HASKELLDocslts/ghc-9.10.x248f8f02026-10-05Search names, modules, packages, or :: a typeCtrl K

GHC 9.10.3 · lts/ghc-9.10.x · 248f8f0 · 2026-10-05

Modulearray-0.5.8.0Haskell2010

Data.Array.Storable

A storable array is an IO-mutable array which stores its contents in a contiguous memory block living in the C heap. Elements are stored according to the class Storable. You can obtain the pointer to the array contents to manipulate elements from languages like C.

It is similar to IOUArray but slower. Its advantage is that it's compatible with C.

  • 1 type
  • 2 values
  • Packagearray-0.5.8.0
  • Exports3
  • LanguageHaskell2010
  • LicenceBSD-3-Clause
  • SourceStorable.hs

Arrays of Storable things.

1 declaration

Overloaded mutable array interface

0 declarations

Module Data.Array.MArray provides the interface of storable arrays. They are instances of class MArray (with the IO monad).

Accessing the pointer to the array contents

2 declarations