• R/O
  • HTTP
  • SSH
  • HTTPS

提交

标签
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

A database of categories


Commit MetaInfo

修订版261611b5582bc5c6ad6404542aae7ed5828960a0 (tree)
时间2021-09-23 04:54:08
作者Corbin <cds@corb...>
CommiterCorbin

Log Message

Sweeten up full subcategories.

更改概述

差异

--- a/templates/row-catabase-full_subcategories.html
+++ b/templates/row-catabase-full_subcategories.html
@@ -4,16 +4,22 @@
44
55 {% set sub = display_rows[0]["subcategory"] %}
66 {% set sup = display_rows[0]["supercategory"] %}
7+{% set sub_rows = sql("select * from categories where name = ?", [sub]) %}
8+{% set sup_rows = sql("select * from categories where name = ?", [sup]) %}
9+{% set sub_objs = sub_rows[0]["objects_hr"] %}
10+{% set sup_objs = sup_rows[0]["objects_hr"] %}
11+{% set sub_arrs = sub_rows[0]["arrows_hr"] %}
12+{% set sup_arrs = sup_rows[0]["arrows_hr"] %}
713
814 <h1>Full Subcategory: {{ sub }} ⊊ {{ sup }}</h1>
915
10-<p>{{ sub }} is a full subcategory of {{ sup }}. When any two objects of
11-{{ sup }} are in {{ sub }}, so is every arrow between them. Put another way,
12-{{ sub }} has only some of the objects of {{ sup }}, but all of the
13-arrows.</p>
16+<p>{{ sub }} is a full subcategory of {{ sup }}. When any two {{ sup_objs }}
17+of {{ sup }} are {{ sub_objs }} in {{ sub }}, all {{ sup_arrs }} between them
18+are {{ sub_arrs }} in {{ sub }} too. Put another way, {{ sub }} has only some
19+of the objects of {{ sup }}, but all of the arrows.</p>
1420
15-<p>In terms of stuff, structure, and properties, objects of {{ sub }} are like
16-objects of {{ sup }} but with extra properties.</p>
21+<p>In terms of stuff, structure, and properties, {{ sub_objs }} are like
22+{{ sup_objs }} but with extra properties.</p>
1723
1824 {{ super() }}
1925 {% endblock %}
--- a/todo.txt
+++ b/todo.txt
@@ -22,12 +22,12 @@
2222 * Topoi <-> categories of sheaves on spaces
2323 * CCCs: DagCat, ...
2424 * Dismantle `enrichments`
25+ * Already banned: Set, Cat
2526 * Give 2-categories their own table and `natural_transformations_hr` for
2627 a row template page
2728 * Manage Evil
2829 * 2-categories are more Evil than bicategories
2930 * Double categories should be weak by default
30- * Dagger categories should be equipped with structure
3131 * Upstream work
3232 * Indexing for categories: Field, nCob, Vect_k, Mat_R, Mod(Ab)
3333 * Field and nCob are disconnected by index!