{"id":30561793,"url":"https://github.com/dwayne/elm-stack","last_synced_at":"2025-08-28T12:23:49.215Z","repository":{"id":311611491,"uuid":"1043722063","full_name":"dwayne/elm-stack","owner":"dwayne","description":"A stack.","archived":false,"fork":false,"pushed_at":"2025-08-25T11:19:12.000Z","size":53,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-08-25T15:08:17.485Z","etag":null,"topics":["elm","stack"],"latest_commit_sha":null,"homepage":"https://package.elm-lang.org/packages/dwayne/elm-stack/latest/","language":"Elm","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dwayne.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-08-24T13:36:08.000Z","updated_at":"2025-08-25T12:10:02.000Z","dependencies_parsed_at":"2025-08-25T15:08:21.012Z","dependency_job_id":"463e0d9c-a24d-4c4f-8d43-0f05efa25e21","html_url":"https://github.com/dwayne/elm-stack","commit_stats":null,"previous_names":["dwayne/elm-stack"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/dwayne/elm-stack","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dwayne%2Felm-stack","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dwayne%2Felm-stack/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dwayne%2Felm-stack/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dwayne%2Felm-stack/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dwayne","download_url":"https://codeload.github.com/dwayne/elm-stack/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dwayne%2Felm-stack/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272498357,"owners_count":24944820,"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","status":"online","status_checked_at":"2025-08-28T02:00:10.768Z","response_time":74,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["elm","stack"],"created_at":"2025-08-28T12:23:48.595Z","updated_at":"2025-08-28T12:23:49.206Z","avatar_url":"https://github.com/dwayne.png","language":"Elm","funding_links":[],"categories":[],"sub_categories":[],"readme":"# elm-stack\n\nA stack.\n\n## An example\n\n```elm\nimport Stack as S\n\nS.isEmpty S.empty == True\n\nS.push 2 (S.push 1 S.empty) == S.fromList [ 2, 1 ]\n\nS.top (S.fromList [ 2, 1 ]) == Just 2\n\nS.pop (S.fromList [ 3, 2, 1 ]) == Just ( 3, S.fromList [ 2, 1 ])\n\nS.toList (S.fromList [ 4, 3, 2, 1 ]) == [ 4, 3, 2, 1 ]\n```\n\n# Public API\n\n```elm\ntype Stack a\n\n-- Construct\n\nempty : Stack a\nfromList : List a -\u003e Stack a\n\n-- Query\n\nisEmpty : Stack a -\u003e Bool\ntop : Stack a -\u003e Maybe a\n\n-- Modify\n\npush : a -\u003e Stack a -\u003e Stack a\npop : Stack a -\u003e Maybe ( a, Stack a )\n\n-- Convert\n\ntoList : Stack a -\u003e List a\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdwayne%2Felm-stack","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdwayne%2Felm-stack","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdwayne%2Felm-stack/lists"}