From 96ef42c2eb038d9a1b470b4a425ca847eaffbf97 Mon Sep 17 00:00:00 2001 From: jgotoh <18658140+jgotoh@users.noreply.github.com> Date: Sat, 3 Jun 2023 20:42:57 +0200 Subject: [PATCH] Remove @since from NubList --- cabal-install/src/Distribution/Client/Utils/Parsec.hs | 6 ------ 1 file changed, 6 deletions(-) diff --git a/cabal-install/src/Distribution/Client/Utils/Parsec.hs b/cabal-install/src/Distribution/Client/Utils/Parsec.hs index 52bca6d79e1..9de3fd7c18d 100644 --- a/cabal-install/src/Distribution/Client/Utils/Parsec.hs +++ b/cabal-install/src/Distribution/Client/Utils/Parsec.hs @@ -117,8 +117,6 @@ advance n z@(Zipper xs ys) (y : ys') -> advance (n - 1) $ Zipper (y : xs) ys' -- | Like 'List', but for 'NubList'. --- --- @since 3.2.0.0 newtype NubList' sep b a = NubList' {_getNubList :: NubList a} -- | 'alaNubList' and 'alaNubList'' are simply 'NubList'' constructor, with additional phantom @@ -132,14 +130,10 @@ newtype NubList' sep b a = NubList' {_getNubList :: NubList a} -- -- >>> unpack' (alaNubList' FSep Token) <$> eitherParsec "foo bar foo" -- Right (toNubList ["bar","foo"]) --- --- @since 3.2.0.0 alaNubList :: sep -> NubList a -> NubList' sep (Identity a) a alaNubList _ = NubList' -- | More general version of 'alaNubList'. --- --- @since 3.2.0.0 alaNubList' :: sep -> (a -> b) -> NubList a -> NubList' sep b a alaNubList' _ _ = NubList'