We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 591ff8c commit 0eb8e5eCopy full SHA for 0eb8e5e
1 file changed
src/KDL/Decoder/Arrow.hs
@@ -72,7 +72,6 @@ module KDL.Decoder.Arrow (
72
DecodeValue (..),
73
any,
74
string,
75
- text,
76
number,
77
bool,
78
null,
@@ -1025,11 +1024,6 @@ string = valueDataDecoderPrim (SchemaOne TextSchema) $ \case
1025
1024
Value{data_ = String s} -> pure s
1026
v -> decodeThrow DecodeError_ValueDecodeFail{expectedType = "string", value = v}
1027
1028
--- | Deprecated in favor of 'string'.
1029
-text :: DecodeArrow Value a Text
1030
-text = string
1031
-{-# DEPRECATED text "Use KDL.string instead" #-}
1032
-
1033
-- | Decode a KDL number value.
1034
number :: DecodeArrow Value a Scientific
1035
number = valueDataDecoderPrim (SchemaOne NumberSchema) $ \case
0 commit comments