`iter::iterate` has reversed the order of it arguments