LangToGroup-0.1.0.0
Safe HaskellNone
LanguageHaskell2010

GroupPresentation.Element

Documentation

data Signed a Source #

Constructors

Positive 

Fields

Negative 

Fields

Instances

Instances details
Functor Signed Source # 
Instance details

Defined in GroupPresentation.Element

Methods

fmap :: (a -> b) -> Signed a -> Signed b #

(<$) :: a -> Signed b -> Signed a #

Applicative Signed Source # 
Instance details

Defined in GroupPresentation.Element

Methods

pure :: a -> Signed a #

(<*>) :: Signed (a -> b) -> Signed a -> Signed b #

liftA2 :: (a -> b -> c) -> Signed a -> Signed b -> Signed c #

(*>) :: Signed a -> Signed b -> Signed b #

(<*) :: Signed a -> Signed b -> Signed a #

Foldable Signed Source # 
Instance details

Defined in GroupPresentation.Element

Methods

fold :: Monoid m => Signed m -> m #

foldMap :: Monoid m => (a -> m) -> Signed a -> m #

foldMap' :: Monoid m => (a -> m) -> Signed a -> m #

foldr :: (a -> b -> b) -> b -> Signed a -> b #

foldr' :: (a -> b -> b) -> b -> Signed a -> b #

foldl :: (b -> a -> b) -> b -> Signed a -> b #

foldl' :: (b -> a -> b) -> b -> Signed a -> b #

foldr1 :: (a -> a -> a) -> Signed a -> a #

foldl1 :: (a -> a -> a) -> Signed a -> a #

toList :: Signed a -> [a] #

null :: Signed a -> Bool #

length :: Signed a -> Int #

elem :: Eq a => a -> Signed a -> Bool #

maximum :: Ord a => Signed a -> a #

minimum :: Ord a => Signed a -> a #

sum :: Num a => Signed a -> a #

product :: Num a => Signed a -> a #

Traversable Signed Source # 
Instance details

Defined in GroupPresentation.Element

Methods

traverse :: Applicative f => (a -> f b) -> Signed a -> f (Signed b) #

sequenceA :: Applicative f => Signed (f a) -> f (Signed a) #

mapM :: Monad m => (a -> m b) -> Signed a -> m (Signed b) #

sequence :: Monad m => Signed (m a) -> m (Signed a) #

Eq a => Eq (Signed a) Source # 
Instance details

Defined in GroupPresentation.Element

Methods

(==) :: Signed a -> Signed a -> Bool #

(/=) :: Signed a -> Signed a -> Bool #

Ord a => Ord (Signed a) Source # 
Instance details

Defined in GroupPresentation.Element

Methods

compare :: Signed a -> Signed a -> Ordering #

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

(<=) :: Signed a -> Signed a -> Bool #

(>) :: Signed a -> Signed a -> Bool #

(>=) :: Signed a -> Signed a -> Bool #

max :: Signed a -> Signed a -> Signed a #

min :: Signed a -> Signed a -> Signed a #

(^~) :: Signed a -> Signed a infix 9 Source #