yesod::iterator::adaptor: generic iterator adaptor (2)

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