{"id":15038884,"url":"https://github.com/danramteke/zip2withnilpadding","last_synced_at":"2026-03-17T23:34:09.449Z","repository":{"id":56931577,"uuid":"113496882","full_name":"danramteke/Zip2WithNilPadding","owner":"danramteke","description":"Zip 2 implementation in Swift 4","archived":false,"fork":false,"pushed_at":"2019-03-11T20:34:25.000Z","size":3,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-04-23T12:38:57.297Z","etag":null,"topics":["sequence","swift","swift4","zip"],"latest_commit_sha":null,"homepage":null,"language":"Swift","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/danramteke.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-12-07T20:47:01.000Z","updated_at":"2019-03-11T20:34:18.000Z","dependencies_parsed_at":"2022-08-21T05:50:37.929Z","dependency_job_id":null,"html_url":"https://github.com/danramteke/Zip2WithNilPadding","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danramteke%2FZip2WithNilPadding","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danramteke%2FZip2WithNilPadding/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danramteke%2FZip2WithNilPadding/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danramteke%2FZip2WithNilPadding/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/danramteke","download_url":"https://codeload.github.com/danramteke/Zip2WithNilPadding/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243428438,"owners_count":20289317,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["sequence","swift","swift4","zip"],"created_at":"2024-09-24T20:40:38.360Z","updated_at":"2025-12-29T23:41:23.827Z","avatar_url":"https://github.com/danramteke.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Zip2WithNilPadding\n\nAn implementation of `Zip2` for different length Sequences, that fills the missing entries with `nil`.\n\nUpdated for Swift 4, based on a solution in this StackOverflow thread: https://stackoverflow.com/questions/25153477/in-swift-i-would-like-to-join-two-sequences-in-to-a-sequence-of-tuples\n\n# Example\n\n```\nlet first: [String] = [\"a\", \"b\", \"c\", \"d\"]\nlet second: [Int] = [1, 2]\nlet actual = Array(Zip2WithNilPadding(first, second))\n\n# [(Optional(\"a\"), Optional(1)), (Optional(\"b\"), Optional(2)), (Optional(\"c\"), Optional(3))]\n\n\n```\n\n# License\n\nMIT License\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanramteke%2Fzip2withnilpadding","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdanramteke%2Fzip2withnilpadding","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanramteke%2Fzip2withnilpadding/lists"}