{"id":15663073,"url":"https://github.com/robrix/manifold","last_synced_at":"2025-05-06T02:38:54.762Z","repository":{"id":66711111,"uuid":"134107564","full_name":"robrix/Manifold","owner":"robrix","description":"Another experiment in dependently typed languages, this time with some quantitative type theory smooshed in.","archived":false,"fork":false,"pushed_at":"2018-10-12T18:06:47.000Z","size":488,"stargazers_count":18,"open_issues_count":5,"forks_count":0,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-02-25T16:43:39.259Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Haskell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/robrix.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","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-05-20T00:20:27.000Z","updated_at":"2022-04-30T11:46:06.000Z","dependencies_parsed_at":"2023-02-27T18:45:52.103Z","dependency_job_id":null,"html_url":"https://github.com/robrix/Manifold","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robrix%2FManifold","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robrix%2FManifold/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robrix%2FManifold/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robrix%2FManifold/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/robrix","download_url":"https://codeload.github.com/robrix/Manifold/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242783050,"owners_count":20184418,"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","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-03T13:35:24.967Z","updated_at":"2025-03-10T03:32:36.548Z","avatar_url":"https://github.com/robrix.png","language":"Haskell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# `Manifold`\n\nAn experiment in [quantitative type theory][] inspired by [@bentnib][] \u0026 [@pigworker][].\n\n[@bentnib]: https://twitter.com/bentnib\n[@pigworker]: https://twitter.com/pigworker\n[quantitative type theory]: https://bentnib.org/quantitative-type-theory.html\n\n\n## Goals\n\n- Understand QTT better than I do at time of writing\n- Practice skills involved in working with languages: DSLs, effects, parsing, typechecking, evaluation, etc.\n\n\n## Non-goals\n\n- A consistent logic (at least, not until I learn more about termination proofs)\n- Reasonableness, stability, etc.; please don’t write software in this language (but if you must, feel free to file issues)\n\n\n## Getting started\n\nAfter cloning (with submodules), `cabal new-repl` in the project will launch `ghci`. Then:\n\n- `import Manifold.REPL` to bring the REPL symbols into scope\n- `runIO repl` to run the Manifold REPL inside `ghci`\n\nThere’s not a lot you can do with it just yet, but `:help` will tell you about the meta-commands you can run, and you can write little programs in the language’s (quite ad hoc) syntax:\n\n```\nλ: True\nTrue\nλ: (\\ (x : Bool) . x)\n\\ x : ◊ . x\nλ: :t (\\ (x : Bool) . x)\n(x @() : Bool) -\u003e Bool\nλ: (\\ (x : Bool) . x) True\nTrue\n```\n\n(As this project is purely experimental, that syntax may change without warning.)\n\nNote that the syntax is currently extremely explicit; not only do you have to include all type abstractions and applications explicitly, you also have to annotate all variable introductions: `let`s, pi types, and lambdas all take type annotations:\n\n```\nλ: let (id : (x : Type) -\u003e x -\u003e x) = (\\ (x : Type) (y : x) . y) in id Bool True\nTrue\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frobrix%2Fmanifold","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frobrix%2Fmanifold","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frobrix%2Fmanifold/lists"}