{"id":13726243,"url":"https://github.com/hongchangwu/ocaml-type-classes","last_synced_at":"2025-10-13T00:58:46.633Z","repository":{"id":71683544,"uuid":"74296481","full_name":"hongchangwu/ocaml-type-classes","owner":"hongchangwu","description":"OCaml Type Classes","archived":false,"fork":false,"pushed_at":"2021-04-28T17:29:52.000Z","size":31,"stargazers_count":18,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-05-07T21:39:14.761Z","etag":null,"topics":["ocaml","type-classes"],"latest_commit_sha":null,"homepage":null,"language":"OCaml","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/hongchangwu.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,"governance":null,"roadmap":null,"authors":null}},"created_at":"2016-11-20T19:12:58.000Z","updated_at":"2025-01-29T01:17:25.000Z","dependencies_parsed_at":"2023-06-18T23:05:00.241Z","dependency_job_id":null,"html_url":"https://github.com/hongchangwu/ocaml-type-classes","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/hongchangwu/ocaml-type-classes","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hongchangwu%2Focaml-type-classes","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hongchangwu%2Focaml-type-classes/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hongchangwu%2Focaml-type-classes/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hongchangwu%2Focaml-type-classes/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hongchangwu","download_url":"https://codeload.github.com/hongchangwu/ocaml-type-classes/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hongchangwu%2Focaml-type-classes/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279013659,"owners_count":26085298,"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-10-12T02:00:06.719Z","response_time":53,"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":["ocaml","type-classes"],"created_at":"2024-08-03T01:02:56.693Z","updated_at":"2025-10-13T00:58:46.595Z","avatar_url":"https://github.com/hongchangwu.png","language":"OCaml","funding_links":[],"categories":["OCaml"],"sub_categories":[],"readme":"# OCaml Type Classes\n\n[![Build Status](https://travis-ci.org/hongchangwu/ocaml-type-classes.svg?branch=master)](https://travis-ci.org/hongchangwu/ocaml-type-classes)\n\n## Introduction\n\nOCaml doesn't have built-in support for type classes, but it's possible\nto emulate them. There is more than one way to do it. This project\nshows one way using first-class modules.\n\n## Quick Start\n\n**Prerequisites**: `dune`, `ANSITerminal`, `higher`\n\nTo build the project\n\n```\nmake\n```\n\nTo run the demo\n\n```\nmake run\n```\n\n## Further Reading\n- [ML Modules and Haskell Type Classes: A Constructive Comparison](http://www.stefanwehr.de/publications/Wehr_ML_modules_and_Haskell_type_classes_SHORT.pdf)\n- [Lightweight Higher-Kinded Polymorphism](https://ocamllabs.github.io/higher/lightweight-higher-kinded-polymorphism.pdf)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhongchangwu%2Focaml-type-classes","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhongchangwu%2Focaml-type-classes","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhongchangwu%2Focaml-type-classes/lists"}