@hackage zenc0.1.2
GHC style name Z-encoding and Z-decoding
Categories
License
BSD-3-Clause
Maintainer
dagitj@gmail.com
Links
Versions
Installation
Dependencies (1)
Dependents (7)
@hackage/prof2pretty, @hackage/acme-everything, @hackage/ghczdecode, @hackage/type-tree, @hackage/what4, @hackage/rts-loader, Show all…
Text.Encoding.Z
The Z-encoding
zEncodeString is a name-encoding and decoding function. It encodes any ascii
string into a string that is acceptable as a C name. This is code was originally
part of GHC and used right before emitting a symbol name into the compiled C or
asm code. This library was created as this encoding is useful when working with
GHC compiled code or generally when C-compatible name mangling is desired.
zDecodeString is the inverse operation.