yesod::flat_map: implementation (8)

Mostly complete.

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