{"id":17249238,"url":"https://github.com/ekmett/machines","last_synced_at":"2025-10-04T15:23:55.077Z","repository":{"id":389906,"uuid":"5445365","full_name":"ekmett/machines","owner":"ekmett","description":"Networks of composable stream transducers","archived":false,"fork":false,"pushed_at":"2025-03-03T12:13:20.000Z","size":570,"stargazers_count":338,"open_issues_count":20,"forks_count":46,"subscribers_count":34,"default_branch":"master","last_synced_at":"2025-04-01T14:01:45.430Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Haskell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ekmett.png","metadata":{"files":{"readme":"README.markdown","changelog":"CHANGELOG.markdown","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,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2012-08-16T22:31:42.000Z","updated_at":"2025-03-03T12:13:17.000Z","dependencies_parsed_at":"2025-03-25T14:00:24.855Z","dependency_job_id":"6acc0f25-583a-45c8-a382-20162cd86933","html_url":"https://github.com/ekmett/machines","commit_stats":{"total_commits":294,"total_committers":34,"mean_commits":8.647058823529411,"dds":0.7040816326530612,"last_synced_commit":"f9200d3aa85779c534dec8a963167dc62e4ad0c9"},"previous_names":[],"tags_count":22,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ekmett%2Fmachines","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ekmett%2Fmachines/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ekmett%2Fmachines/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ekmett%2Fmachines/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ekmett","download_url":"https://codeload.github.com/ekmett/machines/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247878014,"owners_count":21011158,"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":[],"created_at":"2024-10-15T06:43:45.583Z","updated_at":"2025-10-04T15:23:50.052Z","avatar_url":"https://github.com/ekmett.png","language":"Haskell","funding_links":[],"categories":[],"sub_categories":[],"readme":"machines\n========\n\n[![Hackage](https://img.shields.io/hackage/v/machines.svg)](https://hackage.haskell.org/package/machines) [![Build Status](https://github.com/ekmett/machines/workflows/Haskell-CI/badge.svg)](https://github.com/ekmett/machines/actions?query=workflow%3AHaskell-CI)\n\n*Ceci n'est pas une pipe*\n\nMachines are demand driven input sources like pipes or conduits, but can support multiple inputs.\n\nYou design a `Machine` by writing a `Plan`. You then `construct` the machine.\n\nSimple machines that take one input are called a `Process` and processes form a `Category`. More generally you can attach a\n`Process` to the output of any type of `Machine`, yielding a new `Machine`.\n\nMore complicated machines provide other ways of connecting to them.\n\nTypically the use of machines proceeds by using simple plans into machine `Tee`s and `Wye`s, capping many of the inputs to\nthose with possibly monadic sources, feeding the rest input (possibly repeatedly) and calling `run` or `runT` to get the\nanswers out.\n\nThere is a lot of flexibility when building a machine in choosing between empowering the machine to run its own monadic effects\nor delegating that responsibility to a custom driver.\n\nA port of this design to scala is available from runarorama/scala-machines\n\nRunar's slides are also available from http://web.archive.org/web/20161029161813/https://dl.dropboxusercontent.com/u/4588997/Machines.pdf\n\nSome worked examples are here https://github.com/alanz/machines-play\n\nContact Information\n-------------------\n\nContributions and bug reports are welcome!\n\nPlease feel free to contact me through github or on the #haskell IRC channel on irc.freenode.net.\n\n-Edward Kmett\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fekmett%2Fmachines","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fekmett%2Fmachines","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fekmett%2Fmachines/lists"}