awesome-repositories.com
Blog
MCP
awesome-repositories.com

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectMCP serverAboutHow we rankPress
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
ankurp avatar

ankurp/Dollar

0
View on GitHub↗
www.dollarswift.org↗

Dollar

Dollar is a functional programming library for Swift that provides a comprehensive toolkit for collection manipulation, string processing, mathematical calculations, and date and time management. It serves as a utility suite for filtering, aggregating, and restructuring arrays and dictionaries.

The project implements functional programming patterns such as currying, memoization, and function composition. It also features a chainable wrapper interface that allows multiple data transformations to be applied sequentially before extracting a final result.

The library covers a wide range of capability areas, including text sanitization and casing conversion, regular expression operations, and the calculation of mathematical values like factorials and divisors. It also includes tools for parsing Unix timestamps and calculating relative time offsets.

The toolkit extends Swift standard library types with generic methods for data transformation and aggregation.

AI search

Explore more awesome repositories

Describe what you need in plain English — the AI ranks thousands of curated open-source projects by relevance.

Start searching with AI

Features

  • Swift Collection Extensions - Extends Swift arrays and dictionaries with generic methods for advanced manipulation and transformation.
  • Transformation Chains - Wraps collections in a proxy object to apply multiple sequential transformations before extracting the final result.
  • Array Transformations - Maps array elements to new values or flattens nested collections into a single-level array.
  • Element Filtering - Provides predicate-based filtering to create subsets of arrays or remove empty values.
  • Collection Element Transformations - Maps, flattens, or chunks elements into new formats and structures using callback functions.
  • Collection Filtering - Creates new collections based on specific keys or by removing duplicate and empty values.
  • Collection Groupings - Organizes collection elements into dictionaries based on callback functions or frequency counts.
  • Dictionary Extraction and Cleaning - Extracts keys and values, merges dictionaries, or clones them while filtering specific keys.
  • Dictionary Manipulation Utilities - Creates shallow clones of dictionaries by picking or omitting keys and merging multiple dictionaries.
  • Dictionary Key Management - Provides utilities to extract dictionary keys and values or create clones by picking specific keys.
  • Dictionary Merging - Combines multiple dictionaries into one where newer values override previous ones for the same key.
  • Function Chaining - Implements function composition allowing the output of one function to feed as input into the next.
  • Function Currying - Implements functional patterns for currying and partial application to fix specific function arguments.
  • Functional Utility Libraries - Ships a collection of functional programming primitives and collection manipulation tools for Swift.
  • Generic Collection Utilities - Extends Swift standard library types with generic methods for type-safe data transformation and aggregation.
  • Element Search - Locates the first or last element, or the index of a value, that matches a condition.
  • Collection Wrappers - Implements a fluent, chainable wrapper interface for applying sequential transformations to data collections.
  • Function Currying - Implements function currying to transform functions to accept arguments individually through successive calls.
  • Swift String Manipulation Libraries - Offers a toolkit for sanitizing text and converting casing styles natively in Swift.
  • Swift String Processing Libraries - Provides a comprehensive toolkit for sanitizing, formatting, and transforming text strings in Swift.
  • Function Execution Wrappers - Provides wrappers to control function invocation, including executing a function once or applying memoization.
  • Functional Programming - Implements functional programming patterns including currying, memoization, and composition for Swift.
  • Functional Programming Wrappers - Implements functional programming patterns such as currying, partial application, and memoization to control logic execution.
  • Function Composition - Provides tools for combining multiple independent functions into a single composite execution pipeline.
  • Regex Pattern Matching - Provides regular expression operations to match patterns and extract substrings from text.
  • Collection Restructuring - Reorganizes data into new formats such as chunks, flat lists, transposed matrices, or grouped dictionaries.
  • Predicate-Based Filtering - Employs callback functions as predicates to isolate, search, and partition elements within arrays and dictionaries.
  • Array Set Operations - Computes intersections, unions, and differences between multiple arrays to find unique or shared values.
  • Collection Property Plucking - Extracts specific properties from every member of a collection into a new array.
  • Date and Time Libraries - Provides utilities for parsing, validating, and manipulating date and time values.
  • Date Object Creators - Provides utilities for generating date and time objects from Unix timestamps and relative helpers.
  • Collection Sum Calculators - Computes the minimum, maximum, or sum of values within a collection.
  • Ordered Collection Manipulations - Shuffles elements, creates ranges, or retrieves subsets from the start or end of a collection.
  • Text String Cleaning - Provides tools for cleaning string data by removing whitespace and splitting text into arrays.
  • Date and Time Utilities - Provides utility helpers for parsing Unix timestamps and calculating relative time offsets.
  • Regular Expression Utilities - Tests strings against patterns and extracts substrings using regular expression operations.
  • String Case Transformers - Provides utilities for converting text between different naming conventions and sanitizing input.
  • Casing Formatters - Converts strings between camelCase, kebab-case, snake_case, and Start Case formats.
  • Function Invocation Control - Controls function execution flow using currying, composition, and execution limits.
  • Collection Intersections - Identifies intersections and common elements shared across multiple collections.
  • Unix Epoch Conversions - Translates integer Unix timestamps and formatted strings into date objects.
  • Discrete Algorithm Implementations - Provides a set of discrete mathematical procedures for computing factorials, divisors, and random numeric sequences.
  • Discrete Math Utilities - Computes factorials, greatest common divisors, least common multiples, and generates random numbers.
  • Discrete Math Utility Libraries - Implements mathematical procedures for computing factorials, divisors, and random numeric sequences.
  • GCD and LCM Calculators - Includes calculators for the greatest common divisor and least common multiple of integers.
  • Integer Mathematical Utilities - Provides calculations for factorials, divisors, and random integer generation.
  • Number Sequence Generation - Creates arrays of numbers based on defined ranges, specific increments, or arbitrary sequences.
  • Numerical Sequence Generation - Generates arrays of numbers progressing from a start point to an end point.
  • Collection Partitioning - Shuffles, chunks, or partitions array elements into groups based on size or callback functions.
  • Data Structures - Functional tool-belt for Swift collections.
  • General Utilities - Functional programming utilities similar to Lo-Dash.
