|
|
|
|
|
by Sniffnoy
2421 days ago
|
|
> Hmm. if haskell types make up a small category that means 'a' and 'f a' are sets. I can't imagine a case where two sets cannot have a mapping between them. This is irrelevant. The question isn't, does there exist a function, it's does the functor determine one. (Given any sets A and B there is always a function from A to B unless B is empty and A is nonempty. But that's not very helpful, is it?) > I'm confused about this. Isn't the natural transformation from identity to another category (at least for small categories) equivalent to a functor? This doesn't mean anything. A natural transformation is from one functor F:C->D to another functor G:C->D. Not from a functor to... a category? Huh? Also smallness is irrelevant to all of this. |
|
Can you clarify this? I can't define a -> f a because the functor can't determine one?
What about like for list functor?
Doesn't this work?>This doesn't mean anything. A natural transformation is from one functor F:C->D to another functor G:C->D. Not from a functor to... a category? Huh?
I'm still kind of confused. Yeah you're right it doesn't make sense. But then the parent poster is saying that
is the natural transformation from identity functor to f it seems off to me. It looks to me like it's just a functor from a to f a. So I'm confused with the nomenclature here. a is a category and f a is another category how is a mapping between categories a natural transformation?Isn't this type signature the natural transformation from identity to f?:
--edit:I think I see where I'm confused. Your last comment on the parent helped. Thanks.