Selector Selector<S, R> = R Function(S state) A basic selector that extracts data from state. Implementation typedef Selector<S, R> = R Function(S state);