yesod::flat_map: implementation (5)

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