Skip to content

Commit 0eb8e5e

Browse files
Remove KDL.text entirely
1 parent 591ff8c commit 0eb8e5e

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
@@ -72,7 +72,6 @@ module KDL.Decoder.Arrow (
7272
DecodeValue (..),
7373
any,
7474
string,
75-
text,
7675
number,
7776
bool,
7877
null,
@@ -1025,11 +1024,6 @@ string = valueDataDecoderPrim (SchemaOne TextSchema) $ \case
10251024
Value{data_ = String s} -> pure s
10261025
v -> decodeThrow DecodeError_ValueDecodeFail{expectedType = "string", value = v}
10271026

1028-
-- | Deprecated in favor of 'string'.
1029-
text :: DecodeArrow Value a Text
1030-
text = string
1031-
{-# DEPRECATED text "Use KDL.string instead" #-}
1032-
10331027
-- | Decode a KDL number value.
10341028
number :: DecodeArrow Value a Scientific
10351029
number = valueDataDecoderPrim (SchemaOne NumberSchema) $ \case

0 commit comments

Comments
 (0)