prolude-0.0.0.8: ITProTV's custom prelude
Safe HaskellSafe-Inferred
LanguageHaskell2010

Prolude.Text

Synopsis

Documentation

data Text #

A space efficient, packed, unboxed Unicode text type.

Instances

Instances details
Hashable Text 
Instance details

Defined in Data.Hashable.Class

Methods

hashWithSalt :: Int -> Text -> Int #

hash :: Text -> Int #

ToJSON Text 
Instance details

Defined in Data.Aeson.Types.ToJSON

KeyValue Object

Constructs a singleton HashMap. For calling functions that demand an Object for constructing objects. To be used in conjunction with mconcat. Prefer to use object where possible.

Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

(.=) :: ToJSON v => Text -> v -> Object #

KeyValue Pair 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

(.=) :: ToJSON v => Text -> v -> Pair #

ToJSONKey Text 
Instance details

Defined in Data.Aeson.Types.ToJSON

FromJSON Text 
Instance details

Defined in Data.Aeson.Types.FromJSON

FromJSONKey Text 
Instance details

Defined in Data.Aeson.Types.FromJSON

Val Text 
Instance details

Defined in Data.Bson

FromField Text

Assumes UTF-8 encoding. Fails on invalid byte sequences.

Instance details

Defined in Data.Csv.Conversion

ToField Text

Uses UTF-8 encoding.

Instance details

Defined in Data.Csv.Conversion

Methods

toField :: Text -> Field #

PersistField Text 
Instance details

Defined in Database.Persist.Class.PersistField

MongoRegexSearchable Text 
Instance details

Defined in Database.Persist.MongoDB

FromPairs Value (DList Pair) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

fromPairs :: DList Pair -> Value

v ~ Value => KeyValuePair v (DList Pair) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

pair :: String -> v -> DList Pair

PersistField v => PersistField (Map Text v) 
Instance details

Defined in Database.Persist.Class.PersistField

type Item Text 
Instance details

Defined in Data.Text

type Item Text = Char