yesod::flat_map: implementation (2)

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