| Safe Haskell | None |
|---|---|
| Language | GHC2024 |
Proarrow.Category.Enriched.Thin
Synopsis
- class Profunctor p => ThinProfunctor (p :: j +-> k) where
- class (ThinProfunctor (Hom k), CategoryOf k) => Thin k
- class (ThinProfunctor p, Ob a, Ob b, HasArrow p a b) => HasArrow' (p :: j +-> k) (a :: k) (b :: j) where
- arr' :: p a b
- class (ThinProfunctor p, forall (c :: k) (d :: j). (Ob c, Ob d) => HasArrow' p c d, Codiscrete j, Codiscrete k) => CodiscreteProfunctor (p :: j +-> k) where
- type Codiscrete k = CodiscreteProfunctor (Hom k)
- class (c => d, d => c) => c <=> d
- class (HasArrow p a b => Bottom) => HasNoArrow (p :: j +-> k) (a :: k) (b :: j) where
- arrowIsBottomProof :: HasArrow p a b => r
- class (ThinProfunctor p, forall (a :: k) (b :: j). (Ob a, Ob b) => HasNoArrow p a b) => DiscreteProfunctor (p :: j +-> k) where
- exfalso :: forall (a :: k) (b :: j) r. p a b -> r
- class HasArrow (Hom k) c d <=> (c ~ d) => ArrowIsId k (c :: k) (d :: k) where
- arrowIsIdProof :: HasArrow (Hom k) c d => (c ~ d => r) -> r
- class (Thin k, forall (c :: k) (d :: k). (Ob c, Ob d) => ArrowIsId k c d) => Discrete k where
Documentation
class Profunctor p => ThinProfunctor (p :: j +-> k) where Source Github #
Methods
arr :: forall (a :: k) (b :: j). (Ob a, Ob b, HasArrow p a b) => p a b Source Github #
withArr :: forall (a :: k) (b :: j) r. p a b -> ((HasArrow p a b, Ob a, Ob b) => r) -> r Source Github #
Instances
class (ThinProfunctor (Hom k), CategoryOf k) => Thin k Source Github #
Instances
| (ThinProfunctor (Hom k), CategoryOf k) => Thin k Source Github # | |
Defined in Proarrow.Category.Enriched.Thin | |
class (ThinProfunctor p, Ob a, Ob b, HasArrow p a b) => HasArrow' (p :: j +-> k) (a :: k) (b :: j) where Source Github #
class (ThinProfunctor p, forall (c :: k) (d :: j). (Ob c, Ob d) => HasArrow' p c d, Codiscrete j, Codiscrete k) => CodiscreteProfunctor (p :: j +-> k) where Source Github #
Instances
| (ThinProfunctor p, forall (c :: k) (d :: j). (Ob c, Ob d) => HasArrow' p c d, Codiscrete j, Codiscrete k) => CodiscreteProfunctor (p :: j +-> k) Source Github # | |
type Codiscrete k = CodiscreteProfunctor (Hom k) Source Github #
class (c => d, d => c) => c <=> d Source Github #
Instances
| (c => d, d => c) => c <=> d Source Github # | |
Defined in Proarrow.Category.Enriched.Thin | |
class (HasArrow p a b => Bottom) => HasNoArrow (p :: j +-> k) (a :: k) (b :: j) where Source Github #
Methods
arrowIsBottomProof :: HasArrow p a b => r Source Github #
Instances
| (HasArrow p a b => Bottom) => HasNoArrow (p :: j +-> k) (a :: k) (b :: j) Source Github # | |
Defined in Proarrow.Category.Enriched.Thin Methods arrowIsBottomProof :: HasArrow p a b => r Source Github # | |
class (ThinProfunctor p, forall (a :: k) (b :: j). (Ob a, Ob b) => HasNoArrow p a b) => DiscreteProfunctor (p :: j +-> k) where Source Github #
Instances
| (ThinProfunctor p, forall (a :: k) (b :: j). (Ob a, Ob b) => HasNoArrow p a b) => DiscreteProfunctor (p :: j +-> k) Source Github # | |
Defined in Proarrow.Category.Enriched.Thin | |