{"id":17797546,"url":"https://github.com/wolfadex/elm-review-forestry","last_synced_at":"2025-04-02T03:21:35.652Z","repository":{"id":44605949,"uuid":"455358976","full_name":"wolfadex/elm-review-forestry","owner":"wolfadex","description":"An experimental rule for code generation","archived":false,"fork":false,"pushed_at":"2022-02-05T16:09:22.000Z","size":92,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-07T18:15:05.005Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Elm","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/wolfadex.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":"2022-02-03T23:11:39.000Z","updated_at":"2022-02-05T04:11:45.000Z","dependencies_parsed_at":"2022-09-13T14:20:27.153Z","dependency_job_id":null,"html_url":"https://github.com/wolfadex/elm-review-forestry","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/wolfadex%2Felm-review-forestry","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wolfadex%2Felm-review-forestry/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wolfadex%2Felm-review-forestry/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wolfadex%2Felm-review-forestry/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wolfadex","download_url":"https://codeload.github.com/wolfadex/elm-review-forestry/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246747977,"owners_count":20827243,"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-10-27T11:56:18.495Z","updated_at":"2025-04-02T03:21:35.624Z","avatar_url":"https://github.com/wolfadex.png","language":"Elm","funding_links":[],"categories":[],"sub_categories":[],"readme":"# elm-review-forestry\n\nAn exploratory rule for generating code. When enough context is available, it will attempt to replace specific `Debug.todo` with appropriate code. E.g. pattern matching a `Maybe` or `Result` into their branches.\n\nProvides [`elm-review`](https://package.elm-lang.org/packages/jfmengels/elm-review/latest/) rules to generate code.\n\n## Provided rules\n\n- [`PruneTodo`](https://package.elm-lang.org/packages/wolfadex/elm-review-forestry/1.0.0/PruneTodo) - Attempts to replace instances of `Debug.todo \":prune\"` with applicable code..\n\n## Configuration\n\n```elm\nmodule ReviewConfig exposing (config)\n\nimport PruneTodo\nimport Review.Rule exposing (Rule)\n\nconfig : List Rule\nconfig =\n    [ PruneTodo.rule\n    ]\n```\n\n## Try it out\n\nYou can try the example configuration above out by running the following command:\n\n```bash\nelm-review --template wolfadex/elm-review-forestry/example\n```\n\n---\n\nVery much inspired by Haskell's [Wingman](https://haskellwingman.dev/) and [Program Synthesis in Idris](https://www.youtube.com/watch?v=brjFqXkUQv0).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwolfadex%2Felm-review-forestry","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwolfadex%2Felm-review-forestry","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwolfadex%2Felm-review-forestry/lists"}