{"id":17760584,"url":"https://github.com/fuco1/dollar-if","last_synced_at":"2026-01-11T03:03:01.621Z","repository":{"id":15250717,"uuid":"17979749","full_name":"Fuco1/dollar-if","owner":"Fuco1","description":"Anaphoric if macro","archived":false,"fork":false,"pushed_at":"2014-03-21T12:51:27.000Z","size":100,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-01T13:15:31.232Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"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/Fuco1.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":"2014-03-21T12:50:39.000Z","updated_at":"2017-08-03T18:05:48.000Z","dependencies_parsed_at":"2022-08-02T20:15:48.646Z","dependency_job_id":null,"html_url":"https://github.com/Fuco1/dollar-if","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Fuco1/dollar-if","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Fuco1%2Fdollar-if","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Fuco1%2Fdollar-if/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Fuco1%2Fdollar-if/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Fuco1%2Fdollar-if/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Fuco1","download_url":"https://codeload.github.com/Fuco1/dollar-if/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Fuco1%2Fdollar-if/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28274250,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-11T02:08:32.518Z","status":"ssl_error","status_checked_at":"2026-01-11T02:08:32.093Z","response_time":60,"last_error":"SSL_read: 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":[],"created_at":"2024-10-26T19:06:04.047Z","updated_at":"2026-01-11T03:03:01.606Z","avatar_url":"https://github.com/Fuco1.png","language":null,"readme":"# $if---anaphoric if with named subexpressions\n\nFor when you want to refer to a subexpression of condition from the true/false body.\n\n## Examples\nThe comments show the name of the preceeding expression.\n\n```scheme\n($if (or (\u003c 10 3) ;; $1\n         (listp\n          '(1 2 3) ;; $3\n          ) ;; $2\n         ) ;; $0\n    (list $1 $2 (-sum $3))\n  (do-some-stuff)) =\u003e (nil t 6)\n\n($if (not\n      (listp\n       '(1 2 3) ;; $2\n       ) ;; $1\n      ) ;; $0\n    (do-some-stuff)\n  $2) =\u003e (1 2 3)\n\n($if (+ 1 2 3 4) $0) =\u003e 10\n;; this is equivalent to (--if-let (...) it) from dash\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffuco1%2Fdollar-if","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffuco1%2Fdollar-if","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffuco1%2Fdollar-if/lists"}