get package:mtl

Return the state from the internals of the monad.
Gets specific component of the state, using a projection function supplied.