News for hackers. Stuff that matters.
Re:Category Theory Illustrated – Natural Transformations by ctenb on Wednesday October 01, 2025 @08:56AM (#45437134)
> you can also specify that two mappings compose

Two mappings with corresponding domain/codomain have to compose by definition of a category. It's not something you can specify.

Re:Category Theory Illustrated – Natural Transformations by tristramb on Wednesday October 01, 2025 @11:25AM (#45438839)
Yes. When you are specifying a system you are building the category that you want it to live in.
Re:Category Theory Illustrated – Natural Transformations by ajkjk on Wednesday October 01, 2025 @09:40AM (#45437621)
That is probably what they mean by specifying that they compose.

If all you know is that you have two mappings you don't know they compose, until you get the additional information about their sources and targets. In a way that's what the source and targets are: just labels of what you can compose them with.