{"id":17248939,"url":"https://github.com/pakoito/functionalrx2","last_synced_at":"2025-04-14T05:31:54.369Z","repository":{"id":139227646,"uuid":"79652506","full_name":"pakoito/FunctionalRx2","owner":"pakoito","description":"FunctionalRx2 is a collection of constructs to simplify a functional programming approach to Java and Android [STABLE]","archived":false,"fork":false,"pushed_at":"2017-03-22T00:12:37.000Z","size":62,"stargazers_count":83,"open_issues_count":0,"forks_count":2,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-03-26T20:49:53.273Z","etag":null,"topics":["functional-programming","java","rxjava2"],"latest_commit_sha":null,"homepage":"","language":null,"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/pakoito.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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":"2017-01-21T15:02:47.000Z","updated_at":"2022-11-26T09:19:04.000Z","dependencies_parsed_at":"2024-01-16T07:23:15.064Z","dependency_job_id":"eac94a38-67f2-4eb6-9721-154dd210dfac","html_url":"https://github.com/pakoito/FunctionalRx2","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/pakoito%2FFunctionalRx2","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pakoito%2FFunctionalRx2/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pakoito%2FFunctionalRx2/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pakoito%2FFunctionalRx2/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pakoito","download_url":"https://codeload.github.com/pakoito/FunctionalRx2/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248826687,"owners_count":21167728,"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":["functional-programming","java","rxjava2"],"created_at":"2024-10-15T06:42:30.933Z","updated_at":"2025-04-14T05:31:54.119Z","avatar_url":"https://github.com/pakoito.png","language":null,"readme":"# FunctionalRx2\n\nFunctionalRx2 is a collection of constructs to simplify a functional programming approach to development on Java and Android.\n\n[![Android Arsenal](https://img.shields.io/badge/Android%20Arsenal-FunctionalRx2-blue.svg?style=flat-square)](https://android-arsenal.com/details/1/5147)\n\nFor the RxJava 1.X version please go to [FunctionalRx](https://github.com/pakoito/FunctionalRx).\n\n\n# Rationale\n\nThe base Java 7 framework does not contain most constructs to do even the simplest functional development. Given that functional programming is a paradigm that's not limited by languages, a series of libraries have been created to bridge some of the gap to others like Kotlin, Scala or Clojure.\n\nFunctionalRx uses RxJava as a backend for their functions and helpers. It's meant to be used in combination with their rective streams.\n\n# Usage\n\nAn overview of the libraries can be read at [Building a Functional Toolset on Android](http://www.pacoworks.com/2016/05/25/building-a-functional-toolset-for-android/) on my blog. If you want to see them in action, watch my presentation on [Fully Reactive Apps](http://www.pacoworks.com/2016/11/02/fully-reactive-apps-at-droidcon-uk-2016-2/) or visit the [FunctionalAndroidReference](https://github.com/pakoito/FunctionalAndroidReference) sample project.\n\nA thorough description and examples of each construct can be found in the readme of their repositories:\n\n[RxTuples2](https://github.com/pakoito/RxTuples2) - Simple tuples to use with RxJava\n\n[RxSealedUnions2](https://github.com/pakoito/RxSealedUnions2) - Tagged Unions for the RxJava aesthete\n\n[RxComprehensions](https://github.com/pakoito/RxComprehensions) - Reduce boilerplate in RxJava by abstracting chained flatMaps, concatMaps and switchMaps\n\n[RxPartialApplication2](https://github.com/pakoito/RxPartialApplication2) - Simple partial application for FunctionN and ConsumerN on RxJava\n\n[RxCurrying2](https://github.com/pakoito/RxCurrying2) - Simple currying for FuncN and ActionN on RxJava\n\n[RxConsumers](https://github.com/pakoito/RxConsumers) - Simple ConsumerN composition to use with RxJava\n\n[RxFunctions2](https://github.com/pakoito/RxFunctions2) - Advanced Function composition to use with RxJava\n\n[RxMemoization2](https://github.com/pakoito/RxMemoization2) - Simple Function result caching for RxJava\n\n## Distribution\n\nEach library can be added individually, or as a group by adding FunctionalRx2.\n\nAdd as a dependency to your `build.gradle`\n```groovy\nrepositories {\n    ...\n    maven { url \"https://jitpack.io\" }\n    ...\n}\n    \ndependencies {\n    ...\n    compile 'com.github.pakoito:FunctionalRx2:1.1.0'\n\n    // This version includes:\n    // compile 'com.github.pakoito:RxTuples2:1.0.0'\n    // compile 'com.github.pakoito:RxSealedUnions2:1.0.0'\n    // compile 'com.github.pakoito.RxComprehensions:rxcomprehensions2:1.3.0'\n    // compile 'com.github.pakoito:RxMemoization2:1.0.0'\n    // compile 'com.github.pakoito:RxPartialApplication2:1.0.0'\n    // compile 'com.github.pakoito:RxCurrying2:1.0.0'\n    // compile 'com.github.pakoito:RxFunctions2:1.0.0'\n    // compile 'com.github.pakoito:RxConsumers:1.0.0'\n    ...\n}\n```\nor to your `pom.xml`\n\n```xml\n\u003crepositories\u003e\n    \u003crepository\u003e\n        \u003cid\u003ejitpack.io\u003c/id\u003e\n        \u003curl\u003ehttps://jitpack.io\u003c/url\u003e\n    \u003c/repository\u003e\n\u003c/repositories\u003e\n\n\u003cdependency\u003e\n    \u003cgroupId\u003ecom.github.pakoito\u003c/groupId\u003e\n    \u003cartifactId\u003eFunctionalRx2\u003c/artifactId\u003e\n    \u003cversion\u003e1.1.0\u003c/version\u003e\n\u003c/dependency\u003e\n```\n\n## License\n\nCopyright (c) pakoito 2017\n\nThe Apache Software License, Version 2.0\n\nSee LICENSE.md\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpakoito%2Ffunctionalrx2","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpakoito%2Ffunctionalrx2","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpakoito%2Ffunctionalrx2/lists"}