HORIZON HASKELLDocslts/ghc-9.14.xb9228482026-10-12Search packagesCtrl K
Theme: |

GHC 9.14.1 · lts/ghc-9.14.x · b922848 · 2026-10-12

Moduletext-2.1.3Haskell2010

Data.Text.Array

Packed, unboxed, heap-resident arrays. Suitable for performance critical use, both in terms of large data quantities and high speed.

This module is intended to be imported qualified, to avoid name clashes with Prelude functions, e.g.

import qualified Data.Text.Array as A

The names in this module resemble those in the Data.Array family of modules, but are shorter due to the assumption of qualified naming.

Contents
  1. Types
  2. Functions
Synopsis
  • Packagetext-2.1.3
  • Exports24
  • LanguageHaskell2010
  • LicenceBSD-2-Clause
  • SourceArray.hs

Types

Functions

valuerun :: (forall s. ST s (MArray s)) -> Array

Run an action in the ST monad and return an immutable array of its result.

valuerun2 :: (forall s. ST s (MArray s, a)) -> (Array, a)

Run an action in the ST monad and return an immutable array of its result paired with whatever else the action returns.