Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- data Preorder a x y where
- pattern Obj :: a -> Preorder a x y
- unObj :: Obj (Preorder a) x -> a
- ordExp :: (Ord a, Bounded a) => a -> a -> a
- class Category k => EnumObjs k where
- glb :: (Ord a, Bounded a) => [a] -> a
- type End' t = ()
- end :: (VProfunctor k k t, V k ~ Preorder a, EnumObjs k, Ord a, Bounded a) => t -> Obj (Preorder a) (End' t)
- endCounit :: (VProfunctor k k t, V k ~ Preorder a, EnumObjs k, Ord a, Bounded a) => t -> Obj k b -> Preorder a (End' t) (t :%% (b, b))
- endFactorizer :: (VProfunctor k k t, V k ~ Preorder a, EnumObjs k, Ord a, Bounded a) => t -> Obj (Preorder a) x -> (forall b. Obj k b -> Preorder a x (t :%% (b, b))) -> Preorder a x (End' t)
- data Floor = Floor
- data FromInteger = FromInteger
- floorGaloisConnection :: Adjunction (Preorder Double) (Preorder Integer) FromInteger Floor
Documentation
data Preorder a x y where Source #
Instances
ordExp :: (Ord a, Bounded a) => a -> a -> a Source #
`ordExp a b` is the largest x such that min x a <= b
end :: (VProfunctor k k t, V k ~ Preorder a, EnumObjs k, Ord a, Bounded a) => t -> Obj (Preorder a) (End' t) Source #
endCounit :: (VProfunctor k k t, V k ~ Preorder a, EnumObjs k, Ord a, Bounded a) => t -> Obj k b -> Preorder a (End' t) (t :%% (b, b)) Source #
endFactorizer :: (VProfunctor k k t, V k ~ Preorder a, EnumObjs k, Ord a, Bounded a) => t -> Obj (Preorder a) x -> (forall b. Obj k b -> Preorder a x (t :%% (b, b))) -> Preorder a x (End' t) Source #
data FromInteger Source #
Instances
Functor FromInteger Source # | |
Defined in Data.Category.Preorder type Dom FromInteger :: Type -> Type -> Type Source # type Cod FromInteger :: Type -> Type -> Type Source # type FromInteger :% a Source # (%) :: FromInteger -> Dom FromInteger a b -> Cod FromInteger (FromInteger :% a) (FromInteger :% b) Source # | |
type Cod FromInteger Source # | |
Defined in Data.Category.Preorder | |
type Dom FromInteger Source # | |
Defined in Data.Category.Preorder | |
type FromInteger :% a Source # | |
Defined in Data.Category.Preorder |