HORIZON HASKELLDocslts/ghc-10.0.x8fef28d2026-11-02Search packagesCtrl K
Theme: |

GHC 10.0.0.20260917 · lts/ghc-10.0.x · 8fef28d · 2026-11-02

Modulerio-0.1.25.0Haskell2010

RIO.Vector.Unboxed

Unboxed Vector. Import as:

import qualified RIO.Vector.Unboxed as VU

This module does not export any partial or unsafe functions. For those, see RIO.Vector.Unboxed.Partial and RIO.Vector.Unboxed.Unsafe

Contents
  1. Unboxed vectors
  2. Accessors
  3. Length information
  4. Indexing
  5. Extracting subvectors
  6. Construction
  7. Initialisation
  8. Monadic initialisation
  9. Unfolding
  10. Enumeration
  11. Concatenation
  12. Restricting memory usage
  13. Modifying vectors
  14. Permutations
  15. Safe destructive update
  16. Elementwise operations
  17. Indexing
  18. Mapping
  19. Monadic mapping
  20. Zipping
  21. Monadic zipping
  22. Unzipping
  23. Working with predicates
  24. Filtering
  25. Partitioning
  26. Searching
  27. Folding
  28. Specialised folds
  29. Monadic folds
  30. Prefix sums (scans)
  31. Conversions
  32. Lists
  33. Different vector types
  34. Mutable vectors
Synopsis
  • Packagerio-0.1.25.0
  • Exports173
  • LanguageHaskell2010
  • LicenceMIT
  • SourceUnboxed.hs

Unboxed vectors

data familydata family Vector a
#
Instances96NFData1, IsList, Eq, Data, Ord, Read, …
data familydata family MVector s a
#
Instances86NFData1, NFData, MVector, …
classclass (Vector Vector a, MVector MVector a) => Unbox a
#
Instances40Unbox, …
  • Unbox AllDefined in vector-0.13.2.0 · Data.Vector.Unboxed.Base
  • Unbox AnyDefined in vector-0.13.2.0 · Data.Vector.Unboxed.Base
  • Unbox Int16Defined in vector-0.13.2.0 · Data.Vector.Unboxed.Base
  • Unbox Int32Defined in vector-0.13.2.0 · Data.Vector.Unboxed.Base
  • Unbox Int64Defined in vector-0.13.2.0 · Data.Vector.Unboxed.Base
  • Unbox Int8Defined in vector-0.13.2.0 · Data.Vector.Unboxed.Base
  • Unbox BoolDefined in vector-0.13.2.0 · Data.Vector.Unboxed.Base
  • Unbox CharDefined in vector-0.13.2.0 · Data.Vector.Unboxed.Base
  • Unbox DoubleDefined in vector-0.13.2.0 · Data.Vector.Unboxed.Base
  • Unbox FloatDefined in vector-0.13.2.0 · Data.Vector.Unboxed.Base
  • Unbox IntDefined in vector-0.13.2.0 · Data.Vector.Unboxed.Base
  • Unbox WordDefined in vector-0.13.2.0 · Data.Vector.Unboxed.Base
  • Unbox Word16Defined in vector-0.13.2.0 · Data.Vector.Unboxed.Base
  • Unbox Word32Defined in vector-0.13.2.0 · Data.Vector.Unboxed.Base
  • Unbox Word64Defined in vector-0.13.2.0 · Data.Vector.Unboxed.Base
  • Unbox Word8Defined in vector-0.13.2.0 · Data.Vector.Unboxed.Base
  • Unbox ()Defined in vector-0.13.2.0 · Data.Vector.Unboxed.Base
  • NFData a => Unbox (DoNotUnboxNormalForm a)Defined in vector-0.13.2.0 · Data.Vector.Unboxed.Base
  • Unbox (DoNotUnboxLazy a)Defined in vector-0.13.2.0 · Data.Vector.Unboxed.Base
  • Unbox (DoNotUnboxStrict a)Defined in vector-0.13.2.0 · Data.Vector.Unboxed.Base
  • Unbox a => Unbox (Complex a)Defined in vector-0.13.2.0 · Data.Vector.Unboxed.Base
  • Unbox a => Unbox (First a)Defined in vector-0.13.2.0 · Data.Vector.Unboxed.Base
  • Unbox a => Unbox (Last a)Defined in vector-0.13.2.0 · Data.Vector.Unboxed.Base
  • Unbox a => Unbox (Max a)Defined in vector-0.13.2.0 · Data.Vector.Unboxed.Base
  • Unbox a => Unbox (Min a)Defined in vector-0.13.2.0 · Data.Vector.Unboxed.Base
  • Unbox a => Unbox (WrappedMonoid a)Defined in vector-0.13.2.0 · Data.Vector.Unboxed.Base
  • Unbox a => Unbox (Identity a)Defined in vector-0.13.2.0 · Data.Vector.Unboxed.Base
  • Unbox a => Unbox (Down a)Defined in vector-0.13.2.0 · Data.Vector.Unboxed.Base
  • Unbox a => Unbox (Dual a)Defined in vector-0.13.2.0 · Data.Vector.Unboxed.Base
  • Unbox a => Unbox (Product a)Defined in vector-0.13.2.0 · Data.Vector.Unboxed.Base
  • Unbox a => Unbox (Sum a)Defined in vector-0.13.2.0 · Data.Vector.Unboxed.Base
  • (Unbox a, Unbox b) => Unbox (Arg a b)Defined in vector-0.13.2.0 · Data.Vector.Unboxed.Base
  • (Unbox a, Unbox b) => Unbox (a, b)Defined in vector-0.13.2.0 · Data.Vector.Unboxed.Base
  • Unbox (f a) => Unbox (Alt f a)Defined in vector-0.13.2.0 · Data.Vector.Unboxed.Base
  • Unbox a => Unbox (Const a b)Defined in vector-0.13.2.0 · Data.Vector.Unboxed.Base
  • (Unbox a, Unbox b, Unbox c) => Unbox (a, b, c)Defined in vector-0.13.2.0 · Data.Vector.Unboxed.Base
  • (Unbox a, Unbox b, Unbox c, Unbox d) => Unbox (a, b, c, d)Defined in vector-0.13.2.0 · Data.Vector.Unboxed.Base
  • Unbox (f (g a)) => Unbox (Compose f g a)Defined in vector-0.13.2.0 · Data.Vector.Unboxed.Base
  • (Unbox a, Unbox b, Unbox c, Unbox d, Unbox e) => Unbox (a, b, c, d, e)Defined in vector-0.13.2.0 · Data.Vector.Unboxed.Base
  • (Unbox a, Unbox b, Unbox c, Unbox d, Unbox e, Unbox f) => Unbox (a, b, c, d, e, f)Defined in vector-0.13.2.0 · Data.Vector.Unboxed.Base

Accessors

Length information

Indexing

Extracting subvectors

Construction

Initialisation

Monadic initialisation

Unfolding

Enumeration

Concatenation

Restricting memory usage

Modifying vectors

Permutations

Safe destructive update

Elementwise operations

Indexing

Mapping

Monadic mapping

Zipping

Monadic zipping

Unzipping

Working with predicates

Filtering

Partitioning

Searching

Folding

Specialised folds

Monadic folds

Prefix sums (scans)

Conversions

Lists

Different vector types

Mutable vectors