Skip to content

Commit aebda99

Browse files
Remove KDL.text entirely (#32)
1 parent fe84ead commit aebda99

1 file changed

Lines changed: 0 additions & 6 deletions

File tree

src/KDL/Decoder/Arrow.hs

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,6 @@ module KDL.Decoder.Arrow (
8181
DecodeValue (..),
8282
any,
8383
string,
84-
text,
8584
number,
8685
bool,
8786
null,
@@ -1035,11 +1034,6 @@ string = valueDataDecoderPrim (SchemaOne TextSchema) $ \case
10351034
Value{data_ = String s} -> pure s
10361035
v -> decodeThrow DecodeError_ValueDecodeFail{expectedType = "string", value = v}
10371036

1038-
-- | Deprecated in favor of 'string'.
1039-
text :: DecodeArrow Value a Text
1040-
text = string
1041-
{-# DEPRECATED text "Use KDL.string instead" #-}
1042-
10431037
-- | Decode a KDL number value.
10441038
number :: DecodeArrow Value a Scientific
10451039
number = valueDataDecoderPrim (SchemaOne NumberSchema) $ \case

0 commit comments

Comments
 (0)