rings-0.0.2: Rings, semirings, and dioids.

Safe HaskellSafe
LanguageHaskell2010

Data.Semigroup.Orphan

Contents

Description

Orphan instances from base.

Orphan instances

Semigroup Bool Source # 
Instance details

Methods

(<>) :: Bool -> Bool -> Bool #

sconcat :: NonEmpty Bool -> Bool #

stimes :: Integral b => b -> Bool -> Bool #

Semigroup Float Source # 
Instance details

Methods

(<>) :: Float -> Float -> Float #

sconcat :: NonEmpty Float -> Float #

stimes :: Integral b => b -> Float -> Float #

Semigroup Int Source # 
Instance details

Methods

(<>) :: Int -> Int -> Int #

sconcat :: NonEmpty Int -> Int #

stimes :: Integral b => b -> Int -> Int #

Semigroup Natural Source # 
Instance details

Semigroup Word Source # 
Instance details

Methods

(<>) :: Word -> Word -> Word #

sconcat :: NonEmpty Word -> Word #

stimes :: Integral b => b -> Word -> Word #

Monoid Bool Source # 
Instance details

Methods

mempty :: Bool #

mappend :: Bool -> Bool -> Bool #

mconcat :: [Bool] -> Bool #

Monoid Float Source # 
Instance details

Methods

mempty :: Float #

mappend :: Float -> Float -> Float #

mconcat :: [Float] -> Float #

Monoid Int Source # 
Instance details

Methods

mempty :: Int #

mappend :: Int -> Int -> Int #

mconcat :: [Int] -> Int #

Monoid Natural Source # 
Instance details

Monoid Word Source # 
Instance details

Methods

mempty :: Word #

mappend :: Word -> Word -> Word #

mconcat :: [Word] -> Word #

Semigroup a => Semigroup (Complex a) Source # 
Instance details

Methods

(<>) :: Complex a -> Complex a -> Complex a #

sconcat :: NonEmpty (Complex a) -> Complex a #

stimes :: Integral b => b -> Complex a -> Complex a #

Monoid a => Monoid (Complex a) Source # 
Instance details

Methods

mempty :: Complex a #

mappend :: Complex a -> Complex a -> Complex a #

mconcat :: [Complex a] -> Complex a #