{"id":28254767,"url":"https://github.com/practicalli/kata-recent-song-list","last_synced_at":"2025-08-12T05:06:22.946Z","repository":{"id":140403443,"uuid":"94932015","full_name":"practicalli/kata-recent-song-list","owner":"practicalli","description":"Kata: Recently used list in Clojure @ Socrates 2017","archived":false,"fork":false,"pushed_at":"2017-06-20T20:25:33.000Z","size":7,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-16T04:32:57.538Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Clojure","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/practicalli.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null},"funding":{"github":["practicalli-johnny"]}},"created_at":"2017-06-20T20:25:05.000Z","updated_at":"2020-06-26T12:51:26.000Z","dependencies_parsed_at":null,"dependency_job_id":"25411dcf-1d64-4d9f-9597-4765c734c8b4","html_url":"https://github.com/practicalli/kata-recent-song-list","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/practicalli/kata-recent-song-list","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/practicalli%2Fkata-recent-song-list","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/practicalli%2Fkata-recent-song-list/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/practicalli%2Fkata-recent-song-list/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/practicalli%2Fkata-recent-song-list/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/practicalli","download_url":"https://codeload.github.com/practicalli/kata-recent-song-list/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/practicalli%2Fkata-recent-song-list/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270005591,"owners_count":24510939,"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-12T02:00:09.011Z","response_time":80,"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":[],"created_at":"2025-05-19T20:15:37.952Z","updated_at":"2025-08-12T05:06:22.938Z","avatar_url":"https://github.com/practicalli.png","language":"Clojure","funding_links":["https://github.com/sponsors/practicalli-johnny"],"categories":[],"sub_categories":[],"readme":"# Socrates 2017 - Clojure \u0026 Haskell kata night\n\nResults of a coding exercise at Socrates 2017, tackling the _recently used list_ kata.\n\nThis kata was interpreted as a song list, something like spotify.  The most recent song playing is at the start of the list.  The list of songs is unique, so no song appears in the list more than once.\n\nTwo teams, one Clojure and one Haskell solved this kata using a TDD approach.  This is the code from the Clojure team\n\n\n## Kata: Recently Used List\n\nDevelop a recently-used-list class to hold strings uniquely in Last-In-First-Out order.\n\n- The most recently added item is first, the least recently added item is last.\n\n- Items can be looked up by index, which counts from zero.\n\n- Items in the list are unique, so duplicate insertions are moved rather than added.\n\n- A recently-used-list is initially empty.\n\nOptional extras:\n\n- Null insertions (empty strings) are not allowed.\n\n- A bounded capacity can be specified, so there is an upper limit to the number of items contained, with the least recently added items dropped on overflow.\n\t   \n\n## Usage\n\nRun the tests using the following terminal command:\n\n```bash\nlein test\n```\n\nRun the tests in Emacs / Spacemacs using `M-x cider-test-run-all-tests`\n\n\nThe code has only been writen to run in the repl\n\n## License\n\nCopyright © 2017 jr0cket\n\nDistributed under the Creative Commons Attribution-ShareAlike 4.0 International\n\n\u003ca rel=\"license\" href=\"http://creativecommons.org/licenses/by-sa/4.0/\"\u003e\u003cimg alt=\"Creative Commons Licence\" style=\"border-width:0\" src=\"https://i.creativecommons.org/l/by-sa/4.0/88x31.png\" /\u003e\u003c/a\u003e\u003cbr /\u003eThis work is licensed under a \u003ca rel=\"license\" href=\"http://creativecommons.org/licenses/by-sa/4.0/\"\u003eCreative Commons Attribution-ShareAlike 4.0 International License\u003c/a\u003e.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpracticalli%2Fkata-recent-song-list","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpracticalli%2Fkata-recent-song-list","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpracticalli%2Fkata-recent-song-list/lists"}