We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fe84ead commit aebda99Copy full SHA for aebda99
1 file changed
src/KDL/Decoder/Arrow.hs
@@ -81,7 +81,6 @@ module KDL.Decoder.Arrow (
81
DecodeValue (..),
82
any,
83
string,
84
- text,
85
number,
86
bool,
87
null,
@@ -1035,11 +1034,6 @@ string = valueDataDecoderPrim (SchemaOne TextSchema) $ \case
1035
1034
Value{data_ = String s} -> pure s
1036
v -> decodeThrow DecodeError_ValueDecodeFail{expectedType = "string", value = v}
1037
1038
--- | Deprecated in favor of 'string'.
1039
-text :: DecodeArrow Value a Text
1040
-text = string
1041
-{-# DEPRECATED text "Use KDL.string instead" #-}
1042
-
1043
-- | Decode a KDL number value.
1044
number :: DecodeArrow Value a Scientific
1045
number = valueDataDecoderPrim (SchemaOne NumberSchema) $ \case
0 commit comments