{"id":17836177,"url":"https://github.com/mdw-go/funcy","last_synced_at":"2025-10-17T12:36:37.460Z","repository":{"id":65200066,"uuid":"583286759","full_name":"mdw-go/funcy","owner":"mdw-go","description":"Functional programming toolkit for Go","archived":false,"fork":false,"pushed_at":"2024-10-19T07:06:57.000Z","size":101,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-03T05:41:16.424Z","etag":null,"topics":["functional-programming","generics","golang","mapreduce"],"latest_commit_sha":null,"homepage":"","language":"Go","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/mdw-go.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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":"2022-12-29T10:21:52.000Z","updated_at":"2024-10-19T07:06:50.000Z","dependencies_parsed_at":"2024-08-27T06:29:37.969Z","dependency_job_id":"a0b16194-04f3-4ef5-9f71-583e7d044731","html_url":"https://github.com/mdw-go/funcy","commit_stats":{"total_commits":31,"total_committers":2,"mean_commits":15.5,"dds":"0.12903225806451613","last_synced_commit":"a7acc4cf11630262ab7ff3369614769d118da8d8"},"previous_names":["mdw-go/funcy","mdwhatcott/funcy"],"tags_count":30,"template":false,"template_full_name":null,"purl":"pkg:github/mdw-go/funcy","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mdw-go%2Ffuncy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mdw-go%2Ffuncy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mdw-go%2Ffuncy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mdw-go%2Ffuncy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mdw-go","download_url":"https://codeload.github.com/mdw-go/funcy/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mdw-go%2Ffuncy/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267496044,"owners_count":24097098,"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-07-28T02:00:09.689Z","response_time":68,"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":["functional-programming","generics","golang","mapreduce"],"created_at":"2024-10-27T20:34:02.052Z","updated_at":"2025-10-17T12:36:32.417Z","avatar_url":"https://github.com/mdw-go.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# github.com/mdw-go/funcy `[DEPRECATED]`\n\nNOTE: the `funcy` package described first below has been deprecated, in effect having been replaced by the `funcy/ranger` package (describe farther below).\n\n---\n\n[![GoDoc](https://godoc.org/github.com/mdw-go/funcy?status.svg)](http://godoc.org/github.com/mdw-go/funcy)\n\nWhat is this?\n\n\u003e A library providing functional-style operations like Map/Reduce/Filter (to name a few) implemented in Go w/ generics.\n\nBut Rob Pike [says we should just write for loops instead](https://github.com/robpike/filter)...\n\n\u003e Sorry, I guess [I just couldn't resist](https://twitter.com/codewisdom/status/1056162850220240896). I extend apologies to all the Go purists who are annoyed by this.\n\nAre you aware that this approach lacks lazy evaluation, generates a ton of garbage, and won't scale for increasingly large inputs?\n\n\u003e Yup. I extend apologies to all the functional purists who are annoyed by this.\n\nHow would one install it? (Asking for a friend...)\n\n\u003e `go get github.com/mdw-go/funcy`\n\u003e \n\u003e Enjoy!\n\n---\n\n# github.com/mdw-go/funcy/ranger\n\n[![GoDoc](https://godoc.org/github.com/mdw-go/funcy/ranger?status.svg)](http://godoc.org/github.com/mdw-go/funcy/ranger)\n\nDespite what I thought was a very cleverly written disclaimer (above), Go went and released version 1.23 with iterators, which means we can have our cake and eat it too, a phrase which here means that lazy evaluation is now possible and so we no longer need upset functional purists!\n\nI'm not sure how Rob feels about all this, but I sincerely hope you do enjoy the `funcy/ranger` package, with [many accompanying examples](https://github.com/mdw-go/funcy/tree/main/ranger/examples).","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmdw-go%2Ffuncy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmdw-go%2Ffuncy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmdw-go%2Ffuncy/lists"}