{"id":16411162,"url":"https://github.com/phoe/binding-arrows","last_synced_at":"2026-02-01T15:31:49.205Z","repository":{"id":111724058,"uuid":"314684916","full_name":"phoe/binding-arrows","owner":"phoe","description":"An implementation of threading macros based on binding anonymous variables.","archived":false,"fork":false,"pushed_at":"2024-03-28T19:51:31.000Z","size":84,"stargazers_count":23,"open_issues_count":2,"forks_count":2,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-06-09T00:05:29.467Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Common Lisp","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/phoe.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}},"created_at":"2020-11-20T22:30:49.000Z","updated_at":"2024-12-04T23:31:31.000Z","dependencies_parsed_at":null,"dependency_job_id":"695a9aec-ab6f-42e8-8fb2-f7defd6367ec","html_url":"https://github.com/phoe/binding-arrows","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/phoe/binding-arrows","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phoe%2Fbinding-arrows","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phoe%2Fbinding-arrows/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phoe%2Fbinding-arrows/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phoe%2Fbinding-arrows/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/phoe","download_url":"https://codeload.github.com/phoe/binding-arrows/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phoe%2Fbinding-arrows/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28981070,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-01T13:38:33.235Z","status":"ssl_error","status_checked_at":"2026-02-01T13:38:32.912Z","response_time":56,"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":[],"created_at":"2024-10-11T06:44:41.523Z","updated_at":"2026-02-01T15:31:49.191Z","avatar_url":"https://github.com/phoe.png","language":"Common Lisp","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Binding Arrows\n\nAn implementation of threading macros based on binding anonymous variables.\n\n## Overview\n\nThis system implements binding threading macros - a kind of threading macros with different semantics than classical, [Clojure core threading macros](https://clojure.org/guides/threading_macros) or their extension, [swiss-arrows](https://github.com/rplevy/swiss-arrows). Two Common Lisp implementations of those are [arrows](https://github.com/Harleqin/arrows) and [arrow-macros](https://github.com/hipeta/arrow-macros).\n\nThis system is a fork of [arrows](https://github.com/Harleqin/arrows) with changes in semantics that make it impossible to merge back upstream.\n\n## What's the difference?\n\nA binding threading macro implicitly binds a variable on each computation step, as opposed to working purely on the syntactic level like the classical threading macros.\n\nThis has three main implications:\n\n* Binding threading macros expand into a `let*` form.\n  * Binding threading macros are nicer to read when macroexpanded.\n  * Binding threading macros preserve intermediate binding steps for the debugger.\n  * `setf` expansions are handled by explicit `setf` expanders for each macro.\n* Binding threading macros assume that it is possible to evaluate each form resulting from threading each computation step.\n  * This also means that e.g. `(-\u003e foo (defun (bar) (1+ bar)))` is going to expand into a correct `defun` form on a traditional threading macro implementation, but will fail on a binding implementation (e.g. this one).\n* Expansions of binding threading macros perform the aforementioned evaluation.\n  * This means that e.g. `(-\u003e\u003e (loop) (or t))` is going to return `t` on a traditional (Clojure-like) implementation of threading macros, but **will hang on a binding implementation** (e.g. this one).\n\n\n## Contents\n\nThis system contains a package `binding-arrows` that exports the following symbols:\n\n* threading macros `-\u003e` and `-\u003e\u003e`,\n* diamond threading macros `-\u003c\u003e` and `-\u003c\u003e\u003e`,\n* short-circuiting threading macros `some-\u003e` and `some-\u003e\u003e`,\n* short-circuiting diamond threading macros `some-\u003c\u003e` and `some-\u003c\u003e\u003e`,\n* conditional threading macros `cond-\u003e` and `cond-\u003e\u003e`,\n* conditional diamond threading macros `cond-\u003c\u003e` and `cond-\u003c\u003e\u003e`,\n* inverted threading macro `-\u003e*`,\n* named threading macro `as-\u003e`,\n* inverted named threading macro `as-\u003e*`.\n\nAll of the aforementioned threading macros name valid places for use in `setf`.\n\n## Loading\n\n`(ql:quickload :binding-arrows)`\n\n## Testing\n\n`(asdf:test-system :binding-arrows)`\n\n## Manual pages\n\n* [Tutorial](doc/TUTORIAL.md)\n* [Documentation](doc/DOCUMENTATION.md)\n* [Examples](doc/EXAMPLES.md)\n\n## License\n\nMIT.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphoe%2Fbinding-arrows","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fphoe%2Fbinding-arrows","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphoe%2Fbinding-arrows/lists"}