{"id":16679614,"url":"https://github.com/mfelsche/pony-maybe","last_synced_at":"2026-01-02T03:23:38.453Z","repository":{"id":143100583,"uuid":"158699781","full_name":"mfelsche/pony-maybe","owner":"mfelsche","description":"Utilities for working with optional values in Pony :horse: :no_entry_sign:","archived":false,"fork":false,"pushed_at":"2020-04-20T08:23:37.000Z","size":10,"stargazers_count":6,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-20T04:18:52.638Z","etag":null,"topics":["optional","pony-language","ponylang"],"latest_commit_sha":null,"homepage":"","language":"Pony","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/mfelsche.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":null,"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,"publiccode":null,"codemeta":null}},"created_at":"2018-11-22T12:59:27.000Z","updated_at":"2022-10-14T12:10:23.000Z","dependencies_parsed_at":"2023-03-27T15:33:10.658Z","dependency_job_id":null,"html_url":"https://github.com/mfelsche/pony-maybe","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mfelsche%2Fpony-maybe","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mfelsche%2Fpony-maybe/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mfelsche%2Fpony-maybe/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mfelsche%2Fpony-maybe/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mfelsche","download_url":"https://codeload.github.com/mfelsche/pony-maybe/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243365640,"owners_count":20279215,"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":["optional","pony-language","ponylang"],"created_at":"2024-10-12T13:36:24.466Z","updated_at":"2026-01-02T03:23:38.427Z","avatar_url":"https://github.com/mfelsche.png","language":"Pony","readme":"# pony-maybe\n\nUtilities for handling optional data in Pony.\n\n## Status\n\n[![CircleCI](https://circleci.com/gh/mfelsche/pony-maybe.svg?style=svg)](https://circleci.com/gh/mfelsche/pony-maybe)\n\n## Installation\n\n* Install [pony-stable](https://github.com/ponylang/pony-stable)\n* Update your `bundle.json`\n\n```json\n{ \n  \"type\": \"github\",\n  \"repo\": \"mfelsche/pony-maybe\"\n}\n```\n\n* `stable fetch` to fetch your dependencies\n* `use \"maybe\"` to include this package\n* `stable env ponyc` to compile your application\n\n## Usage\n\n```pony\nuse \"maybe\"\n\nclass WithOptionalStuff\n  let _stuff: Maybe[String] = None\n\n  fun update_stuff(new_stuff: String): Maybe[String] =\u003e\n    _stuff = new_stuff\n\n  fun size(): USize =\u003e\n    Opt.get[USize](\n      Opt.map[String, USize](_stuff, {(s) =\u003e s.size() }),\n      0\n    )\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmfelsche%2Fpony-maybe","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmfelsche%2Fpony-maybe","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmfelsche%2Fpony-maybe/lists"}