yesod::iterator::adaptor: generic iterator adaptor (3)

Signed-off-by: Alex Dubov <oakad@yahoo.com>