Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 0 additions & 6 deletions src/KDL/Decoder/Arrow.hs
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,6 @@ module KDL.Decoder.Arrow (
DecodeValue (..),
any,
string,
text,
number,
bool,
null,
Expand Down Expand Up @@ -1025,11 +1024,6 @@ string = valueDataDecoderPrim (SchemaOne TextSchema) $ \case
Value{data_ = String s} -> pure s
v -> decodeThrow DecodeError_ValueDecodeFail{expectedType = "string", value = v}

-- | Deprecated in favor of 'string'.
text :: DecodeArrow Value a Text
text = string
{-# DEPRECATED text "Use KDL.string instead" #-}

-- | Decode a KDL number value.
number :: DecodeArrow Value a Scientific
number = valueDataDecoderPrim (SchemaOne NumberSchema) $ \case
Expand Down
Loading