{"id":20630455,"url":"https://github.com/mkj-is/elementaryeffectbuilder","last_synced_at":"2026-05-14T21:32:14.930Z","repository":{"id":63918587,"uuid":"219376666","full_name":"mkj-is/ElementaryEffectBuilder","owner":"mkj-is","description":"Experimental, uni-directional and purely functional effect builder in Swift.","archived":false,"fork":false,"pushed_at":"2021-07-14T08:19:55.000Z","size":26,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-08-31T22:37:36.252Z","etag":null,"topics":["effects","elm","function-builder","function-composition","redux-sagas","swift","unidirectional-data-flow"],"latest_commit_sha":null,"homepage":"","language":"Swift","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/mkj-is.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-11-03T22:52:57.000Z","updated_at":"2023-03-17T12:20:05.000Z","dependencies_parsed_at":"2023-01-14T14:00:24.763Z","dependency_job_id":null,"html_url":"https://github.com/mkj-is/ElementaryEffectBuilder","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/mkj-is/ElementaryEffectBuilder","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mkj-is%2FElementaryEffectBuilder","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mkj-is%2FElementaryEffectBuilder/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mkj-is%2FElementaryEffectBuilder/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mkj-is%2FElementaryEffectBuilder/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mkj-is","download_url":"https://codeload.github.com/mkj-is/ElementaryEffectBuilder/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mkj-is%2FElementaryEffectBuilder/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273061090,"owners_count":25038596,"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-08-31T02:00:09.071Z","response_time":79,"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":["effects","elm","function-builder","function-composition","redux-sagas","swift","unidirectional-data-flow"],"created_at":"2024-11-16T14:07:54.482Z","updated_at":"2025-10-15T08:31:56.173Z","avatar_url":"https://github.com/mkj-is.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ElementaryEffectBuilder\n\n[**Elementary**](https://github.com/mkj-is/Elementary) uni-directional architecture extension in Swift. This package function builder for creating and combining effects.\nIt is inspired by Redux sagas.\n\n## Installation\n\nWhen using Swift package manager install using Xcode 11+ or add following line to your dependencies:\n\n```swift\n.package(url: \"https://github.com/mkj-is/ElementaryEffectBuilder.git\", from: \"0.1.0\")\n```\n\n## Usage\n\nMain feature of this package is combining effects function into one:\n\n```swift\nlet appEffect: Effect\u003cAppState, AppAction\u003e = buildEffect {\n    createNetworkEffect()\n    createPersistenceEffect()\n    createUrlEffect()\n}\n```\n\nAlso `take` functions for building effects are provided.\nSee the following example:\n\n```swift\nfunc createUrlEffect(application: UIApplication = .shared) -\u003e Effect\u003cAppState, AppAction\u003e {\n    take(\n        AppAction.openHomepage,\n        execute: { application.open(URL(string: \"https://mkj.is\")!) }\n    )\n}\n```\n\n## Contributing\n\nAll contributions are welcome.\n\nProject was created by [Matěj Kašpar Jirásek](https://github.com/mkj-is).\n\nProject is licensed under [MIT license](LICENSE.txt).\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmkj-is%2Felementaryeffectbuilder","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmkj-is%2Felementaryeffectbuilder","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmkj-is%2Felementaryeffectbuilder/lists"}