Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
Synopsis
- data OptionValue
- = OptionValueBoolean { }
- | OptionValueEmpty
- | OptionValueInteger { }
- | OptionValueString { }
Documentation
data OptionValue Source #
Represents the value of an option
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 parseJSON :: Value -> Parser OptionValue # parseJSONList :: Value -> Parser [OptionValue] # | |
ToJSON OptionValue Source # | |
Defined in TD.Data.OptionValue toJSON :: OptionValue -> Value # toEncoding :: OptionValue -> Encoding # toJSONList :: [OptionValue] -> Value # toEncodingList :: [OptionValue] -> Encoding # | |
Show OptionValue Source # | |
Defined in TD.Data.OptionValue showsPrec :: Int -> OptionValue -> ShowS # show :: OptionValue -> String # showList :: [OptionValue] -> ShowS # | |
Eq OptionValue Source # | |
Defined in TD.Data.OptionValue (==) :: OptionValue -> OptionValue -> Bool # (/=) :: OptionValue -> OptionValue -> Bool # | |
ShortShow OptionValue Source # | |
Defined in TD.Data.OptionValue shortShow :: OptionValue -> String Source # |