{"id":16411139,"url":"https://github.com/phoe/list-named-class","last_synced_at":"2026-03-02T10:31:48.678Z","repository":{"id":111724261,"uuid":"151974095","full_name":"phoe/list-named-class","owner":"phoe","description":"CLOS extension - name classes after lists of symbols","archived":false,"fork":false,"pushed_at":"2019-02-16T10:43:24.000Z","size":14,"stargazers_count":8,"open_issues_count":1,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-24T04:27:04.386Z","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":"2018-10-07T18:48:49.000Z","updated_at":"2023-10-09T15:04:28.000Z","dependencies_parsed_at":null,"dependency_job_id":"1496c037-84c0-441f-aeb6-95291f1b14a5","html_url":"https://github.com/phoe/list-named-class","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/phoe/list-named-class","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phoe%2Flist-named-class","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phoe%2Flist-named-class/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phoe%2Flist-named-class/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phoe%2Flist-named-class/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/phoe","download_url":"https://codeload.github.com/phoe/list-named-class/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phoe%2Flist-named-class/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29998513,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-02T09:59:02.300Z","status":"ssl_error","status_checked_at":"2026-03-02T09:59:02.001Z","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-11T06:44:37.638Z","updated_at":"2026-03-02T10:31:48.353Z","avatar_url":"https://github.com/phoe.png","language":"Common Lisp","funding_links":[],"categories":[],"sub_categories":[],"readme":"# LIST-NAMED-CLASS\n\nIn ANSI Common Lisp, all classes must be named by symbols.\n\nThis system makes it possible to name classes by lists of symbols instead, using\nonly standard MOP wizardry.\n\nTested on SBCL, ECL and CCL.\n\n## Example\n\n```common-lisp\nLIST-NAMED-CLASS\u003e (defclass (foo) () ())\n#\u003cLIST-NAMED-CLASS (FOO)\u003e\n\nLIST-NAMED-CLASS\u003e (find-class '(foo))\n#\u003cLIST-NAMED-CLASS (FOO)\u003e\n\nLIST-NAMED-CLASS\u003e (make-instance '(foo))\n#\u003c(FOO) {10116348B3}\u003e\n\nLIST-NAMED-CLASS\u003e (defclass (bar) () ((slot :initarg :slot :accessor slot)))\n#\u003cLIST-NAMED-CLASS (BAR)\u003e\n\nLIST-NAMED-CLASS\u003e (make-instance '(bar))\n#\u003c(BAR) {1011907C63}\u003e\n\nLIST-NAMED-CLASS\u003e (setf (slot *) 42)\n42\n\nLIST-NAMED-CLASS\u003e (slot **)\n42\n\nLIST-NAMED-CLASS\u003e (defclass (bar baz) () ())\n#\u003cLIST-NAMED-CLASS (BAR BAZ)\u003e\n\nLIST-NAMED-CLASS\u003e (defgeneric foo (bar baz)\n                    (:method ((bar (bar baz)) (baz (bar baz))) 42))\n#\u003cCOMMON-LISP:STANDARD-GENERIC-FUNCTION LIST-NAMED-CLASS::FOO (1)\u003e\n\nLIST-NAMED-CLASS\u003e (foo (make-instance '(bar baz)) (make-instance '(bar baz)))\n42\n\nLIST-NAMED-CLASS\u003e (defmethod foo ((bar string) (baz (bar baz))) :nook)\n#\u003cSTANDARD-METHOD LIST-NAMED-CLASS::FOO\n  (STRING (CLASS #\u003cLIST-NAMED-CLASS (BAR BAZ)\u003e)) {10181D4FB3}\u003e\n\nLIST-NAMED-CLASS\u003e (foo \"a\" (make-instance '(bar baz)))\n:NOOK\n\nLIST-NAMED-CLASS\u003e (defclass (parent) () ())\n#\u003cLIST-NAMED-CLASS (PARENT)\u003e\n\nLIST-NAMED-CLASS\u003e (defclass (child) ((parent)) ())\n#\u003cLIST-NAMED-CLASS (CHILD)\u003e\n\nLIST-NAMED-CLASS\u003e (defclass parent-2 () ())\n#\u003cSTANDARD-CLASS LIST-NAMED-CLASS::PARENT-2\u003e\n\nLIST-NAMED-CLASS\u003e (defclass child-2 ((parent) parent-2) ())\n#\u003cSTANDARD-CLASS CHILD-2\u003e\n```\n\n## Usage\n\nPackage `LIST-NAMED-CLASS` contains symbols `DEFCLASS`, `DEFGENERIC`,\n`DEFMETHOD`, `FIND-CLASS`, `MAKE-INSTANCE`, and `CHANGE-CLASS` that are meant to\nbe shadowing-imported into your package. The most convenient way to do so is to\nuse `UIOP:DEFINE-PACKAGE`'s `:MIX` option:\n\n```\n(uiop:define-package my-package\n  (:mix #:list-named-class #:cl))\n```\n\nAll classes named after lists are subclasses of class `LIST-NAMED-CLASS`.\n\nAll instances of classes named after lists are subclasses of class\n`LIST-NAMED-INSTANCE`.\n\n## License\n\nCopyright © 2018 Michał \"phoe\" Herda\n\nPermission is hereby granted, free of charge, to any person\nobtaining a copy of this software and associated documentation\nfiles (the “Software”), to deal in the Software without\nrestriction, including without limitation the rights to use,\ncopy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the\nSoftware is furnished to do so, subject to the following\nconditions:\n\nThe above copyright notice and this permission notice shall be\nincluded in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND,\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES\nOF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND\nNONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT\nHOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,\nWHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING\nFROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR\nOTHER DEALINGS IN THE SOFTWARE.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphoe%2Flist-named-class","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fphoe%2Flist-named-class","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphoe%2Flist-named-class/lists"}