module Math.FiniteCategories.DiscreteCategory.Examples
(
exampleDiscreteCategory0,
exampleDiscreteCategory1,
exampleDiscreteCategory2,
exampleDiscreteCategory3,
exampleDiscreteCategory4,
exampleDiscreteCategory5,
)
where
import Data.WeakSet.Safe
import Math.FiniteCategories.DiscreteCategory
exampleDiscreteCategory0 :: DiscreteCategory Int
exampleDiscreteCategory0 :: DiscreteCategory Int
exampleDiscreteCategory0 = Set Int -> DiscreteCategory Int
forall a. Set a -> DiscreteCategory a
discreteCategory ([Int] -> Set Int
forall a. [a] -> Set a
set [])
exampleDiscreteCategory1 :: DiscreteCategory Int
exampleDiscreteCategory1 :: DiscreteCategory Int
exampleDiscreteCategory1 = Set Int -> DiscreteCategory Int
forall a. Set a -> DiscreteCategory a
discreteCategory ([Int] -> Set Int
forall a. [a] -> Set a
set [Int
1])
exampleDiscreteCategory2 :: DiscreteCategory Int
exampleDiscreteCategory2 :: DiscreteCategory Int
exampleDiscreteCategory2 = Set Int -> DiscreteCategory Int
forall a. Set a -> DiscreteCategory a
discreteCategory ([Int] -> Set Int
forall a. [a] -> Set a
set [Int
1..Int
2])
exampleDiscreteCategory3 :: DiscreteCategory Int
exampleDiscreteCategory3 :: DiscreteCategory Int
exampleDiscreteCategory3 = Set Int -> DiscreteCategory Int
forall a. Set a -> DiscreteCategory a
discreteCategory ([Int] -> Set Int
forall a. [a] -> Set a
set [Int
1..Int
3])
exampleDiscreteCategory4 :: DiscreteCategory Int
exampleDiscreteCategory4 :: DiscreteCategory Int
exampleDiscreteCategory4 = Set Int -> DiscreteCategory Int
forall a. Set a -> DiscreteCategory a
discreteCategory ([Int] -> Set Int
forall a. [a] -> Set a
set [Int
1..Int
4])
exampleDiscreteCategory5 :: DiscreteCategory Int
exampleDiscreteCategory5 :: DiscreteCategory Int
exampleDiscreteCategory5 = Set Int -> DiscreteCategory Int
forall a. Set a -> DiscreteCategory a
discreteCategory ([Int] -> Set Int
forall a. [a] -> Set a
set [Int
1..Int
5])