Copyright | Copyright 2017 Awake Security |
---|---|
License | Apache-2.0 |
Maintainer | opensource@awakesecurity.com |
Stability | experimental |
Safe Haskell | None |
Language | Haskell2010 |
Language.Ninja.Misc.IText0.1.0
Description
An interned text type.
Documentation
An interned (hash-consed) text type.
This is a newtype over InternedText
from the intern
package.
Instances
Eq IText | #Source | |
Ord IText | #Source | The |
Read IText | #Source | Inverse of the |
Show IText | #Source | Displays an |
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 |
ToJSON IText | #Source | Converts to JSON string via |
ToJSONKey IText | #Source | Converts to JSON string via |
FromJSON IText | #Source | Inverse of the |
FromJSONKey IText | #Source | Inverse of the |
NFData IText | #Source | Defined by |
(Monad m, Serial m Text) => Serial m IText | #Source | Uses the |
(Monad m, CoSerial m Text) => CoSerial m IText | #Source | Uses the |
type Rep IText | #Source | |
uninternText :: IText -> Text Source 0.1.0#
internText :: Text -> IText Source 0.1.0#