algebra-4.3: Constructive abstract algebra

Numeric.Algebra.Incidence

Documentation

data Interval a Source #

Constructors

 Interval a a

Instances

 (Commutative r, Monoidal r, Semiring r, LocallyFiniteOrder a) => Algebra r (Interval a) Source # Methodsmult :: (Interval a -> Interval a -> r) -> Interval a -> r Source # (Commutative r, Monoidal r, Semiring r, LocallyFiniteOrder a) => UnitalAlgebra r (Interval a) Source # Methodsunit :: r -> Interval a -> r Source # Eq a => Eq (Interval a) Source # Methods(==) :: Interval a -> Interval a -> Bool #(/=) :: Interval a -> Interval a -> Bool # Data a => Data (Interval a) Source # Methodsgfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Interval a -> c (Interval a) #gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c (Interval a) #toConstr :: Interval a -> Constr #dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c (Interval a)) #dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c (Interval a)) #gmapT :: (forall b. Data b => b -> b) -> Interval a -> Interval a #gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Interval a -> r #gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Interval a -> r #gmapQ :: (forall d. Data d => d -> u) -> Interval a -> [u] #gmapQi :: Int -> (forall d. Data d => d -> u) -> Interval a -> u #gmapM :: Monad m => (forall d. Data d => d -> m d) -> Interval a -> m (Interval a) #gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Interval a -> m (Interval a) #gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Interval a -> m (Interval a) # Ord a => Ord (Interval a) Source # Methodscompare :: Interval a -> Interval a -> Ordering #(<) :: Interval a -> Interval a -> Bool #(<=) :: Interval a -> Interval a -> Bool #(>) :: Interval a -> Interval a -> Bool #(>=) :: Interval a -> Interval a -> Bool #max :: Interval a -> Interval a -> Interval a #min :: Interval a -> Interval a -> Interval a # Read a => Read (Interval a) Source # MethodsreadsPrec :: Int -> ReadS (Interval a) # Show a => Show (Interval a) Source # MethodsshowsPrec :: Int -> Interval a -> ShowS #show :: Interval a -> String #showList :: [Interval a] -> ShowS #

zeta :: Unital r => Interval a -> r Source #