{"id":17597306,"url":"https://github.com/battermann/state-monad-example","last_synced_at":"2025-10-30T22:40:09.995Z","repository":{"id":86688961,"uuid":"106052011","full_name":"battermann/State-Monad-Example","owner":"battermann","description":"Sample code for blog post on combined state and either monad","archived":false,"fork":false,"pushed_at":"2017-10-07T22:19:08.000Z","size":8,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-04T21:20:23.350Z","etag":null,"topics":["either-monad","monad-transformers","scala","state-monad"],"latest_commit_sha":null,"homepage":"http://blog.leifbattermann.de/2017/10/08/error-and-state-handling-with-monad-transformers-in-scala/","language":"Scala","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/battermann.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-10-06T21:32:19.000Z","updated_at":"2019-02-10T01:39:05.000Z","dependencies_parsed_at":null,"dependency_job_id":"5db4ea03-5264-42b1-b940-d90d1c624aad","html_url":"https://github.com/battermann/State-Monad-Example","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/battermann%2FState-Monad-Example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/battermann%2FState-Monad-Example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/battermann%2FState-Monad-Example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/battermann%2FState-Monad-Example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/battermann","download_url":"https://codeload.github.com/battermann/State-Monad-Example/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246239816,"owners_count":20745769,"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":["either-monad","monad-transformers","scala","state-monad"],"created_at":"2024-10-22T09:24:47.071Z","updated_at":"2025-10-30T22:40:09.940Z","avatar_url":"https://github.com/battermann.png","language":"Scala","funding_links":[],"categories":[],"sub_categories":[],"readme":"# State Monad Examples in Scala\n\nThis repository contains the sample code for [Error and state handling with monad transformers in Scala](http://blog.leifbattermann.de/2017/10/08/error-and-state-handling-with-monad-transformers-in-scala/).\n\nSee how Id generation and error handling can be made purely functional by combining the state monad and the either monad with monad transformers in Scala.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbattermann%2Fstate-monad-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbattermann%2Fstate-monad-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbattermann%2Fstate-monad-example/lists"}