| Copyright | (c) 2018-2021 Kowainik | 
|---|---|
| License | MPL-2.0 | 
| Maintainer | Kowainik <xrom.xkov@gmail.com> | 
| Stability | Stable | 
| Portability | Portable | 
| Safe Haskell | None | 
| Language | Haskell2010 | 
Toml.Type.Key
Contents
Description
Implementation of key type. The type is used for key-value pairs and table names.
Since: 1.3.0.0
Core types
Key of value in key = val pair. Represents as non-empty list of key
components — Pieces. Key like
site."google.com"
is represented like
Key (Piece "site" :| [Piece "\"google.com\""])
Since: 0.0.0
Instances
| Eq Key Source # | |
| Ord Key Source # | |
| Show Key Source # | |
| IsString Key Source # | Split a dot-separated string into  This instance is not safe for now. Use carefully. If you try to use as a key
string like this  Since: 0.1.0 | 
| Defined in Toml.Type.Key Methods fromString :: String -> Key # | |
| Generic Key Source # | |
| Semigroup Key Source # | |
| NFData Key Source # | |
| Defined in Toml.Type.Key | |
| Hashable Key Source # | |
| Defined in Toml.Type.Key | |
| type Rep Key Source # | |
| Defined in Toml.Type.Key | |
Represents the key piece of some layer.
Since: 0.0.0
Instances
| Eq Piece Source # | |
| Ord Piece Source # | |
| Show Piece Source # | |
| IsString Piece Source # | |
| Defined in Toml.Type.Key Methods fromString :: String -> Piece # | |
| Generic Piece Source # | |
| NFData Piece Source # | |
| Defined in Toml.Type.Key | |
| Hashable Piece Source # | |
| Defined in Toml.Type.Key | |
| type Rep Piece Source # | |
| Defined in Toml.Type.Key | |
pattern (:||) :: Piece -> [Piece] -> Key Source #
Bidirectional pattern synonym for constructing and deconstructing Keys.
Key difference
Data represent difference between two keys.
Since: 0.0.0