{"id":15659445,"url":"https://github.com/davidgregory084/schemes","last_synced_at":"2025-10-24T04:35:38.098Z","repository":{"id":57732936,"uuid":"114420213","full_name":"DavidGregory084/schemes","owner":"DavidGregory084","description":"A recursion schemes micro-library","archived":false,"fork":false,"pushed_at":"2020-07-02T22:47:26.000Z","size":45,"stargazers_count":21,"open_issues_count":3,"forks_count":4,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-30T23:04:27.332Z","etag":null,"topics":["catamorphisms","functional-programming","recursion","recursion-schemes","scala"],"latest_commit_sha":null,"homepage":null,"language":"Scala","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/DavidGregory084.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":"2017-12-15T23:46:58.000Z","updated_at":"2022-07-11T20:16:16.000Z","dependencies_parsed_at":"2022-09-26T22:11:12.963Z","dependency_job_id":null,"html_url":"https://github.com/DavidGregory084/schemes","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DavidGregory084%2Fschemes","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DavidGregory084%2Fschemes/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DavidGregory084%2Fschemes/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DavidGregory084%2Fschemes/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DavidGregory084","download_url":"https://codeload.github.com/DavidGregory084/schemes/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252562431,"owners_count":21768287,"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":["catamorphisms","functional-programming","recursion","recursion-schemes","scala"],"created_at":"2024-10-03T13:16:55.168Z","updated_at":"2025-10-08T10:53:13.877Z","avatar_url":"https://github.com/DavidGregory084.png","language":"Scala","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Schemes\n\n[![Build Status](https://api.travis-ci.org/DavidGregory084/schemes.svg)](https://travis-ci.org/DavidGregory084/schemes)\n[![Coverage Status](http://codecov.io/github/DavidGregory084/schemes/coverage.svg?branch=master)](http://codecov.io/github/DavidGregory084/schemes?branch=master)\n[![License](https://img.shields.io/github/license/DavidGregory084/schemes.svg)](https://opensource.org/licenses/Apache-2.0)\n[![Latest Version](https://img.shields.io/maven-central/v/io.github.davidgregory084/schemes-core_2.12.svg)](http://search.maven.org/#search%7Cga%7C1%7Cg%3A%22io.github.davidgregory084%22%20AND%20a%3A%22schemes-core_2.12%22)\n\n### Overview\n\nThis repository contains a (partial, WIP) port of the excellent [recursion schemes micro-library](https://github.com/japgolly/microlibs-scala/tree/master/recursion) originally authored by David Barri ([@japgolly](https://github.com/japgolly)) to ensure that it works nicely with the [Typelevel Cats](https://github.com/typelevel/cats/) functional programming library for Scala.\n\nThe original library was introduced by a [blog post](https://japgolly.blogspot.co.uk/2017/12/practical-awesome-recursion-ch-02.html) full of practical examples motivating the use of recursion schemes. I highly recommend you check out the whole series.\n\n### Getting Started\n\nAdd the following to your `build.sbt`:\n\n```scala\n// For cats 1.x\nlibraryDependencies += \"io.github.davidgregory084\" %% \"schemes-core\" % \"0.2.0\"\n```\n\n### Examples\n\nI'm currently working on better documentation and examples. In the meantime I recommend you check out:\n\n  * @japgolly's [blog series](https://japgolly.blogspot.co.uk/2017/12/practical-awesome-recursion-ch-02.html)\n\n  * [@zainab-ali](https://github.com/zainab-ali)'s amazing [talk from Scala eXchange 2017](https://skillsmatter.com/skillscasts/10959-topiary-and-the-art-of-origami)\n\n  * this [pull request](https://github.com/DavidGregory084/titanic/pull/1/files) which ports the code from Zainab's talk from [matryoshka](https://github.com/slamdata/matryoshka) to `schemes`.\n\n### Conduct\n\nContributors are expected to follow the [Typelevel Code of Conduct](http://typelevel.org/conduct.html) while participating on Github and any other venues associated with the project. \n\n### Acknowledgements\n\nThis library would not exist at all were it not for the original work of [@japgolly](https://github.com/japgolly).\n\nThanks are also due to Tomas Mikula ([@TomasMikula](https://github.com/TomasMikula)) for the [unboxed representation](https://github.com/scalaz/scalaz/pull/1472) of `Fix` which both libraries use.\n\n### License\n\nAll code in this repository is licensed under the Apache License, Version 2.0.  See [LICENSE](./LICENSE).\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdavidgregory084%2Fschemes","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdavidgregory084%2Fschemes","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdavidgregory084%2Fschemes/lists"}