X-Git-Url: http://gitweb.michael.orlitzky.com/?p=mjotex.git;a=blobdiff_plain;f=mjo-arrow.tex;fp=mjo-arrow.tex;h=3ae2daac179659b681c3ab9d14990250cf80bb31;hp=0000000000000000000000000000000000000000;hb=5c1a943a2ae3886693c0361084239aef9da3551c;hpb=1997f5caa0a548beade98765fa9b679a8de26bdf diff --git a/mjo-arrow.tex b/mjo-arrow.tex new file mode 100644 index 0000000..3ae2daa --- /dev/null +++ b/mjo-arrow.tex @@ -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} }