{"id":16488693,"url":"https://github.com/bts/free-transformers","last_synced_at":"2026-02-13T08:57:43.504Z","repository":{"id":139262500,"uuid":"71492296","full_name":"bts/free-transformers","owner":"bts","description":"Experimenting with \"free transformers\" in Haskell","archived":false,"fork":false,"pushed_at":"2017-02-01T16:13:52.000Z","size":26,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-09T13:05:53.118Z","etag":null,"topics":["effects","free","free-monad","haskell","interpreter","modularity","onion-architecture"],"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/bts.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":"2016-10-20T18:29:44.000Z","updated_at":"2016-11-01T05:42:18.000Z","dependencies_parsed_at":null,"dependency_job_id":"50776bae-799e-4674-9b51-42cf260c4ea6","html_url":"https://github.com/bts/free-transformers","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/bts/free-transformers","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bts%2Ffree-transformers","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bts%2Ffree-transformers/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bts%2Ffree-transformers/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bts%2Ffree-transformers/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bts","download_url":"https://codeload.github.com/bts/free-transformers/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bts%2Ffree-transformers/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":281336553,"owners_count":26483849,"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-10-27T02:00:05.855Z","response_time":61,"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","free","free-monad","haskell","interpreter","modularity","onion-architecture"],"created_at":"2024-10-11T13:39:40.733Z","updated_at":"2025-10-27T20:30:49.480Z","avatar_url":"https://github.com/bts.png","language":"Haskell","funding_links":[],"categories":[],"sub_categories":[],"readme":"*UPDATE*: I've worked this into a library in a private project, that abstracts over `Free` and CPS'd `F` for efficiency. If you'd be interested in using this, let me know and I can release a package.\n\n----------------------\n\nAn example Haskell implementation of the\n\"[free transformers](http://degoes.net/articles/modern-fp-part-2)\" approach to\nbuilding modular programs by composing layers of `Free` interpreters.\n\nThis was adapted from a combination of:\n- http://mpickering.github.io/posts/2014-12-20-closed-type-family-data-types.html\n- http://degoes.net/articles/modern-fp\n- http://degoes.net/articles/modern-fp-part-2\n- https://github.com/notxcain/onion-architecure\n- https://gist.github.com/jdegoes/97459c0045f373f4eaf126998d8f65dc\n\nIn this example, the code does not (yet) go so far as to abstract over the\n\"computational context\" (i.e. sequential/`Free` vs parallel/`FreeAp`) --\neverything is currently sequential.\n\nIf you have any tips/ideas/fixes, please let me know!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbts%2Ffree-transformers","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbts%2Ffree-transformers","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbts%2Ffree-transformers/lists"}