{"id":15249527,"url":"https://github.com/mrdimosthenis/gleam_zlists","last_synced_at":"2025-03-14T06:41:49.351Z","repository":{"id":54162385,"uuid":"341894968","full_name":"mrdimosthenis/gleam_zlists","owner":"mrdimosthenis","description":"A library for working with lazy lists in Gleam","archived":false,"fork":false,"pushed_at":"2022-05-17T07:11:43.000Z","size":56,"stargazers_count":2,"open_issues_count":1,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-03-14T21:20:19.163Z","etag":null,"topics":["beam","erlang","functional-programming","gleam","gleam-lang"],"latest_commit_sha":null,"homepage":"https://hexdocs.pm/gleam_zlists/gleam_zlists.html","language":"Gleam","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mrdimosthenis.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-02-24T12:34:16.000Z","updated_at":"2024-03-14T21:20:19.164Z","dependencies_parsed_at":"2022-08-13T08:00:50.741Z","dependency_job_id":null,"html_url":"https://github.com/mrdimosthenis/gleam_zlists","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrdimosthenis%2Fgleam_zlists","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrdimosthenis%2Fgleam_zlists/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrdimosthenis%2Fgleam_zlists/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrdimosthenis%2Fgleam_zlists/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mrdimosthenis","download_url":"https://codeload.github.com/mrdimosthenis/gleam_zlists/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243538121,"owners_count":20307101,"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":["beam","erlang","functional-programming","gleam","gleam-lang"],"created_at":"2024-09-29T15:01:29.482Z","updated_at":"2025-03-14T06:41:49.324Z","avatar_url":"https://github.com/mrdimosthenis.png","language":"Gleam","funding_links":[],"categories":["Packages"],"sub_categories":["Data Structures"],"readme":"# gleam_zlists\n\nA library for working with **lazy lists** in **Gleam**.\n\nIt is a wrapper for [vjache/erlang-zlists](https://github.com/vjache/erlang-zlists), enriched with more functions.\n\nThe documentation is available on [HexDocs](https://hexdocs.pm/gleam_zlists/gleam_zlists.html).\n\n## Installation\n\nAdd `gleam_zlists` to your Gleam project.\n\n```\ngleam add gleam_zlists\n```\n\n## Examples\n\n```gleam\nimport gleam_zlists as zlist\n\n[2, 4, 6]\n|\u003e zlist.of_list\n|\u003e zlist.all(int.is_even)\n// True\n\n[1, 2, 3]\n|\u003e zlist.of_list\n|\u003e zlist.reverse\n|\u003e zlist.to_list\n// [3, 2, 1]\n\n[\"a\", \"b\", \"c\"]\n|\u003e zlist.of_list\n|\u003e zlist.with_index\n|\u003e zlist.to_list\n// [#(\"a\", 0), #(\"b\", 1), #(\"c\", 2)]\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmrdimosthenis%2Fgleam_zlists","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmrdimosthenis%2Fgleam_zlists","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmrdimosthenis%2Fgleam_zlists/lists"}