{"id":22098624,"url":"https://github.com/kenpusney/fed","last_synced_at":"2026-02-17T18:02:06.916Z","repository":{"id":146300306,"uuid":"55946350","full_name":"kenpusney/fed","owner":"kenpusney","description":"The Federal of Programming Languages","archived":false,"fork":false,"pushed_at":"2016-04-11T06:55:07.000Z","size":0,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-24T01:35:56.017Z","etag":null,"topics":["design-document","fed","programming-language"],"latest_commit_sha":null,"homepage":"","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/kenpusney.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":"2016-04-11T06:11:23.000Z","updated_at":"2019-06-10T08:22:53.000Z","dependencies_parsed_at":null,"dependency_job_id":"4d00226c-cdeb-43c8-a79b-acad2e0e97e7","html_url":"https://github.com/kenpusney/fed","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/kenpusney/fed","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kenpusney%2Ffed","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kenpusney%2Ffed/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kenpusney%2Ffed/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kenpusney%2Ffed/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kenpusney","download_url":"https://codeload.github.com/kenpusney/fed/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kenpusney%2Ffed/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278723919,"owners_count":26034691,"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-10-07T02:00:06.786Z","response_time":59,"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":["design-document","fed","programming-language"],"created_at":"2024-12-01T04:21:13.656Z","updated_at":"2025-10-07T05:34:46.030Z","avatar_url":"https://github.com/kenpusney.png","language":null,"readme":"# Fed Programming Language\n\n - Derived from Ng\n - Explicit type, although sometimes it can be inferred\n - No macros, they are all **bullshit** (instead you can invent one)\n - Templates made simple\n - ADT \u0026\u0026 HKT support\n - Unified function call syntax\n - Value semantics\n - Strong type safety\n - No GC and lifetime annotation\n\n# Examples\n\n```haskell\n-- cons means: Constructor\ntype List\u003c't\u003e = cons Cons('t, List\u003c't\u003e) | cons Nil\n\n-- this is it\ntype array\u003c't, arity: Int\u003e\n\nget :: array\u003c't, n\u003e -\u003e Int -\u003e Maybe 't\n\n-- You can also emit the `array\u003cInt, 5\u003e` shit by some compiler magic\nval shit: array\u003cInt, 5\u003e {1, 2, 3, 4, 5}\n\n-- It's 4, seriously\nshit.get(3) |\u003e print\n\nval list: Cons(1, Cons(2, Cons(3, Cons(4, Cons(5)))))\n\nlength :: List\u003c't\u003e -\u003e Int\nlength l = case l\n   | Cons(x, xs) =\u003e length(xs) + 1\n   | Nil =\u003e 0\n\ntype Fact\u003cx: Int\u003e = {\n    value: x * Fact\u003cx-1\u003e.value\n}\n\n-- Fuck me, please\ntype Fact\u003c0\u003e = {value: 1}\n\nfact :: Int -\u003e Int\nfact n = Fact\u003cn\u003e::value\n\n-- array_of_int\u003c5\u003e == array\u003cInt, 5\u003e\ntype array_of_int = array\u003cInt\u003e\n\n-- array_of_char\u003c5\u003e != array\u003cChar, 5\u003e\ntype! array_of_char = array\u003cChar\u003e\n\ntype ref\u003c't\u003e = ref 't\n\n(~\u003e) :: ref\u003c't\u003e -\u003e 't\n\nval shit2 = ref shit\n\n-- :) shit2~\u003eget(3) for short\nshit2.~\u003e.get(3)\n\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkenpusney%2Ffed","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkenpusney%2Ffed","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkenpusney%2Ffed/lists"}