Skip to content

Commit

Permalink
deprecate extractVoid
Browse files Browse the repository at this point in the history
  • Loading branch information
fumieval committed Jul 18, 2023
1 parent 4e37d05 commit 4778621
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Codec/Winery.hs
Original file line number Diff line number Diff line change
Expand Up @@ -360,6 +360,7 @@ extractVoid = Subextractor $ mkExtractor $ \case
SVariant schs0
| V.null schs0 -> return $ throw . InvalidTerm
s -> throwStrategy $ UnexpectedSchema [] "no constructors" s
{-# DEPRECATED extractVoid "Use buildVariantExtractor mempty instead" #-}

infixr 1 `extractConstructorBy`
infixr 1 `extractConstructor`
Expand Down

0 comments on commit 4778621

Please sign in to comment.