{"id":22323754,"url":"https://github.com/wdhowe/clojure-snippets","last_synced_at":"2026-03-01T17:32:09.207Z","repository":{"id":129395426,"uuid":"247569014","full_name":"wdhowe/clojure-snippets","owner":"wdhowe","description":"Clojure syntax examples.","archived":false,"fork":false,"pushed_at":"2024-02-07T05:14:01.000Z","size":116,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-07-29T16:20:19.514Z","etag":null,"topics":["clojure","clojure-snippets"],"latest_commit_sha":null,"homepage":"","language":"Clojure","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/wdhowe.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}},"created_at":"2020-03-15T23:23:44.000Z","updated_at":"2024-02-07T04:25:11.000Z","dependencies_parsed_at":"2024-02-07T06:37:23.491Z","dependency_job_id":null,"html_url":"https://github.com/wdhowe/clojure-snippets","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/wdhowe/clojure-snippets","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wdhowe%2Fclojure-snippets","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wdhowe%2Fclojure-snippets/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wdhowe%2Fclojure-snippets/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wdhowe%2Fclojure-snippets/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wdhowe","download_url":"https://codeload.github.com/wdhowe/clojure-snippets/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wdhowe%2Fclojure-snippets/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29976278,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-01T16:35:47.903Z","status":"ssl_error","status_checked_at":"2026-03-01T16:35:44.899Z","response_time":124,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["clojure","clojure-snippets"],"created_at":"2024-12-04T01:11:47.211Z","updated_at":"2026-03-01T17:32:09.187Z","avatar_url":"https://github.com/wdhowe.png","language":"Clojure","funding_links":[],"categories":[],"sub_categories":[],"readme":"# clojure-snippets\n\nClojure example snippets.\n\nShort files that demonstrate syntax and concepts.\n\n----\n\n## Execute\n\nRun individual snippet files via clj -M FILENAME.\n\nExample:\n\n```bash\nclj -M basic_syntax/hello_world.clj\n```\n\nOutput\n\n```bash\nHello Clojure world!\n```\n\n## Descriptions\n\nSnippets\n\n* abstractions -\u003e Creating abstractions with multimethods, protocols, and records.\n* basic_syntax -\u003e Getting started with basic syntax. (hello world, math operators, comparison operators, variables)\n* concurrency -\u003e Processing on multiple threads concurrently. (futures, delays, promises, core.async)\n* data_structures -\u003e Core data types and destructuring them. (lists, maps, sets, vectors)\n* file_operations -\u003e Interacting with files and EDN for configuration.\n* flow_control -\u003e Flow control concepts. (case, cond, exceptions, if, do, when)\n* functions -\u003e Anonymous functions/lambda, multi-arity, composing functions, functions that accept and return functions (apply, partial).\n* http -\u003e Http/get examples.\n* iter_recur -\u003e Iteration and recursion.\n* java_interop -\u003e Using Java's methods, objects, libraries.\n* macros -\u003e Macro definition examples.\n* misc -\u003e Miscellaneous items. (date, fizz buzz)\n* seq_col_funcs -\u003e Core functions that operate against sequence elements and entire collections. (filter, map, reduce, etc)\n* state -\u003e Using state like behavior. (atoms, watchers, validators)\n\nTemplates\n\n* template -\u003e Template for a Clojure CLI/deps project with cli args.\n\n----\n\n## Resources to Get Started\n\n* [Install Clojure](https://gist.github.com/wdhowe/e6fc5e372b85ad8a25fdebf446b1a3e6)\n* [REPL Help](https://gist.github.com/wdhowe/4125856d72714724072f4f6b007273a8)\n* [Creating projects with CLI/Deps](https://gist.github.com/wdhowe/99a4f463f96730002f4c20a058806dda)\n* [Creating projects with Leiningen](https://gist.github.com/wdhowe/78bececa96e577bf26139e4bdc501d47)\n* [Installing plugins for Leiningen](https://gist.github.com/wdhowe/a7df51d5ad2e7f969d78a3bc395f8a88)\n\n----\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwdhowe%2Fclojure-snippets","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwdhowe%2Fclojure-snippets","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwdhowe%2Fclojure-snippets/lists"}