mmm-0.1.0.0: Minecraft 1.21.4 implementation in Haskell
Copyright(c) axionbuster 2025
LicenseBSD-3-Clause
Safe HaskellNone
LanguageGHC2021

M.Pack.Internal.Etc

Description

Implements Pack and Unpack instances for various types including Text, ByteString, Maybe, Vector, and UUID.

Orphan instances

Pack ByteString Source # 
Instance details

Pack Text Source # 
Instance details

Methods

pack :: Text -> Builder Source #

Pack UUID Source # 
Instance details

Methods

pack :: UUID -> Builder Source #

Unpack ByteString Source # 
Instance details

Methods

unpack :: forall (st :: ZeroBitType) r. Parser st r ByteString Source #

Unpack Text Source # 
Instance details

Methods

unpack :: forall (st :: ZeroBitType) r. Parser st r Text Source #

Unpack UUID Source # 
Instance details

Methods

unpack :: forall (st :: ZeroBitType) r. Parser st r UUID Source #

Pack a => Pack (Vector a) Source # 
Instance details

Methods

pack :: Vector a -> Builder Source #

(Unbox a, Pack a) => Pack (Vector a) Source # 
Instance details

Methods

pack :: Vector a -> Builder Source #

Pack a => Pack (Maybe a) Source # 
Instance details

Methods

pack :: Maybe a -> Builder Source #

Unpack a => Unpack (Vector a) Source # 
Instance details

Methods

unpack :: forall (st :: ZeroBitType) r. Parser st r (Vector a) Source #

(Unbox a, Unpack a) => Unpack (Vector a) Source # 
Instance details

Methods

unpack :: forall (st :: ZeroBitType) r. Parser st r (Vector a) Source #

Unpack a => Unpack (Maybe a) Source # 
Instance details

Methods

unpack :: forall (st :: ZeroBitType) r. Parser st r (Maybe a) Source #