algebra-4.3.1: Constructive abstract algebra

Safe HaskellSafe
LanguageHaskell98

Numeric.Order.LocallyFinite

Documentation

class Order a => LocallyFiniteOrder a where Source #

Minimal complete definition

range, rangeSize

Methods

range :: a -> a -> [a] Source #

rangeSize :: a -> a -> Natural Source #

moebiusInversion :: Ring r => a -> a -> r Source #

Instances

LocallyFiniteOrder Bool Source # 
LocallyFiniteOrder Int Source # 

Methods

range :: Int -> Int -> [Int] Source #

rangeSize :: Int -> Int -> Natural Source #

moebiusInversion :: Ring r => Int -> Int -> r Source #

LocallyFiniteOrder Int8 Source # 
LocallyFiniteOrder Int16 Source # 
LocallyFiniteOrder Int32 Source # 
LocallyFiniteOrder Int64 Source # 
LocallyFiniteOrder Integer Source # 
LocallyFiniteOrder Natural Source # 
LocallyFiniteOrder Word Source # 
LocallyFiniteOrder Word8 Source # 
LocallyFiniteOrder Word16 Source # 
LocallyFiniteOrder Word32 Source # 
LocallyFiniteOrder Word64 Source # 
LocallyFiniteOrder () Source # 

Methods

range :: () -> () -> [()] Source #

rangeSize :: () -> () -> Natural Source #

moebiusInversion :: Ring r => () -> () -> r Source #

Ord a => LocallyFiniteOrder (Set a) Source # 

Methods

range :: Set a -> Set a -> [Set a] Source #

rangeSize :: Set a -> Set a -> Natural Source #

moebiusInversion :: Ring r => Set a -> Set a -> r Source #

(LocallyFiniteOrder a, LocallyFiniteOrder b) => LocallyFiniteOrder (a, b) Source # 

Methods

range :: (a, b) -> (a, b) -> [(a, b)] Source #

rangeSize :: (a, b) -> (a, b) -> Natural Source #

moebiusInversion :: Ring r => (a, b) -> (a, b) -> r Source #

(LocallyFiniteOrder a, LocallyFiniteOrder b, LocallyFiniteOrder c) => LocallyFiniteOrder (a, b, c) Source # 

Methods

range :: (a, b, c) -> (a, b, c) -> [(a, b, c)] Source #

rangeSize :: (a, b, c) -> (a, b, c) -> Natural Source #

moebiusInversion :: Ring r => (a, b, c) -> (a, b, c) -> r Source #

(LocallyFiniteOrder a, LocallyFiniteOrder b, LocallyFiniteOrder c, LocallyFiniteOrder d) => LocallyFiniteOrder (a, b, c, d) Source # 

Methods

range :: (a, b, c, d) -> (a, b, c, d) -> [(a, b, c, d)] Source #

rangeSize :: (a, b, c, d) -> (a, b, c, d) -> Natural Source #

moebiusInversion :: Ring r => (a, b, c, d) -> (a, b, c, d) -> r Source #

(LocallyFiniteOrder a, LocallyFiniteOrder b, LocallyFiniteOrder c, LocallyFiniteOrder d, LocallyFiniteOrder e) => LocallyFiniteOrder (a, b, c, d, e) Source # 

Methods

range :: (a, b, c, d, e) -> (a, b, c, d, e) -> [(a, b, c, d, e)] Source #

rangeSize :: (a, b, c, d, e) -> (a, b, c, d, e) -> Natural Source #

moebiusInversion :: Ring r => (a, b, c, d, e) -> (a, b, c, d, e) -> r Source #