private void transitionStateThroughZipper ( ) { Collection < S > currentStates = states . values ( ) ; if ( currentStates . isEmpty ( ) ) { transitionState ( initialState ) ; } else { transitionState ( zipWith ( currentStates ) ) ; } }
Ask the zip function to compute the states and then transition the state of the zipper .