]> gitweb.michael.orlitzky.com - mjotex.git/blobdiff - mjo-arrow.tex
Add mjo-misc and mjo-arrow files.
[mjotex.git] / mjo-arrow.tex
diff --git a/mjo-arrow.tex b/mjo-arrow.tex
new file mode 100644 (file)
index 0000000..3ae2daa
--- /dev/null
@@ -0,0 +1,10 @@
+%
+% Things dealing with arrows in a category. Or functions, basically.
+%
+
+% The identity operator/arrow on its argument.
+\newcommand*{\identity}[1]{ \operatorname{id}_{{#1}} }
+
+% The composition of two arrows/functions. For example, the
+% composition of g with f is \compose{g}{f}\of{x} === g\of{f\of{x}}.
+\newcommand*{\compose}[2]{ {#1} \circ {#2} }