feat(util/lazy_list): add useful lazy_list function templates

Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>