[commit: ghc] master: Add missing @since annotations (57f7a37)
git at git.haskell.org
git at git.haskell.org
Thu Oct 13 02:24:22 UTC 2016
Repository : ssh://git@git.haskell.org/ghc
On branch : master
Link : http://ghc.haskell.org/trac/ghc/changeset/57f7a37d90d77df1de804cd9ddd3d87da094faf4/ghc
>---------------------------------------------------------------
commit 57f7a37d90d77df1de804cd9ddd3d87da094faf4
Author: Ryan Scott <ryan.gl.scott at gmail.com>
Date: Wed Oct 12 22:22:43 2016 -0400
Add missing @since annotations
>---------------------------------------------------------------
57f7a37d90d77df1de804cd9ddd3d87da094faf4
libraries/base/Data/Semigroup.hs | 2 ++
1 file changed, 2 insertions(+)
diff --git a/libraries/base/Data/Semigroup.hs b/libraries/base/Data/Semigroup.hs
index 63d4285..88942ad 100644
--- a/libraries/base/Data/Semigroup.hs
+++ b/libraries/base/Data/Semigroup.hs
@@ -483,9 +483,11 @@ instance Ord a => Ord (Arg a b) where
instance Bifunctor Arg where
bimap f g (Arg a b) = Arg (f a) (g b)
+-- | @since 4.10.0.0
instance Bifoldable Arg where
bifoldMap f g (Arg a b) = f a `mappend` g b
+-- | @since 4.10.0.0
instance Bitraversable Arg where
bitraverse f g (Arg a b) = Arg <$> f a <*> g b
More information about the ghc-commits
mailing list