{"id":20057705,"url":"https://github.com/todesking/arrow_builder.scala","last_synced_at":"2025-05-05T14:31:19.774Z","repository":{"id":136155424,"uuid":"45726907","full_name":"todesking/arrow_builder.scala","owner":"todesking","description":null,"archived":false,"fork":false,"pushed_at":"2015-11-07T07:54:46.000Z","size":0,"stargazers_count":10,"open_issues_count":0,"forks_count":0,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-04-09T00:25:37.548Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Scala","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/todesking.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":"2015-11-07T07:25:36.000Z","updated_at":"2023-11-20T08:10:29.000Z","dependencies_parsed_at":"2023-03-13T16:47:48.437Z","dependency_job_id":null,"html_url":"https://github.com/todesking/arrow_builder.scala","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/todesking%2Farrow_builder.scala","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/todesking%2Farrow_builder.scala/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/todesking%2Farrow_builder.scala/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/todesking%2Farrow_builder.scala/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/todesking","download_url":"https://codeload.github.com/todesking/arrow_builder.scala/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252514934,"owners_count":21760470,"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-11-13T12:59:59.509Z","updated_at":"2025-05-05T14:31:19.446Z","avatar_url":"https://github.com/todesking.png","language":"Scala","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Arrow builder for Scala\n\nPoor man's `proc` notation (GHC) for Scala.\n\n## Current status\n\nVery experimental\n\n\n## Usage\n\n```scala\nimport com.todesking.arrow_builder.ArrowSyntax._\nimport com.todesking.arrow_builder.ArrowBuilder\n\ndef arr[A, B](f: A =\u003e B): MyArrow[A, B] = ???\n\nArrowBuilder.build[MyArrow, Int, String] { in =\u003e\n  a \u003c- arr[Int, Int](_ + 1) -\u003c in\n  b \u003c- arr[Int, Int](_ + 2) -\u003c in\n  a_b \u003c- arr[(Int, Int), Int] { case (a, b) =\u003e a * b } -\u003c a.zip(b)\n  s \u003c- arr[Int, String](_.toString) -\u003c a_b\n} yield a_b\n```\n\n## ArrowDelayLoop\n\n`ArrowLoop` typeclass is not fit to Scala because it requires lazy evaluation.\nInstead, we provide `ArrowDelayLoop` typeclass. It is analogue of `ArrowLoop` + `Arrowinit`,\nbut only provides `delayLoop[A, B, C](init: A, arrow: F[(A, C), (B, C)]): F[A, B]` method.\n\n## rec\n\nTheres no `rec`. Use `ArrowBuilder.delayLoop`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftodesking%2Farrow_builder.scala","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftodesking%2Farrow_builder.scala","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftodesking%2Farrow_builder.scala/lists"}