cherry pick Data.List.Utils for just the functions I need