Skip to content

Commit

Permalink
Remove @SInCE from NubList
Browse files Browse the repository at this point in the history
  • Loading branch information
jgotoh committed Jun 3, 2023
1 parent 92c3e02 commit 96ef42c
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions cabal-install/src/Distribution/Client/Utils/Parsec.hs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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'

Expand Down

0 comments on commit 96ef42c

Please sign in to comment.