text-trie-0.2.5.0: An efficient finite map from Text to values, based on bytestring-trie.

CopyrightCopyright (c) 2008--2015 wren gayle romano 2019 michael j. klein
LicenseBSD3
Maintainerlambdamichael@gmail.com
Stabilityexperimental
Safe HaskellSafe
LanguageHaskell98

Data.Trie.TextInternal

Description

Helper functions on ByteStrings for Data.Trie.Internal.

Synopsis

Documentation

data Text #

A space efficient, packed, unboxed Unicode text type.

Instances
type Item Text 
Instance details

Defined in Data.Text

type Item Text = Char

type TextElem = Word16 Source #

Associated type of Text

breakMaximalPrefix :: Text -> Text -> (Text, Text, Text) Source #

commonPrefixes unless Nothing, in which case (empty, x, y) is returned