I am learning category theory as a hobby. In the book I am studying from, I was looking at an example of a functor. I want to understand what this functor looks like.
If $G$ is a group, a functor $F: G \to \mathbf{Set}$ picks out a set $A = F(\star)$, together with a homomorphism from $G$ to the group of permutations of $A$. This is a permutation representation of $G$.
I am confused about some things here:
What is $\star$, is it the single object in the group considered as a category?
Why is this homomorphism from $G$ to the group of permutations of $A$ coming into the picture, doesn't a functor just need to map objects to some objects and morphisms to some morphisms?
The book says if that a group can be considered as a category consisting of the single object $G$ where all the morphisms are isomorphisms. Why is this the case? What does this category look like?