projects
/
cubicaltt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3257ead
)
add a comment to category
author
Anders Mörtberg
<andersmortberg@gmail.com>
Thu, 1 Dec 2016 14:42:30 +0000
(15:42 +0100)
committer
Anders Mörtberg
<andersmortberg@gmail.com>
Thu, 1 Dec 2016 14:43:54 +0000
(15:43 +0100)
examples/category.ctt
patch
|
blob
|
blame
|
history
diff --git
a/examples/category.ctt
b/examples/category.ctt
index ed6c5d1532b5e84917d8f7d253a450aff67ca44e..71ff7f3d3bfcbd55b68e005653b8508b68109017 100644
(file)
--- a/
examples/category.ctt
+++ b/
examples/category.ctt
@@
-404,6
+404,7
@@
opaque sip
-- Functors
--
+-- TODO: define as functor_data and isFunctor
functor (A B : precategory) : U
= (Fob : cA A -> cA B)
* (Fmor : (x y : cA A) -> cH A x y -> cH B (Fob x) (Fob y))