18 个仓库
Higher-order functions that map elements of a collection to new values while preserving immutability.
Distinct from Asynchronous Element Transformations: Existing candidates focus on visual transforms or HTML nodes, not general functional data transformation.
Explore 18 awesome GitHub repositories matching data & databases · Collection Element Transformations. Refine with filters or upvote what's useful.
This project is a vanilla JavaScript reference guide and implementation collection designed to replace legacy libraries with native browser patterns. It provides a set of native JavaScript patterns for selecting, modifying, and navigating HTML elements, alongside a web API implementation guide for handling events and styles. The project serves as a reference for implementing asynchronous JavaScript patterns using native promises and fetch for remote data and background tasks. It also includes a client-side utility collection for performing data transformations, type validation, and element me
Includes functional utilities to filter, map, and merge arrays for data transformation.
30 Seconds of Python is a curated collection of short, reusable Python code snippets designed for quick reference and immediate reuse. It provides an interactive browser that lets you explore snippets organized by tags, search across names and descriptions, and copy code to your clipboard with a single click. The collection covers a broad range of common programming tasks, including list and dictionary operations, string formatting and manipulation, date and time calculations, and color format conversion. It also includes utilities for data transformation, such as converting between case styl
Returns the position of the largest value in a list by combining max() with the list's index lookup.
100 Go Mistakes is a reference book and code review companion that catalogues frequent Go programming anti-patterns and provides corrected implementations for each one. It covers a wide range of common pitfalls, from range loop variable capture and interface nil handling to error wrapping and map iteration randomization, helping developers recognize and avoid these issues in their own code. The project distinguishes itself by offering a structured, example-driven approach to learning idiomatic Go. It covers core design decisions such as when to use pointer versus value receivers, how to apply
Explains how to correctly mutate slice elements inside Go range loops.
class-transformer is a TypeScript library that converts plain JavaScript objects into typed class instances and back, using decorators to define transformation rules. It serves as a decorator-based object transformer, JSON deserialization library, and property transformation framework, enabling type-safe serialization and deserialization of class instances. The library distinguishes itself through comprehensive property filtering and mapping capabilities. It supports excluding properties by default, by prefix, by operation (serialization or deserialization), or by explicit marking, as well as
Converts elements inside arrays, Sets, and Maps into specified class types during transformation.
language-ext is a functional programming framework for C# that provides a suite of immutable data structures and monadic types. It enables the implementation of pure functional programming patterns, utilizing containers to manage side effects, optional values, and error handling. The library is distinguished by its advanced concurrency and state management tools, including a software transactional memory system and lock-free atomic references. It also provides specialized utilities for distributed systems, such as vector clocks for causality tracking and deterministic data conflict resolution
Applies transformation functions to each element in a list to produce a new list of values.
The Rust RFCs repository is the formal home for the Rust language evolution process, housing the structured design documents and community review mechanisms that govern changes to the Rust programming language, its compiler, and its standard library. It defines the complete lifecycle for proposing, discussing, and implementing substantial changes through RFC documents, from initial submission and community feedback through final comment periods and sub-team sign-offs. The repository codifies the governance and collaboration processes that shape Rust's development, including mechanisms for com
Documents the API for mutable slice views on collections in the standard library.
Swift Algorithms is a library of sequence and collection algorithms for Swift, providing operations for splitting, cycling, combining, and sampling collections with lazy evaluation. It extends Swift's standard library with algorithms that work across all types conforming to Sequence and Collection protocols, enabling efficient data processing without intermediate storage. The library specializes in combinatorial enumeration, generating all possible permutations, combinations, and product sequences from collections for testing and exploration. It also includes utilities for splitting collectio
Ships algorithms for chunking collections by predicate conditions into consecutive groups.
Doctrine Collections is a PHP library that provides object-oriented abstractions for managing and manipulating groups of objects with array-like functionality. It wraps native PHP arrays in an object-oriented interface, enabling cleaner data manipulation through methods for filtering, mapping, and iteration. The library supports callback-driven transformation, applying a callback to every element and returning a new collection with the transformed values. It also enables criteria expression querying, allowing selection of matching elements by applying a criteria object with comparison express
Transforms every element in a collection by applying a callback and returns the new values.
Carp is a statically typed Lisp compiler that compiles Lisp-like syntax directly to C source code, enabling seamless integration with existing C libraries and low-level system programming. It manages memory deterministically at compile time using ownership tracking and linear types, eliminating garbage collection pauses and runtime overhead while ensuring type safety through an inferred static type system. The language distinguishes itself through compile-time macro expansion and metaprogramming capabilities, allowing code generation and transformation before final binary output. It enforces
Provides a function to transform an element at a given index in a list.
Reactor Core is a reactive programming toolkit and non-blocking foundation for composing asynchronous data pipelines on the JVM. It serves as an asynchronous stream processing framework and a backpressure management system, allowing developers to transform, filter, and combine sequences of events while regulating data flow between producers and consumers to prevent resource exhaustion. The library differentiates itself through a sophisticated concurrency scheduling system and demand-based flow control. It decouples signal processing from specific threads using a scheduler registry and provide
Provides functional operators to transform elements, filter them based on predicates, or signal errors.
Streem 是一种基于流的编程语言和数据流水线编排器。它提供了一种用于定义并发数据流的领域特定语言(DSL),允许用户通过一系列转换和过滤单个流元素的运算,将数据源链接到目的地。 该系统使用自定义脚本语法来定义数据流连接和流水线定义。这允许编排并发数据处理,其中多个流水线阶段同时执行,以在系统中移动数据元素。 该平台涵盖函数式数据转换和基于阶段的组合,在项目通过链接运算的顺序链时应用特定函数来修改或过滤项目。
Applies a function to each element in a pipeline to modify or filter data before passing it to the next stage.
ZIO is a functional effect system for the JVM that models asynchronous and concurrent programs as pure, composable values with typed error handling and dependency injection. Its core identity is built on fiber-based concurrency, where lightweight, non-blocking fibers execute millions of concurrent tasks with structured lifecycle management, and a dual-channel error model that separates expected business failures from unexpected system defects at compile time. The system provides effect-typed dependency injection through a layer-based dependency graph, pull-based reactive stream processing with
Provides collection element transformations that filter and map elements in a single step.
Dollar 是一个 Swift 函数式编程库,提供了一套用于集合操作、字符串处理、数学计算以及日期和时间管理的综合工具包。它作为过滤、聚合和重构数组及字典的实用工具集。 该项目实现了柯里化(currying)、记忆化(memoization)和函数组合等函数式编程模式。它还具备链式包装器接口,允许在提取最终结果之前按顺序应用多次数据转换。 该库涵盖了广泛的功能领域,包括文本清理和大小写转换、正则表达式操作,以及阶乘和除数等数学值的计算。它还包含用于解析 Unix 时间戳和计算相对时间偏移的工具。 该工具包通过泛型方法扩展了 Swift 标准库类型,以实现数据转换和聚合。
Maps, flattens, or chunks elements into new formats and structures using callback functions.
This PHP data collection library is a functional data wrapper and array manipulation framework. It converts arrays, JSON strings, and iterables into chainable collection objects designed for advanced filtering, sorting, and transformation. The library is distinguished by its ability to dynamically extend functionality through the registration of custom methods via closures. It also provides specialized capabilities for hierarchical data modeling, allowing flat datasets with parent-child identifiers to be reconstructed into nested tree structures. The toolkit covers a broad surface of data ma
Applies callbacks to map, reduce, flatten, group, or restructure collections into new forms.
more-itertools 是 Python itertools 模块的扩展库。它作为一个用于操作可迭代对象的工具包,提供了广泛的数据转换、组合生成和迭代器状态管理例程。 该库以高级状态管理和复杂的序列生成为特色。它提供了查看未来元素、在序列内搜索,以及从可能包含重复元素的集合中生成唯一排列、组合和集合划分的功能。 其更广泛的功能涵盖了数据处理任务,如递归展平、分组、填充和数据流重塑。它还包括用于流合并、局部邻域分析的窗口化以及线程安全的迭代同步的工具。 该项目还提供了用于数值序列处理的专门例程,包括矩阵乘法、离散线性卷积和傅里叶变换。
Implements higher-order functions for mapping, filtering, and reducing iterable elements.
SwiftTips 是一个精选的指南、库和设计模式集合,专注于 Swift 语言掌握、应用程序架构和 API 设计。它为实现高级编码技术和架构最佳实践提供了技术资源。 该项目强调通过战略性的协议组合和泛型创建类型安全且对话式的接口。它提供了用于构建模块化 UI 系统和管理复杂视图层次结构的专门模式,以及单元测试和依赖注入的综合策略。 该资源涵盖了广泛的功能,包括函数式编程原语、高级类型系统工具和数据建模策略。它还详细介绍了错误处理、内存管理和响应式用户界面开发的技术。
Provides higher-order functions to transform collection elements while automatically skipping null values.
This project is a library of algorithms for transforming, filtering, and combining asynchronous data streams in Swift. It provides a toolkit for managing asynchronous sequences, offering a concurrent sequence processor to merge, zip, and concatenate multiple streams into single outputs. The library distinguishes itself through specialized timing and flow control mechanisms. It implements asynchronous back-pressure to synchronize producer and consumer speeds and provides a toolkit for event timing, including debouncing, throttling, and the generation of periodic timers. The capability surface
Aggregates consecutive elements into collections based on custom comparison closures or projected values.
This is a comprehensive Python programming course and technical curriculum designed to take users from foundational syntax to advanced development patterns. It serves as a multi-disciplinary educational suite covering programming fundamentals, object-oriented design, and data analysis. The project provides specialized guides on professional development techniques, including the use of decorators, generators for memory management, and dunder-method operator overloading. It also includes instructional material on executing parallel tasks through concurrency and multiprocessing to reduce executi
Teaches how to map elements of a collection to new values using transformation functions.