awesome-repositories.com
博客
MCP
awesome-repositories.com

通过 AI 驱动的搜索,发现最优秀的开源仓库。

探索精选搜索开源替代品自托管软件博客网站地图
项目MCP 服务器关于排名机制媒体报道
法律隐私政策服务条款
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·

27 个仓库

Awesome GitHub RepositoriesPure Functional Logic Implementations

Code implementations that rely exclusively on deterministic functions without hidden inputs or observable side effects.

Explore 27 awesome GitHub repositories matching software engineering & architecture · Pure Functional Logic Implementations. Refine with filters or upvote what's useful.

Awesome Pure Functional Logic Implementations GitHub Repositories

用 AI 发现最棒的仓库。我们将通过 AI 为您搜索最匹配的仓库。
  • thealgorithms/pythonTheAlgorithms 的头像

    TheAlgorithms/Python

    221,992在 GitHub 上查看↗

    该项目是一个经过验证的计算实现综合仓库,旨在作为计算机科学和算法问题解决的教育资源。它提供了一个结构化的代码示例集合,涵盖了基本数据结构、数学运算和核心编程概念,允许用户研究各种计算方法背后的逻辑和复杂度。 该仓库通过模块化的、基于参考的实现模式脱颖而出,将代码组织成逻辑命名空间。这种方法促进了独立执行和教育清晰度,使用户能够探索计算策略从朴素的暴力破解方法到优化的、高性能解决方案的演变。通过将数据结构抽象与算法操作解耦,该项目确保了实现保持可互换且易于分析。 能力领域涵盖了广泛的技术领域,包括机器学习、密码学、科学计算和计算机视觉。它包括用于预测建模、神经网络和统计分析的实现,以及用于数字信号处理、网络流管理和金融建模的工具。该集合还解决了专门的数学需求,如线性代数、几何计算和位操作,为研究和工程应用提供了广泛的基础。

    Isolate algorithmic logic from stateful side effects to ensure deterministic results and simplify verification.

    Pythonalgorithmalgorithm-competitionsalgorithms-implemented
    在 GitHub 上查看↗221,992
  • date-fns/date-fnsdate-fns 的头像

    date-fns/date-fns

    36,579在 GitHub 上查看↗

    date-fns is a JavaScript date utility library providing a collection of pure functions for manipulating, formatting, and calculating dates and times. It serves as an immutable date manipulation library and a tool for time zone management, ensuring that date transformations are performed without modifying the original date objects. The library functions as a date formatting tool that converts date objects into human-readable strings using custom patterns and international locales. It includes a specific toolset for adjusting and calculating date representations across different geographical re

    Employs stateless pure functions that return new date objects to prevent mutation of the original input data.

    TypeScriptdatedate-fnshacktoberfest
    在 GitHub 上查看↗36,579
  • temporalio/temporaltemporalio 的头像

    temporalio/temporal

    18,411在 GitHub 上查看↗

    Temporal is a distributed workflow orchestration engine designed to manage fault-tolerant, stateful, and long-running background processes. It functions as a platform for coordinating complex cross-service operations, ensuring consistency and reliability in distributed environments by decoupling workflow orchestration from task execution. The platform distinguishes itself through a deterministic, event-sourced execution model that reconstructs workflow state by re-executing code from an immutable event log. This approach isolates non-deterministic side effects into managed activities, allowin

    Restricts workflow logic to pure functions that avoid external side effects to ensure consistent state recovery.

    Gocronjob-schedulerdistributed-crondistributed-systems
    在 GitHub 上查看↗18,411
  • nixos/nixNixOS 的头像

    NixOS/nix

    17,090在 GitHub 上查看↗

    Nix is a functional package manager, purely functional build system, and declarative configuration system. It serves as a reproducible environment manager designed to eliminate manual installation drift by defining software and operating system states through a configuration language. The project provides a means of managing software dependencies in isolated environments to prevent conflicts between different versions of the same tool. It enables the creation of consistent system configurations and development environments that replicate exactly across multiple machines. Its capabilities cov

    Treats software builds as purely functional derivations where the output depends solely on the specified inputs.

    C++c-plus-plusdeclarative-languagefunctional-programming
    在 GitHub 上查看↗17,090
  • experience-monks/math-as-codeExperience-Monks 的头像

    Experience-Monks/math-as-code

    15,482在 GitHub 上查看↗

    This project is a mathematics programming pattern library and translation guide designed to map academic mathematical symbols and formulas into programmable logic. It serves as a reference for converting complex notations into software implementations. The resource provides mapping guides for translating calculus, linear algebra, and set theory into iterative loops, functional code, and boolean expressions. It includes specific patterns for implementing piecewise functions, matrix operations, and standard mathematical operators using conditional logic and built-in language functions. The lib

    Maps piecewise functions and set operations into conditional boolean expressions and data structures.

    在 GitHub 上查看↗15,482
  • ivy-llc/ivyivy-llc 的头像

    ivy-llc/ivy

    14,176在 GitHub 上查看↗

    Ivy is a machine learning framework transpiler and model converter designed to translate code and computational graphs between different deep learning ecosystems. It serves as a portability tool for migrating model architectures and logic across competing frameworks to enable flexible deployment. The system achieves cross-framework conversion by utilizing abstract syntax tree analysis to rewrite source code and by employing a computational graph tracer to capture tensor flows and operation sequences during live execution. This process allows for the translation of both high-level model defini

    Maps individual mathematical functions from one framework to the equivalent functional implementation in another target framework.

    Python
    在 GitHub 上查看↗14,176
  • turfjs/turfTurfjs 的头像

    Turfjs/turf

    10,380在 GitHub 上查看↗

    Turf is a JavaScript and TypeScript geospatial analysis library and toolkit used for performing spatial analysis and geometric operations on GeoJSON data. It functions as a modular spatial engine that allows for the generation, manipulation, and classification of geographic datasets within web and node environments. The library provides a set of utility functions to programmatically create structured points, lines, and polygons. It enables the calculation of distances, areas, and geometric relationships between geographic coordinates, supporting both browser-based geospatial analysis and clie

    Processes spatial data using deterministic functions that return new objects without side effects or mutating inputs.

    TypeScript
    在 GitHub 上查看↗10,380
  • iib0011/omni-toolsiib0011 的头像

    iib0011/omni-tools

    9,710在 GitHub 上查看↗

    omni-tools is a browser-based utility suite that provides client-side tools for manipulating PDFs, media files, and data formats. It functions as a collection of web-based processors and calculation engines that execute directly within the browser without requiring server-side processing. The suite includes a client-side PDF editor for merging, splitting, and reorganizing document structures, and a web-based media processor for resizing, trimming, and converting image and video files. It also features a data format converter that transforms structured information between JSON, CSV, and XML fo

    Uses deterministic functions without side effects to execute mathematical and date calculations.

    TypeScriptalternativeconverterdata-manipulation
    在 GitHub 上查看↗9,710
  • bendc/frontend-guidelinesbendc 的头像

    bendc/frontend-guidelines

    9,089在 GitHub 上查看↗

    This project is a comprehensive collection of frontend development best practices and standards. It provides guides for writing semantic HTML, efficient CSS, and functional JavaScript to improve overall web performance and accessibility. The repository establishes frameworks for modern CSS architecture, focusing on specificity management and the use of Flexbox and Grid for predictable layouts. It outlines patterns for functional JavaScript programming, emphasizing the use of pure functions and composition to reduce execution time and dependency bloat. The guidelines cover several core capabi

    Promotes the use of deterministic pure functions and functional composition to improve code reliability.

    在 GitHub 上查看↗9,089
  • expr-lang/exprexpr-lang 的头像

    expr-lang/expr

    7,906在 GitHub 上查看↗

    Expr is a statically typed expression engine and domain-specific language for parsing and evaluating dynamic logic strings within Go applications. It functions as a bytecode expression evaluator that executes compiled logic with guaranteed termination and memory safety. The engine utilizes a specialized compiler and virtual machine to achieve high-performance execution. It employs static type validation during the compilation phase to ensure operand compatibility and prevent runtime crashes. The project provides a data transformation engine capable of mapping, filtering, and aggregating coll

    Uses a pure-function execution model to calculate results without modifying external state or introducing side effects.

    Gobytecodeconfiguration-languageengine
    在 GitHub 上查看↗7,906
  • louthy/language-extlouthy 的头像

    louthy/language-ext

    7,057在 GitHub 上查看↗

    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

    Implements pure functional programming patterns in C# using monads and higher-kinded type traits.

    C#
    在 GitHub 上查看↗7,057
  • tailwindlabs/prettier-plugin-tailwindcsstailwindlabs 的头像

    tailwindlabs/prettier-plugin-tailwindcss

    7,010在 GitHub 上查看↗

    This project is a Prettier plugin and Tailwind CSS class sorter that automatically organizes utility classes into a consistent and recommended order. It functions as a frontend styling formatter and CSS utility organizer, removing duplicate classes and sorting style attributes across HTML and JavaScript files. The tool ensures consistent markup formatting by ordering utility classes within HTML attributes, template literals, JavaScript expressions, and custom framework props. It integrates with Tailwind CSS configuration files and stylesheets to synchronize sorting behavior with custom theme

    Implements sorting logic as pure functions to ensure deterministic results across different execution environments.

    TypeScript
    在 GitHub 上查看↗7,010
  • phuocng/1locphuocng 的头像

    phuocng/1loc

    6,738在 GitHub 上查看↗

    1loc is a JavaScript utility library and multifaceted toolkit providing a collection of single-line functions for common mathematical, string, date, and geometric operations. It functions as a set of functional programming helpers and data validation predicates designed to perform atomic transformations and validations. The project includes a geometry math library for calculating distances, angles, and spatial overlaps between points and rectangles, alongside a text manipulation library for casting, capitalizing, and analyzing string content. The toolkit covers broader capability areas inclu

    Implements logic using stateless, deterministic functions to ensure outputs depend solely on inputs.

    MDXeleventyjavascriptjavascript-utils
    在 GitHub 上查看↗6,738
  • unisonweb/unisonunisonweb 的头像

    unisonweb/unison

    6,487在 GitHub 上查看↗

    Marks pure functions with empty brace annotations in type signatures.

    Haskellhacktoberfesthaskellprogramming-language
    在 GitHub 上查看↗6,487
  • liuxinyu95/algoxyliuxinyu95 的头像

    liuxinyu95/AlgoXY

    6,325在 GitHub 上查看↗

    AlgoXY 是一本函数式编程教育书籍和技术出版物,以 LaTeX 数字书籍形式制作。它作为一个编程教育资源和库,专注于函数式算法和数据结构。 该项目提供了一系列持久化数据结构(如树和堆),专为不可变状态管理而设计。它包含一系列实现练习和验证答案,通过函数式逻辑的实际应用来教授核心计算机科学概念。 内容涵盖了持久化数据结构的设计以及排序和搜索函数式算法的实现。这些材料以使用 LaTeX 构建系统制作的专业排版技术出版物形式交付。

    Implements sorting and searching logic using stateless functions to prevent side effects and memory mutation.

    TeXalgorithmsfunctional-programminghaskell
    在 GitHub 上查看↗6,325
  • angus-c/justangus-c 的头像

    angus-c/just

    6,204在 GitHub 上查看↗

    Just 是一个 JavaScript 实用程序库集合,专为数据操作、函数式编程、性能优化、统计分析和字符串处理而设计。它提供了一套用于深度克隆、过滤和转换复杂对象与数组的工具。 该项目被构建为一系列零依赖模块,允许独立使用实用程序以最小化包大小。它实现了包括柯里化、管道和部分应用在内的函数式编程模式,并通过记忆化、防抖和节流提供执行控制。 该库涵盖了广泛的功能,包括深度对象操作、组合数据生成以及素数验证和数值钳位等数学运算。它还包括用于计算方差和标准差等指标的统计工具,以及用于大小写转换和字符串插值的文本处理实用程序。

    Designs data transformations as pure functional implementations that avoid observable side effects.

    JavaScript
    在 GitHub 上查看↗6,204
  • apple/coremltoolsapple 的头像

    apple/coremltools

    5,333在 GitHub 上查看↗

    coremltools 是一个转换工具包和翻译器,旨在将各种框架的机器学习模型转换为 Core ML 格式,以便在 Apple 硬件上执行。它提供了一套工具,用于将权重和架构从外部库迁移到可部署的模型格式中。 该项目包含一个优化工具和一个用于编辑模型图及修改元数据的编程接口,以提高在目标硬件上的性能。它还具有一个验证套件,用于检查模型规范和操作兼容性,以确保在运行时正确执行。 该工具包涵盖了广泛的部署功能,包括模型图编辑、元数据配置以及针对正式格式规范的兼容性验证。

    Provides translation of individual mathematical operators between different machine learning frameworks.

    Pythoncoremlcoremltoolsmachine-learning
    在 GitHub 上查看↗5,333
  • wandergis/coordtransformwandergis 的头像

    wandergis/coordtransform

    4,633在 GitHub 上查看↗

    coordtransform 是一个坐标转换库和地图投影工具,用于在 WGS84、GCJ02 和 BD09 系统之间转换地理坐标。它作为地理坐标转换器,转换经纬度值以对齐不同提供商的地图数据。 该库专门处理中国地图集成所需的偏移量,确保在这些国际和区域地图标准之间移动坐标时,空间数据能够正确对齐。 其功能涵盖 GIS 数据对齐和位置数据归一化,将各种坐标系统格式标准化为单一的一致格式,以便进行分析或存储。

    Uses deterministic functions to calculate coordinate transformations without side effects or external state modification.

    JavaScript
    在 GitHub 上查看↗4,633
  • google/open-location-codegoogle 的头像

    google/open-location-code

    4,329在 GitHub 上查看↗

    Open Location Code 是一个地理编码库和工具集,用于将全球经纬度坐标转换为标准化的、人类可读的字母数字数字地址,反之亦然。它作为一个离线位置编码系统,为地球上的任何位置生成唯一标识符,专门为缺乏正式街道地址或邮政系统的地区提供数字地址。 该系统作为无状态算法过程运行,允许在无需网络访问、互联网连接或外部数据库查找表的情况下对坐标进行编码和解码。它利用基于参考的缩短方式,通过省略基于附近参考点的公共前缀来减少地理标识符的长度。 该库包括用于双向地理编码转换和代码操作的实用工具。这些能力涵盖了位置字符串的验证、从缩短版本中恢复完整代码,以及将坐标转换为字母数字字符的分层网格。

    Implements mathematical formulas to calculate coordinates from strings without requiring any external state or database.

    Javaccplusplusdart
    在 GitHub 上查看↗4,329
  • bbatsov/clojure-style-guidebbatsov 的头像

    bbatsov/clojure-style-guide

    4,095在 GitHub 上查看↗

    该项目为 Clojure 开发提供了一套软件架构指南、Lisp 编码标准和函数式编程模式。它确立了通过使用持久数据结构和原子引用来实现声明式逻辑和管理共享状态的最佳实践。 该指南涵盖了记录公共 API 和组织项目目录的标准,以确保可移植的库分发。它详细说明了应用一致的格式化和命名规则,以提高源代码可读性和团队协作。 其范围扩展到惯用开发模式,包括命名空间的组织、函数定义和测试套件的结构,以及宏的负责任设计。它还提供了关于处理与外部类型的互操作以及通过稳定坐标管理库分发的指导。

    Implements pure functional logic to create cleaner and more maintainable control flow.

    在 GitHub 上查看↗4,095
