diff options
Diffstat (limited to 'libraries/base/Data/Semigroup/Internal.hs-boot')
-rw-r--r-- | libraries/base/Data/Semigroup/Internal.hs-boot | 12 |
1 files changed, 12 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..645a088eb9 --- /dev/null +++ b/libraries/base/Data/Semigroup/Internal.hs-boot @@ -0,0 +1,12 @@ +{-# LANGUAGE NoImplicitPrelude #-} + +module Data.Semigroup.Internal where + +import {-# SOURCE #-} GHC.Real (Integral) +import {-# SOURCE #-} GHC.Base (Semigroup,Monoid,Maybe) + +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] |