summaryrefslogtreecommitdiff
path: root/libraries/base/Data/Semigroup/Internal.hs-boot
blob: b433772739fca61b30b9307cb13092928e463575 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
{-# LANGUAGE NoImplicitPrelude #-}

module Data.Semigroup.Internal where

import {-# SOURCE #-} GHC.Real (Integral)
import {-# SOURCE #-} GHC.Base (Semigroup,Monoid,Maybe)
import GHC.Num.Integer () -- See Note [Depend on GHC.Num.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]