yesod::flat_map: implementation (4)

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