4,240 stars·362 forks·Swift·MIT·28 views

Star history

Star history chart for ankurp/dollarStar history chart for ankurp/dollar

How this analysis was created: This summary and feature list are AI-generated from collected project material and can contain mistakes. Stars, license and language are imported from GitHub. Inclusion does not mean that we have tested or audited this project. Check the source documentation for any feature you depend on. Learn more on our About page.

Projects sharing features with Dollar

These projects share indexed features with Dollar. Shared tags can include platform or build tooling; verify the primary use case before treating a result as a replacement.
  • pytoolz/toolzpytoolz avatar

    pytoolz/toolz

    5,117View on GitHub↗

    Toolz is a Python library that implements functional programming utilities for iterable transformation, dictionary manipulation, function composition, and lazy evaluation. It provides a set of pure functions designed to work with Python's built-in data structures, enabling concise and composable data processing workflows. What distinguishes toolz is its support for curried partial application, allowing functions to be incrementally applied and reused. It includes dictionary-centric operations that handle nested structures, and offers iterable chain transformers that combine mapping, filtering

    Python
    View on GitHub↗5,117
  • ramda/ramdaramda avatar

    ramda/ramda

    24,072View on GitHub↗

    Ramda is a functional JavaScript standard library and toolset for immutable data transformation and composition. It provides a comprehensive suite of pure utility functions designed to enable declarative data processing pipelines. The library is distinguished by its use of automatic function currying and a data-last argument order. These design patterns allow multi-argument functions to be partially applied, simplifying the construction of processing chains where data is passed through a sequence of operations. The toolkit covers broad data manipulation capabilities, including list processin

    JavaScriptjavascriptramda
    View on GitHub↗24,072
  • lodash/lodashlodash avatar

    lodash/lodash

    61,235View on GitHub↗

    Lodash is a JavaScript utility library and data manipulation toolkit. It provides a collection of modular functions for transforming, filtering, and validating arrays, objects, strings, and numbers. The project functions as a functional programming toolkit, offering capabilities for function composition, currying, and lazy evaluation. It includes mechanisms for execution control, such as debouncing and throttling, to manage the timing and frequency of function invocations. The library covers a broad surface of data operations, including deep cloning and merging of complex nested structures,

    JavaScriptjavascriptlodashmodules
    View on GitHub↗61,235
  • sodiray/radashsodiray avatar

    sodiray/radash

    4,845View on GitHub↗

    Radash is a TypeScript functional utility library designed for data transformation, validation, and workflow management. It provides a collection of typed helper functions to manipulate arrays, objects, and strings. The project features an asynchronous workflow toolkit for managing promises, retries, and concurrency limits, alongside a suite of boolean validators for verifying primitive types, objects, and promises. It also implements functional programming patterns such as function composition, partial application, and error-first response patterns. The library covers a broad surface of cap

    TypeScriptfunctionshacktoberfestjavascript
    View on GitHub↗4,845
Compare all 30 related projects→

Frequently asked questions

What does ankurp/dollar do?

Dollar is a functional programming library for Swift that provides a comprehensive toolkit for collection manipulation, string processing, mathematical calculations, and date and time management. It serves as a utility suite for filtering, aggregating, and restructuring arrays and dictionaries.

What are the main features of ankurp/dollar?

The main features of ankurp/dollar are: Swift Collection Extensions, Transformation Chains, Array Transformations, Element Filtering, Collection Element Transformations, Collection Filtering, Collection Groupings, Dictionary Extraction and Cleaning.

Which projects share features with ankurp/dollar?

Projects with overlapping indexed features include: pytoolz/toolz — Toolz is a Python library that implements functional programming utilities for iterable transformation, dictionary… ramda/ramda — Ramda is a functional JavaScript standard library and toolset for immutable data transformation and composition. It… lodash/lodash — Lodash is a JavaScript utility library and data manipulation toolkit. It provides a collection of modular functions… sodiray/radash — Radash is a TypeScript functional utility library designed for data transformation, validation, and workflow… getify/functional-light-js — Functional-Light-JS is a JavaScript functional programming library designed to implement functional patterns within… remeda/remeda — Remeda is a type-safe functional utility library for TypeScript designed for building data transformation pipelines.…