16 مستودعات
Containers that explicitly represent the presence or absence of a value.
Distinct from Null Value Representations: Focuses on functional Optional containers rather than database null representations.
Explore 16 awesome GitHub repositories matching data & databases · Optional Containers. Refine with filters or upvote what's useful.
This project is a comprehensive educational resource and programming course covering C++ language semantics and features from C++03 through C++26. It provides structured tutorials and technical guides focused on modern C++ development. The material offers specialized instruction on template metaprogramming, including the use of type traits and compile-time computations. It features detailed guides on concurrency and parallelism for multi-core execution, as well as a reference for software design applying SOLID principles and RAII. Additionally, it covers build performance optimization to redu
Provides instruction on using wrappers like std::optional to represent values that may or may not exist.
fp-ts is a TypeScript library that brings pure functional programming patterns to the language through algebraic data types, type class abstractions, and composable combinators. It provides foundational data types like Option for optional values, Either for typed error handling, and Task for lazy asynchronous computations, all designed to make invalid states unrepresentable and side effects explicit. The library is built on category theory concepts, offering type classes such as Functor, Applicative, Monad, Semigroup, and Monoid with lawful instances for common data structures. The library di
Extracts the inner value from an Option, returning null when absent.
MobX State Tree is a structured, tree-based state management library for JavaScript applications that combines typed model definitions with reactive snapshots and patch-based change tracking. It provides a reactive state container with runtime and compile-time type safety, where application state is defined as a tree of typed models with collocated actions, computed views, and lifecycle hooks for predictable state mutations. The library is built around an action-centric mutation model that encapsulates all state changes within named functions that directly modify the tree, supported by genera
Defines optional value types that can be undefined or null for model properties.
This repository is a collection of practical code snippets and implementation patterns for Flutter and Dart. It serves as a comprehensive guide and reference for asynchronous programming, state management patterns, and UI component design. The project provides advanced language reference material covering generics, reflection, factory constructors, and null-aware operators. It also includes specific utilities for manipulating Dart collections, such as helper methods for transforming and filtering maps, lists, and iterables. The coverage extends to high-level capabilities including asynchrono
Provides patterns for supplying fallback values when dealing with null or optional variables.
🚀 A Complete Fast Android Networking Library that also supports HTTP/2 🚀
Combines multiple independent network request results into a single merged output.
Concurrent Ruby is a comprehensive concurrency toolkit for the Ruby language that provides thread-safe data structures, synchronization primitives, and asynchronous execution patterns. It implements core concurrency abstractions including an actor model framework where isolated actors communicate through asynchronous message passing, a future and promise system for composing non-blocking operations, and thread pool executors that manage reusable worker threads for concurrent task execution. The library distinguishes itself through a broad set of coordination mechanisms that go beyond basic th
Implements Just and Nothing containers to explicitly represent computed value presence or absence.
CloudEvents is an open specification for describing event data in a common format across cloud platforms and services. It defines a standard structure and set of metadata attributes for events, enabling interoperability across different systems so producers and consumers can exchange events without custom translation. The specification provides a protocol-agnostic serialization framework that maps CloudEvents attributes and payloads to multiple serialization formats including JSON, Avro, and Protobuf, and defines transport bindings for mapping events onto protocols like HTTP, AMQP, Kafka, MQTT
Defines how to mark optional CloudEvent fields as nullable in Avro using union types.
Orange3 is a visual data mining platform that provides an interactive canvas for building data analysis workflows without writing code. At its core, it offers a widget-based visual programming environment where users connect configurable components to perform data preprocessing, machine learning model training, statistical evaluation, and interactive visualization. The platform is built on NumPy-backed data tables with domain descriptors that define variable names, types, and roles, and includes a lazy SQL query proxy for working with database tables without loading all data into memory. The
Ships a widget that selects data instances with no undefined values, optionally restricting the check to specific columns.
هذا المشروع عبارة عن مجموعة أدوات بيانات السوق ونظام تحليل مالي مصمم خصيصاً لأسهم A الصينية. يعمل كخط أنابيب بيانات لاسترجاع الأسعار في الوقت الفعلي، وتجميع البيانات المالية للشركات، وأتمتة أبحاث الأسهم. يتميز النظام بشاشات متخصصة لتحركات رأس المال المؤسسي، بما في ذلك تدفقات الأموال المتجهة شمالاً، وأرصدة تداول الهامش، والمعاملات الكبيرة. كما يتميز بآلة حاسبة مخصصة لـ Greeks الخيارات لمشتقات ETF وأدوات لقياس معنويات السوق عبر تصنيفات شعبية التجزئة وعلامات المفاهيم الشائعة. تمتد القدرات إلى التحليل الأساسي للشركات من خلال استخراج الميزانيات العمومية وإعلانات البورصة الرسمية. تغطي مجموعة الأدوات أيضاً تحديد اتجاهات السوق، وتصنيف أداء القطاع، وتجميع تقارير الأبحاث المؤسسية المهنية وتوقعات الأرباح. يتضمن النظام ميزات إدارة حركة المرور مثل تقييد الطلبات والارتعاش للحفاظ على الاستقرار أثناء تكاملات واجهة برمجة التطبيقات.
Fetches ETF option contracts and calculates Delta, Gamma, Theta, and Vega values.
Cats هو مكتبة برمجة وظيفية في Scala ومكتبة فئات الأنواع (Type Class) مصممة لتنفيذ الأنماط الجبرية والتجريدات الوظيفية. توفر مجموعة موحدة من الواجهات ومجموعة أدوات معيارية من الأغلفة والحاويات الوظيفية لتمكين تعدد الأشكال المخصص والبرمجة العامة عبر أنواع متباينة. يعمل المشروع كمعيار للتجريد الوظيفي، ويقدم مجموعة محولات الموناد (Monad Transformer) لتركيب سياقات التأثير المتداخلة والتعامل مع تأثيرات جانبية حسابية متعددة داخل خط أنابيب واحد. كما يتيح بناء لغات خاصة بالمجال (DSL) مضمنة من خلال تمثيل منطق البرنامج كهياكل بيانات يتم تفسيرها بشكل منفصل عن تعريفاتها. تغطي المكتبة مجالات قدرة واسعة بما في ذلك معالجة البيانات الجبرية لدمج وتقليل القيم، وإدارة الحالة الآمنة للأنواع، ومعالجة الأخطاء الوظيفية لإضفاء الطابع الرسمي على تراكم الأخطاء والتعافي منها. كما توفر أدوات لإدارة الحسابات ذات التأثير وتوسيع أنواع المجموعات القياسية بقدرات وظيفية. تتضمن المكتبة آليات للتحقق من القوانين الجبرية لضمان التزام مثيلات فئات الأنواع بالخصائص الرياضية.
Provides Semigroup and Monoid type classes to combine values of the same type using associative operations.
ESTree هو مخطط رسمي ومجموعة من واجهات الكائنات المستخدمة لتمثيل كود مصدر JavaScript كشجرة بناء جملة مجردة موحدة. يعمل كتنسيق شجرة مشترك ومعيار محلل لضمان التوافق بين مختلف محللات JavaScript وأدوات التحويل. توفر المواصفات طريقة متسقة لنمذجة بنيات اللغة، بما في ذلك العبارات، والتعبيرات، وإعلانات الوحدات. تتضمن تمثيلات مفصلة لميزات اللغة الحديثة مثل الفئات، والمعرفات الخاصة، والمنطق القصير مثل nullish coalescing وoptional chaining. يغطي المشروع سطحاً واسعاً لأدوات اللغة، بما في ذلك نمذجة أنظمة الوحدات مع الاستيرادات الديناميكية وتسمية التصدير المستعارة، والتعامل مع قيم الأعداد الصحيحة الكبيرة، ودعم امتدادات الصيغة التجريبية لمقترحات اللغة في المرحلة المبكرة. كما يحدد كيفية تعيين عقد الشجرة إلى إحداثيات المصدر الأصلية لتتبع الموقع بدقة. يسهل هذا النموذج الموحد تحليل الكود الثابت، وتحويل الكود المصدري الآلي، وتوافق أدوات المترجم العامة.
Models member accesses and function calls that short-circuit when a reference is null or undefined.
هذا المشروع عبارة عن مجموعة من الإرشادات والأدلة المنسقة لكتابة كود نظيف، اصطلاحي، وقابل للصيانة في Scala. يعمل كدليل شامل لمعايير ترميز Scala، وتصميم البرمجة الوظيفية، وهندسة برمجيات المؤسسات. يوفر المستودع استراتيجيات محددة لإدارة التزامن، بما في ذلك أنماط للوكلاء (actors)، والعقود الآجلة (futures)، ومجمعات الخيوط (thread pools) لضمان سلامة الخيوط. كما يحتوي على دليل لتحسين الأداء يركز على تقليل تخصيصات الذاكرة وإدارة ضغط جمع القمامة لتحسين كفاءة وقت التشغيل. تغطي الأدلة مجموعة واسعة من القدرات بما في ذلك هندسة التطبيقات، ومعالجة الأخطاء الآمنة للنوع، واستخدام هياكل البيانات غير القابلة للتغيير. كما يتناول ضمان جودة البرمجيات من خلال اصطلاحات التسمية الموحدة، وتصميم السمات النمطية، وتنفيذ الضغط العكسي وإشارات الطلب.
Advocates for the use of optional value types to eliminate unsafe getters and null pointer exceptions.
Returns هي مكتبة برمجة وظيفية لـ Python توفر حاويات آمنة من حيث النوع لإدارة الحالة، ومعالجة الأخطاء، والاختيارية. تعمل كمكتبة حاويات مونادية (monadic) وإطار عمل لمعالجة الأخطاء آمن من حيث النوع، حيث تستبدل كتل try-catch التقليدية وفحوصات null بحاويات Result و Optional لمعاملة الاستثناءات كبيانات. يتميز المشروع باستخدامه لمكون إضافي متخصص للتحليل الثابت Mypy للتحقق من خطوط الأنابيب الوظيفية ومحاكاة الأنواع ذات الرتب الأعلى. يوفر آليات لعزل الآثار الجانبية من خلال حاويات IO ويقدم إطار عمل لحقن التبعية الآمن من حيث النوع الذي يؤجل توفير التبعيات حتى التنفيذ النهائي للحساب. تغطي المكتبة نطاقاً واسعاً من البدائيات الوظيفية، بما في ذلك التجزئة (currying)، والتطبيق الجزئي، وتكوين خطوط أنابيب البيانات التصريحية. تدعم إدارة سير العمل غير المتزامن عن طريق تغليف الـ coroutines في حاويات لسلسلة العمليات غير المحظورة وتتضمن أدوات مساعدة لإدارة دورة حياة الموارد والتحقق من القوانين الجبرية للحاويات المخصصة.
Provides operations to unwrap values from side-effect or optional containers for compatibility with imperative APIs.
ts-essentials is a comprehensive toolkit of utility types and libraries for TypeScript, providing advanced primitives for recursive structural transformations, runtime assertions, and type guards. It serves as a utility library for performing complex type-level programming to ensure stronger type safety and reduce boilerplate. The project distinguishes itself through a specialized set of tools for deep object manipulation, such as recursively applying read-only or optional modifiers across nested hierarchies. It also provides a dedicated set of strict type constraints to ensure data structure
Identifies all optional properties within an object type and creates a union of those keys.
SwiftTips is a curated collection of guides, libraries, and design patterns focused on Swift language mastery, application architecture, and API design. It provides a technical resource for implementing advanced coding techniques and architectural best practices. The project emphasizes creating type-safe and conversational interfaces through strategic protocol composition and generics. It offers specialized patterns for building modular UI systems and managing complex view hierarchies, alongside comprehensive strategies for unit testing and dependency injection. The resource covers a broad s
Executes a sequence of operations on optional values without nested conditional unwrapping.
CSharpFunctionalExtensions is a functional programming library for C# that provides a framework of monadic containers, pipeline orchestration tools, and immutable domain object patterns. It implements the result pattern to handle operation success and failure as values, reducing the reliance on exceptions for control flow. The library enables railway-oriented programming by chaining multiple operations into sequences that execute only upon the success of previous steps. It provides specialized wrappers for optional and result types to minimize null checks and nested conditional logic, alongsi
Uses optional containers to handle missing values without relying on null checks.