{"id":13470347,"url":"https://github.com/aol/cyclops","last_synced_at":"2025-05-15T09:05:37.767Z","repository":{"id":26113010,"uuid":"29557376","full_name":"aol/cyclops","owner":"aol","description":"An advanced, but easy to use, platform for writing functional applications in Java 8.","archived":false,"fork":false,"pushed_at":"2023-03-21T11:08:31.000Z","size":27963,"stargazers_count":1323,"open_issues_count":29,"forks_count":137,"subscribers_count":99,"default_branch":"master","last_synced_at":"2025-04-07T03:17:43.816Z","etag":null,"topics":["asynchronous","collections","data-structures","functional-programming","java","java8","monad","monad-transformers","monoid","reactive","reactive-streams","streams","streams-api"],"latest_commit_sha":null,"homepage":"","language":"Java","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/aol.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2015-01-20T22:17:32.000Z","updated_at":"2025-03-14T12:52:31.000Z","dependencies_parsed_at":"2023-10-20T17:29:56.035Z","dependency_job_id":null,"html_url":"https://github.com/aol/cyclops","commit_stats":null,"previous_names":["aol/simple-react","aol/cyclops-react"],"tags_count":66,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aol%2Fcyclops","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aol%2Fcyclops/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aol%2Fcyclops/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aol%2Fcyclops/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aol","download_url":"https://codeload.github.com/aol/cyclops/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248890841,"owners_count":21178516,"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":["asynchronous","collections","data-structures","functional-programming","java","java8","monad","monad-transformers","monoid","reactive","reactive-streams","streams","streams-api"],"created_at":"2024-07-31T16:00:28.805Z","updated_at":"2025-04-14T13:48:39.372Z","avatar_url":"https://github.com/aol.png","language":"Java","readme":"# Getting Cyclops X (10)\n\n* The latest version is [cyclops:10.4.0](http://mvnrepository.com/artifact/com.oath.cyclops/cyclops/10.4.0)\n\n\n* Stackoverflow tag [cyclops-react](http://stackoverflow.com/search?q=cyclops-react)\n\n* [Documentation](https://github.com/aol/cyclops/wiki) (work in progress for Cyclops X)\n\n* [Integration modules](https://github.com/aol/cyclops-integration)\n\n# Tutorial : \n\n* [Dysfunctional programming in Java : A functional tutorial](https://medium.com/@johnmcclean/dysfunctional-programming-in-java-a-functional-tutorial-20e0bebd2ec9)\n  - [Part 1 : Laziness (Covering Supplier \u0026 the Eval monad)](https://medium.com/@johnmcclean/dysfunctional-programming-in-java-i-laziness-cc9c6981de39)\n  - [Part 2 : Immutability (Covering Immutable Objects with Lombok, withers)](https://medium.com/@johnmcclean/dysfunctional-programming-in-java-2-immutability-a2cff487c224)\n  - [Part 3 : Functional Composition (Covering method chaining, Streams, ReactiveSeq, Flux from Reactor)](https://medium.com/@johnmcclean/dysfunctional-programming-in-java-3-functional-composition-16828f0609c2)\n  - [Part 4 : No nulls allowed (Covering class design, Optional, eager / lazy / reactive Option types, Mono from Reactor)](https://blog.usejournal.com/dysfunctional-programming-in-java-4-no-nulls-allowed-88e8735475a)\n  - [Part 5 : No exceptions (Covering making illegal states unrepresentable, eager / lazy Either type, Try)](https://medium.com/@johnmcclean/dysfunctional-programming-in-java-5-no-exceptions-5f37ac594323)\n  - [Part 6 : No locks or synchronized blocks (Covering Future, Sequence, FutureStreams and reactive-streams)](https://medium.com/@johnmcclean/dysfunctional-programming-in-java-6-no-locks-or-synchronized-blocks-ea5a47644689)\n  - [Part 7 : Immutable Collections (Covering Vector, NonEmptyList and reactive processing)](https://medium.com/@johnmcclean/dysfunctional-programming-in-java-7-immutable-collections-83ba78aaf4dd)\n  \n  * [Tagless Final in Java](https://medium.com/@johnmcclean/powerful-extensible-code-with-tagless-final-in-java-4094f923cdea)\n  * [A Java long read : Is functional programming worth it?](https://medium.com/@johnmcclean/a-java-long-read-is-functional-programming-worth-it-ca53bfcd0c6a)\n\n# What's new in Cyclops X (cyclops 10)\n\n![cyclops-data-types](https://user-images.githubusercontent.com/9964792/37656704-b4266d7a-2c40-11e8-84d9-23a4a77e0341.jpeg)\n\n- Fast purely functional datastructures (Vector, Seq / List, LazySeq / LazyList, NonEmptyList, HashSet, TreeSet, TrieSet, HashMap, LinkedMap, MultiMap, TreeMap, BankersQueue, LazyString, Discrete Interval Encoded Tree, Zipper, Range, Tree, DifferenceList, HList, Dependent Map )\n- Structural Pattern Matching API (deconstruct algebraic product and sum types)\n- Improved type safety via the removal of unsafe APIs\n  -- E.g. Unlike Optional, Option has no get method (which could throw a null pointer)\n  -- New data structures do not support operations that would throw exceptions (you can't call head on an empty list for example)\n- Eager and Lazy alternatives for most datastructures (Option is eager, Maybe is lazy + reactive)\n- Improved naming of types (Function1-8 rather than Fn1-8, Either not Xor)\n- Group id is changed to com.oath.cyclops\n- Versioning between cyclops-react and cyclops is merged on cyclops versioning scheme (version 10 = Cyclops X)\n- Light weight dependencies : reactive-streams API, KindedJ \u0026 Agrona\n- JVM Polyglot Higher Kinded Types Support with KindedJ\n\n## Modules\n\n* [cyclops](https://github.com/aol/cyclops-react/tree/master/cyclops) - Persistent data structures and control types\n* [cyclops-futurestream](https://github.com/aol/cyclops-react/tree/master/cyclops-futurestream) - Parallel asynchronous streaming\n* [cyclops-reactive-collections](https://github.com/aol/cyclops-react/tree/master/cyclops-reactive-collections) - Fast, non-blocking, asynchronous extensions for JDK and Persistent Collections\n* [cyclops-anyM](https://github.com/aol/cyclops-react/tree/master/cyclops-anym) - Higher kinded abstractions for working with any Java Monad type.\n* [cyclops-pure](https://github.com/aol/cyclops-react/tree/master/cyclops-pure) - Higher kinded type classes for pure functional programming in Java\n* [cyclops-reactor-integration](https://github.com/aol/cyclops-react/tree/master/cyclops-reactor-integration) - Reactive collections and AnyM integrations with Reactor.\n* [cyclops-rxjava2-integration](https://github.com/aol/cyclops-react/tree/master/cyclops-rxjava2-integration) - Reactive collections and AnyM integrations with Rx Java 2.\n* [cyclops-jackson-integration](https://github.com/aol/cyclops-react/tree/master/cyclops-jackson) - Jackson databindings for Cyclops persistent data structures and control types.\n\n\n\n\n## Gradle\n\nwhere x.y.z represents the latest version\n\n```groovy\ncompile 'com.oath.cyclops:cyclops:x.y.z'\n```\n\n## Maven\n\n```xml\n\u003cdependency\u003e\n    \u003cgroupId\u003ecom.oath.cyclops\u003c/groupId\u003e\n    \u003cartifactId\u003ecyclops\u003c/artifactId\u003e\n    \u003cversion\u003ex.y.z\u003c/version\u003e\n\u003c/dependency\u003e\n```\n\n\u003cimg width=\"820\" alt=\"screen shot 2016-02-22 at 8 44 42 pm\" src=\"https://cloud.githubusercontent.com/assets/9964792/13232030/306b0d50-d9a5-11e5-9706-d44d7731790d.png\"\u003e\n\nPowerful Streams and functional data types for building modern Java 8 applications. We extend JDK interfaces where possible for maximum integration. \n\nThis is the 10.x branch for 2.x branch click the link below\n\n* [2.x](https://github.com/aol/cyclops-react/tree/2.x)\n* [1.x](https://github.com/aol/cyclops-react/tree/1.x)\n\n# License\n\ncyclops is licensed under the Apache 2.0 license.\t\t\n\nhttp://www.apache.org/licenses/LICENSE-2.0\n\n# Thanks to our Sponsors\n\n* ![YourKit Logo](https://www.yourkit.com/images/yklogo.png) YourKit supports open source projects with innovative and intelligent tools\nfor monitoring and profiling Java and .NET applications.\nYourKit is the creator of \u003ca href=\"https://www.yourkit.com/java/profiler/\"\u003eYourKit Java Profiler\u003c/a\u003e,\n\u003ca href=\"https://www.yourkit.com/.net/profiler/\"\u003eYourKit .NET Profiler\u003c/a\u003e,\nand \u003ca href=\"https://www.yourkit.com/youmonitor/\"\u003eYourKit YouMonitor\u003c/a\u003e.\n","funding_links":[],"categories":["Java","Projects","项目","Memory and concurrency","Interoperability libraries"],"sub_categories":["Functional Programming","函数式编程"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faol%2Fcyclops","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faol%2Fcyclops","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faol%2Fcyclops/lists"}