{"id":15653103,"url":"https://github.com/robrix/ui-effects","last_synced_at":"2025-04-30T21:10:58.570Z","repository":{"id":45751943,"uuid":"67315106","full_name":"robrix/ui-effects","owner":"robrix","description":"An experiment towards a UI programming model inspired by algebraic effects.","archived":false,"fork":false,"pushed_at":"2017-05-15T03:52:17.000Z","size":592,"stargazers_count":30,"open_issues_count":7,"forks_count":1,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-03-30T20:04:05.906Z","etag":null,"topics":["algebraic-effects"],"latest_commit_sha":null,"homepage":"","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":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-09-03T22:50:19.000Z","updated_at":"2023-07-05T10:03:52.000Z","dependencies_parsed_at":"2022-08-31T04:41:58.652Z","dependency_job_id":null,"html_url":"https://github.com/robrix/ui-effects","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%2Fui-effects","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robrix%2Fui-effects/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robrix%2Fui-effects/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robrix%2Fui-effects/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/robrix","download_url":"https://codeload.github.com/robrix/ui-effects/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251782776,"owners_count":21642987,"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":["algebraic-effects"],"created_at":"2024-10-03T12:44:41.528Z","updated_at":"2025-04-30T21:10:58.545Z","avatar_url":"https://github.com/robrix.png","language":"Haskell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# UI effects\n\nAn experiment exploring a UI programming model inspired by algebraic effects.\n\n\n## Languages\n\nAn algebraic effect system such as [Oleg Kiselyov’s presentation](http://okmij.org/ftp/Haskell/extensible/) might model individual effects as the combination of a functor and a handler function which performs the actions represented in the datatype. In like fashion, the current work represents each aspect of UI programming—layouts, drawings, interactions, etc.—as a functor with an associated function to perform its actions.\n\nWhere we start to diverge is to think of these functors as being _languages_ instead of _effects_, and of their corresponding functions as _interpreters_ instead of _handlers_.\n\nTo be precise, each language is an embedded DSL. Each functor has associated “smart” constructors which wrap a single, nonrecursive value up into a recursive structure, and the result is an idiomatic Haskell API presenting the facilities offered by the language in question.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frobrix%2Fui-effects","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frobrix%2Fui-effects","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frobrix%2Fui-effects/lists"}