Copyright | Copyright 2017 Awake Security |
---|---|
License | Apache-2.0 |
Maintainer | opensource@awakesecurity.com |
Stability | experimental |
Safe Haskell | None |
Language | Haskell2010 |
An interned text type.
Since: 0.1.0
Documentation
An interned (hash-consed) text type.
This is a newtype over InternedText
from the intern
package.
Since: 0.1.0
Eq IText Source # | |
Ord IText Source # | The Since: 0.1.0 |
Read IText Source # | Inverse of the Since: 0.1.0 |
Show IText Source # | Displays an Since: 0.1.0 |
IsString IText Source # | |
Generic IText Source # | |
Hashable IText Source # | Uses the TODO: perhaps switch to hashing the identifier, since this is likely
pretty hot code given all the Since: 0.1.0 |
ToJSON IText Source # | Converts to JSON string via Since: 0.1.0 |
ToJSONKey IText Source # | Converts to JSON string via Since: 0.1.0 |
FromJSON IText Source # | Inverse of the Since: 0.1.0 |
FromJSONKey IText Source # | Inverse of the Since: 0.1.0 |
NFData IText Source # | Defined by Since: 0.1.0 |
(Monad m, Serial m Text) => Serial m IText Source # | Uses the Since: 0.1.0 |
(Monad m, CoSerial m Text) => CoSerial m IText Source # | Uses the Since: 0.1.0 |
type Rep IText Source # | |
uninternText :: IText -> Text Source #
internText :: Text -> IText Source #