ghc-internal-9.1001.0: Basic libraries
Copyright(c) The University of Glasgow 1997-2002
Licensesee libraries/base/LICENSE
Maintainerghc-devs@haskell.org
Stabilityinternal
Portabilitynon-portable (GHC Extensions)
Safe HaskellUnsafe
LanguageHaskell2010

GHC.Internal.Pack

Description

⚠ Warning: Starting base-4.18, this module is being deprecated. See https://gitlab.haskell.org/ghc/ghc/-/issues/21461 for more information.

This module provides a small set of low-level functions for packing and unpacking a chunk of bytes. Used by code emitted by the compiler plus the prelude libraries.

The programmer level view of packed strings is provided by a GHC system library PackedString.

Documentation

unpackFoldrCString# :: Addr# -> (Char -> a -> a) -> a -> a Source #