{"id":16336442,"url":"https://github.com/justinwoo/purescript-mochi","last_synced_at":"2026-01-24T13:16:16.900Z","repository":{"id":58229697,"uuid":"160352218","full_name":"justinwoo/purescript-mochi","owner":"justinwoo","description":"Make yourself a record by stretching out the rows!","archived":false,"fork":false,"pushed_at":"2018-12-04T23:34:00.000Z","size":3,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-01-17T18:49:23.383Z","etag":null,"topics":["purescript"],"latest_commit_sha":null,"homepage":"","language":"PureScript","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/justinwoo.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":"2018-12-04T12:12:49.000Z","updated_at":"2018-12-06T17:25:30.000Z","dependencies_parsed_at":"2022-08-31T09:21:31.505Z","dependency_job_id":null,"html_url":"https://github.com/justinwoo/purescript-mochi","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/justinwoo/purescript-mochi","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/justinwoo%2Fpurescript-mochi","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/justinwoo%2Fpurescript-mochi/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/justinwoo%2Fpurescript-mochi/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/justinwoo%2Fpurescript-mochi/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/justinwoo","download_url":"https://codeload.github.com/justinwoo/purescript-mochi/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/justinwoo%2Fpurescript-mochi/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28728580,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-24T10:24:43.181Z","status":"ssl_error","status_checked_at":"2026-01-24T10:24:36.112Z","response_time":89,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["purescript"],"created_at":"2024-10-10T23:44:09.975Z","updated_at":"2026-01-24T13:16:16.876Z","avatar_url":"https://github.com/justinwoo.png","language":"PureScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# PureScript-Mochi\n\nMake yourself a record by stretching out the rows!\n\n![](https://i.imgur.com/plqqJrt.jpg)\n\n## Example\n\n```purs\ntype Fruits =\n  { apple :: Int\n  , banana :: String\n  , cherry :: Boolean\n  }\n\n-- IDE inferred type signature:\nmkFruits\n  :: Int\n  -\u003e String\n  -\u003e Boolean\n  -\u003e { apple :: Int\n     , banana :: String\n     , cherry :: Boolean\n     }\nmkFruits = constructRecord (Proxy :: Proxy Fruits)\n\nmain :: Effect Unit\nmain = do\n  let (fruits :: Fruits) = { apple: 1, banana: \"a\", cherry: true }\n  assertEqual\n    { expected: fruits\n    , actual: mkFruits 1 \"a\" true\n    }\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjustinwoo%2Fpurescript-mochi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjustinwoo%2Fpurescript-mochi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjustinwoo%2Fpurescript-mochi/lists"}