radix-tree-1.0.0.0: Radix trees.
Safe HaskellSafe-Inferred
LanguageHaskell2010

Data.Radix1Tree.Word8.Key

Description

Safe functions for building and destroying non-empty radix tree keys.

Synopsis

Build

data Build1 Source #

Non-empty key as stored in the radix tree.

Instances

Instances details
Show Build1 Source # 
Instance details

Defined in Data.RadixNTree.Word8.Key

Raw

buildBytes :: Build1 -> NonEmpty Word8 Source #

Convert the key into a non-empty list of bytes.

ByteString

buildByteString :: Build1 -> ByteString Source #

Convert the key into a non-empty strict ByteString.

buildShortByteString :: Build1 -> ShortByteString Source #

Convert the key into a non-empty ShortByteString.

Text

Feed

data Feed1 Source #

Key as a non-empty sequence of individual bytes.

Instances

Instances details
Show Feed1 Source # 
Instance details

Defined in Data.RadixNTree.Word8.Key

Methods

showsPrec :: Int -> Feed1 -> ShowS #

show :: Feed1 -> String #

showList :: [Feed1] -> ShowS #

Raw

feedBytes :: NonEmpty Word8 -> Feed1 Source #

Convert the non-empty list of bytes into a key.

ByteString

Text