{"id":23739727,"url":"https://github.com/fpdart/compose","last_synced_at":"2026-04-08T19:33:25.548Z","repository":{"id":56827223,"uuid":"157778796","full_name":"fpdart/compose","owner":"fpdart","description":null,"archived":false,"fork":false,"pushed_at":"2018-11-16T14:03:36.000Z","size":7,"stargazers_count":6,"open_issues_count":1,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-01-02T18:01:23.207Z","etag":null,"topics":["dart","dart2","fp","funcional"],"latest_commit_sha":null,"homepage":"https://fpdart.github.io/compose/","language":"Dart","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/fpdart.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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-11-15T22:07:02.000Z","updated_at":"2019-12-16T12:08:59.000Z","dependencies_parsed_at":"2022-09-13T08:12:30.228Z","dependency_job_id":null,"html_url":"https://github.com/fpdart/compose","commit_stats":null,"previous_names":["shindakioku/compose"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/fpdart/compose","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fpdart%2Fcompose","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fpdart%2Fcompose/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fpdart%2Fcompose/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fpdart%2Fcompose/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fpdart","download_url":"https://codeload.github.com/fpdart/compose/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fpdart%2Fcompose/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31571600,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-08T14:31:17.711Z","status":"ssl_error","status_checked_at":"2026-04-08T14:31:17.202Z","response_time":54,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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":["dart","dart2","fp","funcional"],"created_at":"2024-12-31T09:38:28.595Z","updated_at":"2026-04-08T19:33:25.509Z","avatar_url":"https://github.com/fpdart.png","language":"Dart","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Compose with language operators\n\nTry to use composition functions with language operators!\nYou can use right (classic) and left composition.\n\nYou have two ways to define your composition: `\u003e\u003e` and `*`. Its same!\nFor calling you need to use `\u003c` (from left function) or `\u003e` (from right function).\n\n### Examples\n```dart\nvar addOne = (x) =\u003e x + 1;\nvar minusOne = (x) =\u003e x - 1;\nvar add = (x, v) =\u003e x + v;\n\nprint(c() \u003e\u003e addOne \u003e\u003e minusOne \u003e\u003e ((_) =\u003e add(1, _ * 2)) \u003e 3); // 7\nprint(c() \u003e\u003e addOne \u003e\u003e minusOne \u003e\u003e ((_) =\u003e add(1, _ * 2)) \u003c 3); // 7\n\nprint(c() * addOne * ((_) =\u003e _ * 2) \u003e 4); // 9\nprint(c() * addOne * ((_) =\u003e _ * 2) \u003c 4); // 10\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffpdart%2Fcompose","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffpdart%2Fcompose","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffpdart%2Fcompose/lists"}