File tree Expand file tree Collapse file tree 1 file changed +36
-5
lines changed Expand file tree Collapse file tree 1 file changed +36
-5
lines changed Original file line number Diff line number Diff line change @@ -92,13 +92,11 @@ import Data.Nat.Properties as ℕ
9292open import Data.Vec.Base as Vec using (Vec)
9393import Data.Vec.Properties as Vec
9494
95- {-
9695Vec-Functor : (n : ℕ) → Functor SET SET
9796Vec-Functor n .Functor.onObject = λ A → Vec A n
98- Vec-Functor n .Functor.onMorphism = {!!}
99- Vec-Functor n .Functor.onIdentity = {!!}
100- Vec-Functor n .Functor.onThen = {!!}
101- -}
97+ Vec-Functor n .Functor.onMorphism = Vec.map
98+ Vec-Functor n .Functor.onIdentity = funext Vec.map-id
99+ Vec-Functor n .Functor.onThen = λ f g → funext (Vec.map-∘ g f)
102100
103101OP : Category → Category
104102OP cat .Category.Object = Category.Object cat
@@ -118,7 +116,40 @@ Vec≤-Functor A .Functor.onThen =
118116
119117
120118
119+
120+
121+
121122-- Forget & free
123+
124+
125+
126+
127+
128+
129+
130+
131+
132+ -- CAT
133+
134+
135+
136+
137+
138+
139+
140+
141+
142+
143+
144+
145+
146+
147+
148+
149+
150+
151+
152+
122153
123154
124155---------------------------------------------------------------------------
You can’t perform that action at this time.
0 commit comments