{"id":19050972,"url":"https://github.com/tomasbasham/gonads","last_synced_at":"2025-07-05T18:02:26.538Z","repository":{"id":232517230,"uuid":"652318902","full_name":"tomasbasham/gonads","owner":"tomasbasham","description":"Go module implementing well-known monads","archived":false,"fork":false,"pushed_at":"2023-11-01T00:03:54.000Z","size":20,"stargazers_count":0,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-02T10:12:14.895Z","etag":null,"topics":["golang","monads"],"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/tomasbasham.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.md","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2023-06-11T19:15:28.000Z","updated_at":"2023-06-11T19:21:46.000Z","dependencies_parsed_at":"2024-04-10T05:21:34.122Z","dependency_job_id":"5452e613-7702-4770-bbbd-9c36d8ad86a9","html_url":"https://github.com/tomasbasham/gonads","commit_stats":null,"previous_names":["tomasbasham/gonads"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tomasbasham%2Fgonads","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tomasbasham%2Fgonads/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tomasbasham%2Fgonads/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tomasbasham%2Fgonads/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tomasbasham","download_url":"https://codeload.github.com/tomasbasham/gonads/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240107636,"owners_count":19748861,"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":["golang","monads"],"created_at":"2024-11-08T23:16:48.497Z","updated_at":"2025-02-22T00:26:05.542Z","avatar_url":"https://github.com/tomasbasham.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# gonads ![test](https://github.com/tomasbasham/gonads/workflows/test/badge.svg?event=push)\n\nIn [functional\nprogramming](https://en.wikipedia.org/wiki/Functional_programming) a monad is\na structure that encapsulates a function, and its return value(s), in a type\nproviding more deterministic computational behaviours, and mitigating\nside-effects. Mondas may be used to reduce boilerplate code needed for common\noperations, such as dealing with optional or undefined values safely.\n\nThis module implements some well-known monadic structures that can be used in\nGo programs to introduce functional paradigms.\n\n## Prerequisites\n\nYou will need the following things properly installed on your computer.\n\n- [Go](https://golang.org/): any one of the **three latest major**\n  [releases](https://golang.org/doc/devel/release.html)\n\n## Installation\n\nWith [Go module](https://github.com/golang/go/wiki/Modules) support (Go 1.11+),\nsimply add the following import\n\n```go\nimport \"github.com/tomasbasham/gonads\"\n```\n\nto your code, and then `go [build|run|test]` will automatically fetch the\nnecessary dependencies.\n\nOtherwise, to install the `gonads` module, run the following command:\n\n```bash\n$ go get -u github.com/tomasbasham/gonads\n```\n\n## License\n\nThis project is licensed under the [MIT License](LICENSE.md).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftomasbasham%2Fgonads","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftomasbasham%2Fgonads","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftomasbasham%2Fgonads/lists"}