semigroupoids-5.3.1: Semigroupoids: Category sans id

Copyright(C) 2007-2015 Edward Kmett
LicenseBSD-style (see the file LICENSE)
MaintainerEdward Kmett <ekmett@gmail.com>
Stabilityprovisional
Portabilityportable
Safe HaskellNone
LanguageHaskell98

Data.Semigroupoid

Description

A semigroupoid satisfies all of the requirements to be a Category except for the existence of identity arrows.

Synopsis

Documentation

class Semigroupoid c where Source #

Minimal complete definition

o

Methods

o :: c j k -> c i j -> c i k Source #

Instances
Semigroupoid ((:~:) :: k -> k -> *) Source # 
Instance details

Defined in Data.Semigroupoid

Methods

o :: (j :~: k0) -> (i :~: j) -> i :~: k0 Source #

Semigroupoid (Coercion :: k -> k -> *) Source # 
Instance details

Defined in Data.Semigroupoid

Methods

o :: Coercion j k0 -> Coercion i j -> Coercion i k0 Source #

Semigroupoid ((:~~:) :: k -> k -> *) Source # 
Instance details

Defined in Data.Semigroupoid

Methods

o :: (j :~~: k0) -> (i :~~: j) -> i :~~: k0 Source #

Semigroupoid k2 => Semigroupoid (Iso k2 :: k1 -> k1 -> *) Source # 
Instance details

Defined in Data.Isomorphism

Methods

o :: Iso k2 j k -> Iso k2 i j -> Iso k2 i k Source #

Category k2 => Semigroupoid (WrappedCategory k2 :: k1 -> k1 -> *) Source # 
Instance details

Defined in Data.Semigroupoid

Methods

o :: WrappedCategory k2 j k -> WrappedCategory k2 i j -> WrappedCategory k2 i k Source #

Semigroup m => Semigroupoid (Semi m :: k -> k -> *) Source # 
Instance details

Defined in Data.Semigroupoid

Methods

o :: Semi m j k0 -> Semi m i j -> Semi m i k0 Source #

Semigroupoid k2 => Semigroupoid (Dual k2 :: k1 -> k1 -> *) Source # 
Instance details

Defined in Data.Semigroupoid.Dual

Methods

o :: Dual k2 j k -> Dual k2 i j -> Dual k2 i k Source #

Semigroupoid (,) Source #

http://en.wikipedia.org/wiki/Band_(mathematics)#Rectangular_bands

Instance details

Defined in Data.Semigroupoid

Methods

o :: (j, k) -> (i, j) -> (i, k) Source #

Semigroupoid Op Source # 
Instance details

Defined in Data.Semigroupoid

Methods

o :: Op j k -> Op i j -> Op i k Source #

Bind m => Semigroupoid (Kleisli m :: * -> * -> *) Source # 
Instance details

Defined in Data.Semigroupoid

Methods

o :: Kleisli m j k -> Kleisli m i j -> Kleisli m i k Source #

Semigroupoid (Const :: * -> * -> *) Source # 
Instance details

Defined in Data.Semigroupoid

Methods

o :: Const j k -> Const i j -> Const i k Source #

Semigroupoid (Tagged :: * -> * -> *) Source # 
Instance details

Defined in Data.Semigroupoid

Methods

o :: Tagged j k -> Tagged i j -> Tagged i k Source #

Apply f => Semigroupoid (Static f :: * -> * -> *) Source # 
Instance details

Defined in Data.Semigroupoid.Static

Methods

o :: Static f j k -> Static f i j -> Static f i k Source #

Semigroupoid ((->) :: * -> * -> *) Source # 
Instance details

Defined in Data.Semigroupoid

Methods

o :: (j -> k) -> (i -> j) -> i -> k Source #

Extend w => Semigroupoid (Cokleisli w :: * -> * -> *) Source # 
Instance details

Defined in Data.Semigroupoid

Methods

o :: Cokleisli w j k -> Cokleisli w i j -> Cokleisli w i k Source #

newtype WrappedCategory k a b Source #

Constructors

WrapCategory 

Fields

Instances
Category k2 => Category (WrappedCategory k2 :: k1 -> k1 -> *) Source # 
Instance details

Defined in Data.Semigroupoid

Methods

id :: WrappedCategory k2 a a #

(.) :: WrappedCategory k2 b c -> WrappedCategory k2 a b -> WrappedCategory k2 a c #

Category k2 => Semigroupoid (WrappedCategory k2 :: k1 -> k1 -> *) Source # 
Instance details

Defined in Data.Semigroupoid

Methods

o :: WrappedCategory k2 j k -> WrappedCategory k2 i j -> WrappedCategory k2 i k Source #

newtype Semi m a b Source #

Constructors

Semi 

Fields

Instances
Monoid m => Category (Semi m :: k -> k -> *) Source # 
Instance details

Defined in Data.Semigroupoid

Methods

id :: Semi m a a #

(.) :: Semi m b c -> Semi m a b -> Semi m a c #

Semigroup m => Semigroupoid (Semi m :: k -> k -> *) Source # 
Instance details

Defined in Data.Semigroupoid

Methods

o :: Semi m j k0 -> Semi m i j -> Semi m i k0 Source #