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

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

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