上一个12下一个
  1. Home
  2. Software Engineering & Architecture
  3. Architectural Design Patterns
  4. Design Patterns
  5. Functional Design Patterns
  6. Pure Functional Logic Implementations

探索子标签

  • Cryptographic ImplementationsDeterministic cryptographic logic implemented as pure functions to ensure consistency and security. **Distinct from Pure Functional Logic Implementations:** Specializes pure functional logic for cryptographic primitives rather than general software derivations
  • Functional Logic TranslationsTranslation of mathematical functions, such as piecewise functions, into functional programming constructs. **Distinct from Pure Functional Logic Implementations:** Focuses on the translation process from math to logic, rather than the architectural purity of the implementation.
  • ML Operator TranslationsThe process of translating individual mathematical functions from one ML framework to another. **Distinct from Functional Logic Translations:** Translates operators between ML frameworks specifically, rather than general mathematical functions into functional logic.
  • Purely Functional Derivations1 个子标签Build descriptions modeled as pure functions where outputs are determined solely by the specified inputs. **Distinct from Pure Functional Logic Implementations:** Distinct from general functional logic: applies the concept of pure functions specifically to software build derivations.
  • Stateless Algorithm Implementations2 个子标签Algorithm implementations that avoid mutable state to ensure predictability and prevent side effects. **Distinct from Pure Functional Logic Implementations:** Focuses on the stateless nature of the algorithms rather than general pure functional logic patterns