--- name: zip kind: function lang: go domain: core version: "1.0.0" purity: pure signature: "func Zip[T, U any](a []T, b []U) []Pair[T, U]" description: "Combina dos slices en un slice de pares elemento a elemento." tags: [slice, functional, generic, pair] uses_functions: [] uses_types: [pair_go_core] returns: [pair_go_core] returns_optional: false error_type: "" imports: [] tested: false tests: [] test_file_path: "" file_path: "functions/core/zip.go" --- ## Ejemplo ```go pairs := Zip([]string{"a", "b"}, []int{1, 2}) // pairs = [{a 1}, {b 2}] ``` ## Notas Funcion pura generica. Implementacion en devfactory/core.