semigroupoids-5.2.2: Semigroupoids: Category sans id

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

Data.Groupoid

Description

 

Synopsis

Documentation

class Semigroupoid k => Groupoid k where Source #

semigroupoid with inverses. This technically should be a category with inverses, except we need to use Ob to define the valid objects for the category

Minimal complete definition

inv

Methods

inv :: k a b -> k b a Source #

Instances

Groupoid k ((:~:) k) Source # 

Methods

inv :: k a b -> k b a Source #

Groupoid k (Coercion k) Source # 

Methods

inv :: k a b -> k b a Source #

Groupoid k ((:~~:) k k) Source # 

Methods

inv :: k a b -> k b a Source #

Semigroupoid k1 k2 => Groupoid k1 (Iso k1 k2) Source # 

Methods

inv :: k a b -> k b a Source #

Groupoid k1 k2 => Groupoid k1 (Dual k1 k1 k2) Source # 

Methods

inv :: k a b -> k b a Source #