9 个仓库
Chains function calls by piping a value through a sequence of transformations using an overloaded operator.
Distinct from Stream Piping: Distinct from Stream Piping: operates on function composition at the language level, not data streams.
Explore 9 awesome GitHub repositories matching software engineering & architecture · Function Composition Operators. Refine with filters or upvote what's useful.
Haxe is a statically typed, multi-target programming language and open-source compiler toolkit that translates a single codebase into native executables and scripts for JavaScript, C++, C#, Java, Python, Lua, PHP, and Flash targets. It provides a unified type system with automatic type inference, a compile-time macro system for code transformation and generation, conditional compilation directives, and a static analysis engine that enforces null safety and eliminates dead code to produce smaller, safer outputs. The language is supported by the HashLink virtual machine, which executes platform
Provides function piping via an overloaded operator to chain transformations sequentially.
RxGo 是一个函数式响应式编程库,也是 ReactiveX 的 Go 语言实现。它作为一个异步流处理工具包,旨在利用可观察模式协调基于事件的程序和数据流。 该库支持构建异步处理管道,以转换、过滤和组合事件序列。其特色在于使用函数式操作符来组合这些管道,并提供了管理并发执行的机制。 该工具包涵盖了广泛的流编排功能,包括数据聚合、多流组合以及将流转换为静态数据结构。它内置了对错误恢复、用于调节数据生产速度的背压控制以及用于跨 CPU 核心并行处理的工作池的支持。
Links discrete processing functions into sequences where data flows from one operator to the next.
RxPY 是一个 Python 函数式响应式编程库,也是 ReactiveX 的可观察对象库。它作为一个异步流处理器和事件驱动的协调框架,用于构建能够对状态变化或随时间变化的事件流做出反应的数据流水线。 该库提供了一套工具,用于使用可观察序列和操作符来编写异步和基于事件的程序。它通过使用可配置的调度器来管理并发、时序和订阅生命周期,从而脱颖而出。 该项目涵盖了广泛的流处理能力,包括数据聚合、过滤和组合。它提供了事件广播、序列缓冲和错误处理机制,以及用于协调可观察流与异步事件循环的工具。 通过虚拟时间模拟、大理石图建模和发射验证,该库提供了完善的测试和质量保证支持。
Enables declarative pipeline composition where the output of one stream operator becomes the input of the next.
该仓库是使用 RxJava 2 管理 Android 应用中异步数据流的实践模式和参考示例集合。它作为响应式编程实现指南,为处理移动环境中的复杂事件驱动逻辑和异步模式提供了代码示例。 该项目通过为常见的移动端挑战提供具体的参考实现而脱颖而出,例如带防抖的实时搜索、无限滚动的按需列表分页,以及减少感知加载时间的缓存优先数据流。它还包括用于解耦应用通信的事件总线架构示例。 代码库涵盖了广泛的响应式能力,包括防止内存泄漏的订阅生命周期管理、通过调度器进行的线程切换,以及用于数据流转换和组合的函数式操作符。它进一步演示了异步网络协调以及用于组订阅管理的复合一次性对象(Composite Disposables)的使用。
Uses functional operators in chains to filter, map, and combine asynchronous data emissions.
Scriban 是一个用于动态文本生成的文本模板库和 .NET 脚本引擎。它既是一个模板处理器,也是一个安全的脚本沙箱,通过限制对象暴露来提供安全的执行环境,从而防止未经授权的代码执行。该项目还包含一个抽象语法树模板解析器,支持对模板进行程序化分析和修改。 该引擎内置了专门的 Liquid 模板引擎及兼容模式,能够解析、执行并转换以 Liquid 语法编写的模板。其独特之处在于成员暴露过滤系统,允许开发者重命名、隐藏或过滤对象属性,从而控制模板内的数据访问方式。 该库涵盖了广泛的功能,包括异步模板渲染、条件逻辑和集合迭代。它提供了用于数据操作的内置工具,如数学运算、JSON 转换、日期时间算术,以及基于正则表达式的强大文本处理功能。开发者还可以通过定义自定义函数和集成外部类来进一步扩展引擎功能。 该项目提供了一个安全的 API 接口,支持通过 Native AOT 发布为原生二进制文件。
Manipulates template values using built-in operations chained through a pipe operator.
RxDocs is a community-driven project that provides comprehensive technical documentation and educational resources for reactive programming. It serves as a centralized reference for developers implementing asynchronous data streams, offering detailed guides and operator specifications to support the management of complex event sequences. The project distinguishes itself by providing localized Chinese translations of technical concepts, ensuring that developers can access accurate information in their preferred language. It also focuses on accessibility by packaging these materials into portab
Implements sequences of stream processing operators where the output of one function becomes the input of the next.
Hyperscript is a DOM manipulation library and HTML scripting language that functions as a logic engine and reactive UI framework. It allows for the definition of interactive behavior and client-side logic directly within HTML attributes. The system distinguishes itself through declarative web scripting and in-HTML interactive behavior, which removes the requirement for separate JavaScript files to manage element states. It utilizes a specialized syntax for data processing, employing pipe operators to filter, sort, and convert data collections within the browser. The framework provides capabi
Employs pipe operators within templates to chain data transformation functions in a linear flow.
This project is a comprehensive learning resource and technical reference for reactive programming with RxJS. It provides a structured curriculum, curated examples, and an indexed operator catalog to help developers shift from imperative to declarative programming using observable data streams and functional operators. The repository features a library of reactive UI patterns and implementation recipes. These cover practical applications such as type-ahead search, game loops, gesture-based interactions like swipe-to-refresh, and security overlays like lockscreens. The resource covers a broad
Implements sequences of stream processing operators where the output of one function becomes the input of the next.
Error-or is a library that implements the result pattern to replace exception-based control flow with structured data. It provides a discriminated union implementation that encapsulates either a successful value or an error state within a single type, ensuring that operation outcomes are treated as first-class values. The library enables functional error handling by providing a fluent interface for chaining sequential operations. This monadic pipeline composition allows developers to define dependent operations that automatically short-circuit and return an error if any individual step in the
Enables chaining of sequential operations that automatically short-circuit when an error is encountered.