Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
Xen0byte
· 5y ago · 0 comments
I don't agree that a transformation which takes an int[] and outputs a string[] is an endofunctor. Yes they are both arrays, but they are different types.
Comments
[–]
yakubin
5y ago
It depends on the category. You can have a category of arrays of ints, but you can also have a category of arrays.