{"id":17157306,"url":"https://github.com/eksperimental/buildable","last_synced_at":"2025-07-16T16:32:36.750Z","repository":{"id":55509768,"uuid":"324291746","full_name":"eksperimental/buildable","owner":"eksperimental","description":null,"archived":false,"fork":false,"pushed_at":"2021-12-20T00:59:08.000Z","size":151,"stargazers_count":7,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-02T23:24:17.334Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Elixir","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/eksperimental.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":"2020-12-25T05:07:32.000Z","updated_at":"2024-12-26T02:03:21.000Z","dependencies_parsed_at":"2022-08-15T02:01:16.228Z","dependency_job_id":null,"html_url":"https://github.com/eksperimental/buildable","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/eksperimental/buildable","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eksperimental%2Fbuildable","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eksperimental%2Fbuildable/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eksperimental%2Fbuildable/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eksperimental%2Fbuildable/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/eksperimental","download_url":"https://codeload.github.com/eksperimental/buildable/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eksperimental%2Fbuildable/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265524640,"owners_count":23782016,"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-14T22:08:47.145Z","updated_at":"2025-07-16T16:32:36.709Z","avatar_url":"https://github.com/eksperimental.png","language":"Elixir","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Buildable\n\n**TODO: Add description**\n\n`Buildable` is a protocol that allows users to build terms that implement this protocol.\n\nThe very basic version of any term type can be implemented with only three functions:\n- `empty/1`: which returns the empty representation of the term;\n- `insert/3`: which inserts an element into the term;\n- `extract/2`: which extracts an element out of the term.\n\nThere are other two protocols that get automatically implemeneted, based on the fallback implementations for `Buildable`,\nwhich are:\n- `Buildable.Collectable`: it collects elements into a buildable term. It is analog to Elixir core's `Collectable`, with a minor improvement.\n- `Buildable.Reducible`: it reduces the buildable into an element. It is analog to Elixir core's `Enumerable.reduce/3`.\n\n## Installation\n\nIf [available in Hex](https://hex.pm/docs/publish), the package can be installed\nby adding `buildable` to your list of dependencies in `mix.exs`:\n\n```elixir\ndef deps do\n  [\n    {:buildable, \"~\u003e 0.1.0\"}\n  ]\nend\n```\n\nDocumentation can be generated with [ExDoc](https://github.com/elixir-lang/ex_doc)\nand published on [HexDocs](https://hexdocs.pm). Once published, the docs can\nbe found at [https://hexdocs.pm/buildable](https://hexdocs.pm/buildable).\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feksperimental%2Fbuildable","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feksperimental%2Fbuildable","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feksperimental%2Fbuildable/lists"}