Module cloud.opencode.base.functional


module cloud.opencode.base.functional
OpenCode Base Functional Module OpenCode 基础函数式编程模块

Provides functional programming utilities based on JDK 25 features, including monads, pattern matching, optics, pipelines, and async compositions.

提供基于 JDK 25 特性的函数式编程工具,包括单子、模式匹配、光学、管道和异步组合。

Key Features | 主要功能:

  • Monads (Try, Either, Option) - 单子类型
  • Pattern Matching - 模式匹配
  • Optics (Lens, Prism) - 光学抽象
  • Async Composition - 异步组合
  • Pipeline Builder - 管道构建器
  • Function Combinators - 函数组合器
  • Record Utilities - Record 工具
Since:
JDK 25, opencode-base-functional V1.0.0
Author:
Leon Soo
See Also: