{"id":17930888,"url":"https://github.com/lovasoa/elm-rolling-list","last_synced_at":"2025-03-24T04:31:31.864Z","repository":{"id":18364916,"uuid":"84103959","full_name":"lovasoa/elm-rolling-list","owner":"lovasoa","description":"A circular buffer implementation in Elm.","archived":false,"fork":false,"pushed_at":"2023-03-02T08:49:15.000Z","size":468,"stargazers_count":3,"open_issues_count":8,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-19T02:11:24.338Z","etag":null,"topics":["circular-buffer","elm"],"latest_commit_sha":null,"homepage":"https://package.elm-lang.org/packages/lovasoa/elm-rolling-list/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/lovasoa.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-03-06T17:57:37.000Z","updated_at":"2022-02-11T13:34:25.000Z","dependencies_parsed_at":"2023-01-13T19:47:43.622Z","dependency_job_id":null,"html_url":"https://github.com/lovasoa/elm-rolling-list","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lovasoa%2Felm-rolling-list","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lovasoa%2Felm-rolling-list/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lovasoa%2Felm-rolling-list/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lovasoa%2Felm-rolling-list/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lovasoa","download_url":"https://codeload.github.com/lovasoa/elm-rolling-list/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245211190,"owners_count":20578368,"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":["circular-buffer","elm"],"created_at":"2024-10-28T21:18:26.339Z","updated_at":"2025-03-24T04:31:31.602Z","avatar_url":"https://github.com/lovasoa.png","language":"Elm","funding_links":[],"categories":[],"sub_categories":[],"readme":"# lovasoa/elm-rolling-list\n\n## Circular buffer\n\nA *Rolling List* is a list with a finite number of elements that can be inifintely\niterated over.\n\n```elm\n    \u003e\u003e\u003e import RollingList\n    \u003e\u003e\u003e rl = RollingList.fromList [1,2]\n    \u003e\u003e\u003e RollingList.current rl\n    Just 1\n    \u003e\u003e\u003e rolled = RollingList.roll rl\n    \u003e\u003e\u003e RollingList.current rolled\n    Just 2\n    \u003e\u003e\u003e rolledTwice = RollingList.roll rolled\n    \u003e\u003e\u003e RollingList.current rolledTwice\n    Just 1\n```\n\n## test\n\nJust run `npm install \u0026\u0026 npm test`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flovasoa%2Felm-rolling-list","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flovasoa%2Felm-rolling-list","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flovasoa%2Felm-rolling-list/lists"}