HORIZON HASKELLDocslts/ghc-10.0.x2b276322026-10-31Search packagesCtrl K
Theme: |

GHC 10.0.0.20260917 · lts/ghc-10.0.x · 2b27632 · 2026-10-31

Modulememory-0.18.0Haskell2010

Data.ByteArray.Sized

Contents
  1. ByteArrayN operators
Synopsis
  • Packagememory-0.18.0
  • Exports29
  • LanguageHaskell2010
  • LicenceBSD-3-Clause
  • SourceSized.hs
classclass (ByteArrayAccess c, KnownNat n) => ByteArrayN (n :: Nat) c | c -> n where

Type class to emulate exactly the behaviour of ByteArray but with a known length at compile time

Methods

Instances2ByteArrayN
newtypenewtype SizedByteArray (n :: Nat) ba

Wrapper around any collection type with the size as type parameter

Instances6ByteArrayN, Eq, Ord, Show, NormalForm, ByteArrayAccess

ByteArrayN operators