← Package details

array0.5.8.0

Verified build. The service reproduced this documentation.

Target: Linux on x86-64. Some inferred types, re-exported declarations, and resolved links are not available.

Data.Array

Maintainer : libraries@haskell.org Stability : provisional Portability : portable

Basic non-strict arrays.

Note: The Data.Array.IArray module provides a more general interface to immutable arrays: it defines operations with the same names as those defined below, but with more general types, and also defines Array instances of the relevant classes. To use that more general interface, import Data.Array.IArray but not Data.Array.

Immutable non-strict arrays

Haskell provides indexable arrays, which may be thought of as functions whose domains are isomorphic to contiguous subsets of the integers. Functions restricted in this way can be implemented efficiently; in particular, a programmer may reasonably expect rapid access to the components. To ensure the possibility of such an implementation, arrays are treated as data, not as general functions.

Since most array functions involve the class Ix, this module is exported from Data.Array so that modules need not import both Data.Array and Data.Ix.

Module export: Data.Ix. Resolved links are not available.

Array · Declaration information is not available.

Array construction

array · Declaration information is not available.

listArray · Declaration information is not available.

accumArray · Declaration information is not available.

Accessing arrays

! · Declaration information is not available.

bounds · Declaration information is not available.

indices · Declaration information is not available.

elems · Declaration information is not available.

assocs · Declaration information is not available.

Incremental array updates

// · Declaration information is not available.

accum · Declaration information is not available.

Derived arrays

ixmap · Declaration information is not available.

Build record and source files

Generator: aihc-haddock-7b0c8493-web-1

Metadata snapshot: 10bf2eab3c8818e91375122614fd52da6b643c8772e4ede6e094d3ea680122b7

Open the dependency plan · Download the documentation model

Import a package

Enter a package name and an exact version from Hackage. The site contains imported versions only.