16 Repos
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.
Dieses Projekt ist ein umfassendes Marktdaten-Toolkit und Finanzanalysesystem, das speziell für China A-Shares konzipiert ist. Es dient als Daten-Pipeline für den Abruf von Echtzeit-Kursen, die Aggregation von Unternehmensfinanzberichten und die Automatisierung der Aktienanalyse. Das System zeichnet sich durch spezialisierte Monitore für institutionelle Kapitalbewegungen aus, einschließlich Northbound-Fund-Flows, Margin-Trading-Salden und Large-Block-Transaktionen. Es verfügt zudem über einen dedizierten Options-Greeks-Rechner für ETF-Derivate und Tools zur Einschätzung der Marktstimmung via Beliebtheitsrankings im Einzelhandel und trendigen Konzept-Tags. Die Funktionen erstrecken sich auf die fundamentale Unternehmensanalyse durch die Extraktion von Bilanzen und offiziellen Börsenmitteilungen. Das Toolkit deckt zudem die Identifizierung von Markttrends, das Ranking der Sektor-Performance und die Aggregation professioneller institutioneller Forschungsberichte und Gewinnprognosen ab. Das System enthält Traffic-Management-Funktionen wie Request-Throttling und Jitter, um die Stabilität während API-Integrationen zu wahren.
Fetches ETF option contracts and calculates Delta, Gamma, Theta, and Vega values.
Cats ist eine funktionale Programmierbibliothek für Scala und eine Typklassen-Bibliothek, die darauf ausgelegt ist, algebraische Muster und funktionale Abstraktionen zu implementieren. Sie bietet einen standardisierten Satz an Schnittstellen und ein modulares Toolkit aus funktionalen Wrappern und Containern, um Ad-hoc-Polymorphismus und generische Programmierung über unterschiedliche Typen hinweg zu ermöglichen. Das Projekt dient als Standard für funktionale Abstraktion und bietet eine Monad-Transformer-Suite zur Komposition verschachtelter, effektbehafteter Kontexte und zur Handhabung mehrerer rechnerischer Seiteneffekte innerhalb einer einzigen Pipeline. Es ermöglicht zudem die Konstruktion eingebetteter domänenspezifischer Sprachen, indem Programmlogik als Datenstrukturen dargestellt wird, die unabhängig von ihren Definitionen interpretiert werden. Die Bibliothek deckt breite Funktionsbereiche ab, einschließlich algebraischer Datenmanipulation zum Kombinieren und Reduzieren von Werten, typsicherem Zustandsmanagement und funktionaler Fehlerbehandlung zur Formalisierung von Fehlerakkumulation und -wiederherstellung. Sie bietet zudem Werkzeuge für das Management effektbehafteter Berechnungen und die Erweiterung von Standard-Collection-Typen um funktionale Fähigkeiten. Die Bibliothek enthält Mechanismen zur Validierung algebraischer Gesetze, um sicherzustellen, dass Typklassen-Instanzen mathematische Eigenschaften einhalten.
Provides Semigroup and Monoid type classes to combine values of the same type using associative operations.
ESTree ist ein formales Schema und eine Reihe von Objektschnittstellen, die verwendet werden, um JavaScript-Quellcode als standardisierten abstrakten Syntaxbaum darzustellen. Es dient als gemeinsames Baumformat und Parser-Standard, um die Interoperabilität zwischen verschiedenen JavaScript-Parsern und Transformations-Tools sicherzustellen. Die Spezifikation bietet eine konsistente Möglichkeit, Sprachkonstrukte zu modellieren, einschließlich Statements, Ausdrücken und Moduldeklarationen. Sie enthält detaillierte Repräsentationen für moderne Sprachfunktionen wie Klassen, private Identifikatoren und Kurzschlusslogik wie Nullish Coalescing und Optional Chaining. Das Projekt deckt ein breites Spektrum an Sprach-Tooling ab, einschließlich der Modellierung von Modulsystemen mit dynamischen Importen und Export-Aliasing, der Handhabung großer Ganzzahl-Literale und der Unterstützung experimenteller Syntaxerweiterungen für Sprachvorschläge im Frühstadium. Zudem definiert es, wie Baumknoten auf ursprüngliche Quellkoordinaten für eine präzise Standortverfolgung abgebildet werden. Dieses standardisierte Modell erleichtert die statische Codeanalyse, die automatisierte Quellcode-Transformation und die allgemeine Interoperabilität von Compiler-Tools.
Models member accesses and function calls that short-circuit when a reference is null or undefined.
Dieses Projekt ist eine Sammlung kuratierter Richtlinien und Handbücher für das Schreiben von sauberem, idiomatischem und wartbarem Code in Scala. Es dient als umfassender Leitfaden für Scala-Codierungsstandards, funktionales Programmierdesign und Enterprise-Softwarearchitektur. Das Repository bietet spezifische Strategien für das Concurrency-Management, einschließlich Mustern für Akteure, Futures und Thread-Pools, um Thread-Sicherheit zu gewährleisten. Es enthält zudem ein Handbuch zur Leistungsoptimierung, das sich auf die Reduzierung von Speicherallokationen und die Verwaltung des Garbage-Collection-Drucks konzentriert, um die Laufzeiteffizienz zu verbessern. Die Leitfäden decken ein breites Spektrum an Funktionen ab, einschließlich Anwendungsarchitektur, typsicherer Fehlerbehandlung und der Verwendung unveränderlicher Datenstrukturen. Zudem werden Qualitätssicherungsmaßnahmen wie standardisierte Namenskonventionen, modulares Trait-Design sowie die Implementierung von Back-Pressure und Demand-Signaling behandelt.
Advocates for the use of optional value types to eliminate unsafe getters and null pointer exceptions.
Returns ist eine Bibliothek für funktionale Programmierung für Python, die typsichere Container zur Verwaltung von Zustand, Fehlerbehandlung und Optionalität bereitstellt. Sie dient als monadische Container-Bibliothek und typsicheres Fehlerbehandlungs-Framework, das traditionelle Try-Catch-Blöcke und Null-Checks durch Result- und Optional-Container ersetzt, um Ausnahmen als Daten zu behandeln. Das Projekt zeichnet sich durch die Verwendung eines spezialisierten Mypy-Plugins zur statischen Analyse aus, um funktionale Pipelines zu validieren und Higher-Kinded-Types zu emulieren. Es bietet Mechanismen zur Isolierung von Seiteneffekten durch IO-Container und bietet ein Framework für typsichere Dependency-Injection, das die Bereitstellung von Abhängigkeiten bis zur finalen Ausführung einer Berechnung aufschiebt. Die Bibliothek deckt ein breites Spektrum funktionaler Primitive ab, einschließlich Currying, partieller Anwendung und der Komposition deklarativer Datenpipelines. Sie unterstützt asynchrones Workflow-Management durch das Einwickeln von Coroutines in Container, um nicht-blockierende Operationen zu verketten, und enthält Utilities für das Ressourcen-Lebenszyklusmanagement sowie die Verifizierung algebraischer Gesetze für benutzerdefinierte Container.
Provides operations to unwrap values from side-effect or optional containers for compatibility with imperative APIs.
ts-essentials ist ein umfassendes Toolkit mit Utility-Types und Bibliotheken für TypeScript, das erweiterte Primitive für rekursive strukturelle Transformationen, Laufzeit-Assertions und Type-Guards bereitstellt. Es dient als Utility-Bibliothek zur Durchführung komplexer Type-Level-Programmierung, um eine stärkere Typsicherheit zu gewährleisten und Boilerplate-Code zu reduzieren. Das Projekt zeichnet sich durch ein spezialisiertes Set an Tools für die tiefe Objektmanipulation aus, wie etwa das rekursive Anwenden von Read-only- oder Optional-Modifikatoren über verschachtelte Hierarchien hinweg. Zudem bietet es ein dediziertes Set an strikten Type-Constraints, um sicherzustellen, dass Datenstrukturen spezifisch den JSON-Spezifikationen entsprechen. Das Toolkit deckt ein breites Spektrum an Funktionen ab, einschließlich Typanalyse für die Metadatenextraktion, Union- und Tuple-Manipulation sowie Validierung der strukturellen Identität. Es enthält zudem Laufzeit-Verifizierungs-Utilities, um die Vollständigkeit von Cases in der bedingten Logik zu erzwingen und Typ-Constraints während der Ausführung zu validieren.
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.