yesod::flat_map: implementation (6)

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