summaryrefslogtreecommitdiff
path: root/libraries/base/Data/Semigroup/Internal.hs-boot
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/base/Data/Semigroup/Internal.hs-boot')
-rw-r--r--libraries/base/Data/Semigroup/Internal.hs-boot13
1 files changed, 13 insertions, 0 deletions
diff --git a/libraries/base/Data/Semigroup/Internal.hs-boot b/libraries/base/Data/Semigroup/Internal.hs-boot
new file mode 100644
index 0000000000..36249294e7
--- /dev/null
+++ b/libraries/base/Data/Semigroup/Internal.hs-boot
@@ -0,0 +1,13 @@
+{-# LANGUAGE NoImplicitPrelude #-}
+
+module Data.Semigroup.Internal where
+
+import {-# SOURCE #-} GHC.Real (Integral)
+import {-# SOURCE #-} GHC.Base (Semigroup,Monoid,Maybe)
+import GHC.Integer () -- See Note [Depend on GHC.Integer] in GHC.Base
+
+stimesIdempotentMonoid :: (Integral b, Monoid a) => b -> a -> a
+
+stimesDefault :: (Integral b, Semigroup a) => b -> a -> a
+stimesMaybe :: (Integral b, Semigroup a) => b -> Maybe a -> Maybe a
+stimesList :: Integral b => b -> [a] -> [a]