get package:monads-tf

Gets specific component of the state, using a projection function supplied.