{"id":13800217,"url":"https://github.com/paf31/purescript-purview","last_synced_at":"2025-10-22T14:43:11.513Z","repository":{"id":46449124,"uuid":"104687472","full_name":"paf31/purescript-purview","owner":"paf31","description":"A UI library based on the incremental lambda calculus","archived":true,"fork":false,"pushed_at":"2018-07-11T02:37:41.000Z","size":20,"stargazers_count":112,"open_issues_count":3,"forks_count":11,"subscribers_count":12,"default_branch":"master","last_synced_at":"2025-05-01T10:11:21.350Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PureScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/paf31.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-09-25T00:52:07.000Z","updated_at":"2025-04-08T10:42:49.000Z","dependencies_parsed_at":"2022-09-25T04:40:14.294Z","dependency_job_id":null,"html_url":"https://github.com/paf31/purescript-purview","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/paf31%2Fpurescript-purview","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/paf31%2Fpurescript-purview/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/paf31%2Fpurescript-purview/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/paf31%2Fpurescript-purview/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/paf31","download_url":"https://codeload.github.com/paf31/purescript-purview/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253913072,"owners_count":21983250,"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-08-04T00:01:10.540Z","updated_at":"2025-10-22T14:43:11.107Z","avatar_url":"https://github.com/paf31.png","language":"PureScript","readme":"# Purview\n\nA proof-of-concept UI library based on the incremental lambda calculus.\n\n- [Module Documentation](generated-docs/Purview.md)\n- [Counter Example](test/Main.purs)\n\n## Motivation\n\nAs I've claimed before, [you might not need the virtual DOM](http://blog.functorial.com/posts/2018-03-12-You-Might-Not-Need-The-Virtual-DOM.html). In [purescript-sdom](https://github.com/paf31/purescript-sdom/), I tried to remove the need for the virtual DOM by using types to force parts of the DOM structure to be static, and then exploiting that in order to remove the need for a diff algorithm.\n\nHere, I take a different approach, where I restrict the rendering function `model -\u003e view` to the class of _incrementalizable functions_. That is, the rendering function must be computable in the regular sense, but it must also tell us how the view _changes_ in response to changes in the model. In this way, we can avoid a diff algorithm, and use the incremental lambda calculus (provided by [purescript-incremental](https://github.com/paf31/purescript-incremental/)) in order to propagate model changes to the DOM.\n\nThe approach here is to provide an unopinionated toolkit which can be used to define a variety of APIs. An example API is provided for reference. See the [module documentation](generated-docs/Purview.md) for an overview of the API.\n","funding_links":[],"categories":["UI Libraries"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpaf31%2Fpurescript-purview","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpaf31%2Fpurescript-purview","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpaf31%2Fpurescript-purview/lists"}