Coverage report: /home/runner/work/geb/geb/src/mixins/cat.lisp
Kind | Covered | All | % |
expression | 0 | 6 | 0.0 |
branch | 0 | 0 | nil |
Key
Not instrumented
Conditionalized out
Executed
Not executed
Both branches taken
One branch taken
Neither branch taken
1
(in-package :geb.mixins)
3
(defclass cat-morph () ()
5
"I offer the service of being a base categorical morphism with no
8
(defclass cat-obj () ()
10
"I offer the service of being a base category objects with no
14
(defgeneric dom (cat-morph)
15
(:documentation "Grabs the domain of the morphism. Returns a [CAT-OBJ][class]"))
17
(defgeneric codom (cat-morph)
18
(:documentation "Grabs the codomain of the morphism. Returns a [CAT-OBJ][class]"))
20
(defgeneric curry-prod (cat-morph cat-left cat-right)
21
(:documentation "Curries the given product type given the
22
product. This returns a [CAT-MORPH][class].
24
This interface version takes the left and right product type to
25
properly dispatch on. Instances should specalize on the CAT-RIGHT argument
27
Use [GEB.MAIN:CURRY][function] instead."))