| Safe Haskell | Safe-Inferred |
|---|---|
| Language | GHC2021 |
TD.Data.OptionValue
Synopsis
- data OptionValue
- = OptionValueBoolean { }
- | OptionValueEmpty
- | OptionValueInteger { }
- | OptionValueString { }
Documentation
data OptionValue Source #
Represents the value of an option
Constructors
| OptionValueBoolean | Represents a boolean option |
| OptionValueEmpty | Represents an unknown option or an option which has a default value |
| OptionValueInteger | Represents an integer option |
| OptionValueString | Represents a string option |
Instances
| FromJSON OptionValue Source # | |
Defined in TD.Data.OptionValue | |
| ToJSON OptionValue Source # | |
Defined in TD.Data.OptionValue Methods toJSON :: OptionValue -> Value # toEncoding :: OptionValue -> Encoding # toJSONList :: [OptionValue] -> Value # toEncodingList :: [OptionValue] -> Encoding # | |
| Show OptionValue Source # | |
Defined in TD.Data.OptionValue Methods showsPrec :: Int -> OptionValue -> ShowS # show :: OptionValue -> String # showList :: [OptionValue] -> ShowS # | |
| Eq OptionValue Source # | |
Defined in TD.Data.OptionValue | |
| ShortShow OptionValue Source # | |
Defined in TD.Data.OptionValue Methods shortShow :: OptionValue -> String Source # | |