Safe Haskell | None |
---|---|
Language | Haskell2010 |
An implementation of Int
-mapped Text
s with internalization. Wrap
a Text
with bti
to receive a BTI
. This internalizes the given
Text
, meaning that two text inputs x
and y
will yield the same
BTI
if they have the same textual representation.
Since internalized Text
values are never released, be sure to use it
sparingly. I.e. to internalize words, not full sentences.
Documentation
A BTI
behaves much like a Text
, but is represented as an Int
internally.
Eq BTI Source # | |
Ord BTI Source # | |
Read BTI Source # | |
Show BTI Source # | |
IsString BTI Source # | |
Generic BTI Source # | |
Hashable BTI Source # | |
ToJSON BTI Source # | |
FromJSON BTI Source # | |
Binary BTI Source # | |
Serialize BTI Source # | |
NFData BTI Source # | |
Unbox BTI Source # | |
Vector Vector BTI Source # | |
MVector MVector BTI Source # | |
type Rep BTI Source # | |
data Vector BTI Source # | |
data MVector s BTI Source # | |
btiToUtf8 :: BTI -> ByteString Source #