{"repo":"nekoya404/UniFP-Functional-Programming-for-Unity","free":true,"listed":false,"github":"https://github.com/nekoya404/UniFP-Functional-Programming-for-Unity","clone":"git clone https://github.com/nekoya404/UniFP-Functional-Programming-for-Unity.git","description":"C# Zero Allocation Functional programming for Unity powered by monad pipelines.","language":"C#","stars":33,"topics":["awaitable","functional-programming","railway-oriented-programming","unitask","unity","unity-package"],"license":"MIT","category":"game-templates","readme_excerpt":"English · 한국어 · 简体中文 · 日本語 UniFP — C# Functional Programming for Unity UniFP is a GC zero-allocation C# functional programming framework for Unity, inspired by Rust, Haskell, and F#. It brings functional thinking and explicit error handling to game logic without hurting runtime performance. Traditional C# functional libraries (for example, language-ext) target general-purpose .NET environments. They ship extensive features and complex abstractions, with steep learning curves and often avoid using structs, leading to GC allocations and performance loss in Unity's runtime. UniFP was developed as a lightweight alternative optimized for real-time applications, combining Rust's type system-based stability and performance-first philosophy with the railway-oriented programming paradigm from functional languages. The goal is to enable safe error handling and declarative pipelines in gameplay code without heavy dependencies. Result and Option provide pipeline extensions that implement type-safe flow control instead of exceptions while minimizing GC burden. Every core type is provided as a struct. In the Editor or UNIFP DEBUG environment, each operation automatically records file/line/method information. It can be used directly in Unity projects without additional configuration. What UniFP is NOT ❌ Rewriting all Unity scripts in functional style 🙅‍♂️🙅‍♂️🙅‍♂️🙅‍♂️🙅‍♂️🙅‍♂️🙅‍♂️ ✅ Simplifying complex branching and error handling in existing logic with functional pipelines 🙆‍♂️🙆‍♂️���","default_branch":null,"files":null,"tree":[],"storefront":"/r/nekoya404","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/nekoya404/UniFP-Functional-Programming-for-Unity/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}