{"id":17321222,"url":"https://github.com/lambda-fairy/origami","last_synced_at":"2025-03-27T03:16:29.106Z","repository":{"id":26876703,"uuid":"30337262","full_name":"lambda-fairy/origami","owner":"lambda-fairy","description":"Folding utilities","archived":false,"fork":false,"pushed_at":"2015-10-21T08:53:06.000Z","size":172,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-17T11:59:20.291Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lambda-fairy.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-02-05T04:14:38.000Z","updated_at":"2016-11-15T05:12:31.000Z","dependencies_parsed_at":"2022-09-01T21:40:29.407Z","dependency_job_id":null,"html_url":"https://github.com/lambda-fairy/origami","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/lambda-fairy%2Forigami","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lambda-fairy%2Forigami/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lambda-fairy%2Forigami/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lambda-fairy%2Forigami/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lambda-fairy","download_url":"https://codeload.github.com/lambda-fairy/origami/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245773173,"owners_count":20669719,"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-15T13:35:52.255Z","updated_at":"2025-03-27T03:16:29.088Z","avatar_url":"https://github.com/lambda-fairy.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Origami [![Build Status](https://img.shields.io/travis/lfairy/origami.svg)](http://travis-ci.org/lfairy/origami)\n\nFolding utilities.\n\nA [fold][] is when you reduce a collection down to a summary value. Many iterator methods, like `.count()`, `.sum()`, `.max()` etc., are folds.\n\nHowever the folds in the standard library, while easy to use, are not very flexible. They work strictly from left-to-right, and cannot run in parallel.\n\nThis library provides an alternative formulation of these folds, in terms of [semigroups][] and [monoids][]. These structures decouple the core operation (\"what\") from the execution strategy (\"how\"), giving you more control over how your folds run.\n\n[fold]: https://en.wikipedia.org/wiki/Fold_%28higher-order_function%29\n[monoids]: https://en.wikipedia.org/wiki/Monoid\n[semigroups]: https://en.wikipedia.org/wiki/Semigroup\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flambda-fairy%2Forigami","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flambda-fairy%2Forigami","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flambda-fairy%2Forigami/lists"}