3 repository-uri
Utilities for evaluating truth values and logical operations within the type system.
Distinct from Boolean Logic Types: Candidates focus on runtime boolean logic, vector evaluators, or attribute extraction rather than compile-time type evaluation.
Explore 3 awesome GitHub repositories matching programming languages & runtimes · Type-Level Boolean Logic. Refine with filters or upvote what's useful.
type-fest is a library of reusable utility types for performing complex transformations and validations on objects, arrays, strings, and numeric ranges in TypeScript. It provides a collection of type definitions designed to handle advanced structural changes and constraints. The project distinguishes itself by offering specialized logic for string literal processing, such as casing transformations and pattern-based modifications, and type-level arithmetic for calculating numeric ranges and absolute values. It also includes utilities for enforcing deep immutability, ensuring union mutual exclu
Provides a utility to determine if two given types are both true at the type level.
ts-toolbelt is a collection of specialized utilities for manipulating and validating TypeScript types. It provides a toolkit for performing complex transformations on objects, unions, and functions to enforce strict data consistency at compile time. The library features dedicated transformers for function types, including utilities for currying, composition, and signature extraction. It also includes an object type manipulator for deep merging, patching, and reshaping complex structures. The capability surface extends to literal string processing, type-level arithmetic, and tuple operations.
Calculates the logical AND of two boolean types to return the resulting type at compile time.
Aceasta este o bibliotecă de ranges C++ și o extensie a Standard Template Library care oferă o colecție de algoritmi compozabili și view-uri lazy pentru procesarea secvențelor de date. Funcționează ca un framework de procesare a secvențelor lazy și o bibliotecă de meta-programare template pentru manipularea listelor de tipuri și efectuarea calculelor de tip la compilare. Proiectul permite tipare de programare funcțională în C++ prin utilizarea sintaxei pipe și a aplicării parțiale pentru a crea lanțuri de transformare a datelor lizibile, de la stânga la dreapta. Permite construirea de pipeline-uri de date lazy care filtrează și transformă elementele la cerere pentru a reduce consumul de memorie și a evita copiile inutile. Biblioteca acoperă zone largi de capabilități, inclusiv manipularea secvențelor, manipularea tipurilor la compilare și implementarea de tipuri de range-uri și iteratori personalizați. Oferă instrumente pentru mutarea containerelor in-place, dispatch-ul algoritmilor bazat pe proiecție și gestionarea listelor de tipuri printr-o serie de apelabile la nivel de tip.
Evaluates boolean-like logical conditions such as and, or, and not across different types at compile time.