package slices func Flat[T any](s ...[]T) []T { out := make([]T, 0) for _, v := range s { out = append(out, v...) } return out }