code: public static final <S, E> S forEach(List<E> list, S state, Fx<S, E> functor) {
  		return new FunctionalList<S, E>(list).forEach(state, functor);
  	}
docs: Applies the given functor to all elements in the input list.
  
  @param list
  the list to which the functor will be applied.
  @param state
  an state variable, that will be used as the return vale for the iteration.
  @param functor
  a function to be applied to all elements in the list.
  @return
  the state object after the processing.