GitHub topics: option-type
gigobyte/purify
Functional programming library for TypeScript - https://gigobyte.github.io/purify/
Language: TypeScript - Size: 37.7 MB - Last synced at: 3 days ago - Pushed at: about 1 month ago - Stars: 1,577 - Forks: 60

option-t/option-t
A toolkit of Nullable/Option/Result type implementation in ECMAScript. Their APIs are inspired by Rust's `Option<T>` and `Result<T, E>`.
Language: JavaScript - Size: 10.2 MB - Last synced at: 3 days ago - Pushed at: 4 days ago - Stars: 342 - Forks: 5

ghostwriter/option
Provides an Option type implementation for PHP
Language: PHP - Size: 1.13 MB - Last synced at: 3 days ago - Pushed at: 3 days ago - Stars: 2 - Forks: 0

FaridMo/scats
A comprehensive TypeScript library bringing Scala's powerful functional programming paradigms to JavaScript/TypeScript, featuring immutable collections, monads, pattern matching, and more
Language: TypeScript - Size: 1.07 MB - Last synced at: 14 days ago - Pushed at: 14 days ago - Stars: 0 - Forks: 0

nlkl/Optional
A robust option type for C#
Language: C# - Size: 8.02 MB - Last synced at: 3 days ago - Pushed at: about 2 years ago - Stars: 917 - Forks: 75

wiz-develop/php-monad
📦 Implemented the concept of monads in functional programming in PHP.
Language: PHP - Size: 140 KB - Last synced at: 22 days ago - Pushed at: 22 days ago - Stars: 0 - Forks: 0

pimbrouwers/Danom
Option and Result types for C# to simplify functional programming.
Language: C# - Size: 310 KB - Last synced at: 27 days ago - Pushed at: 27 days ago - Stars: 48 - Forks: 3

mobily/ts-belt
🔧 Fast, modern, and practical utility library for FP in TypeScript.
Language: TypeScript - Size: 16.2 MB - Last synced at: about 1 month ago - Pushed at: over 1 year ago - Stars: 1,173 - Forks: 29

Olian04/simply-result
Simply typesafe Result and Option monads in typescript and javascript.
Language: TypeScript - Size: 165 KB - Last synced at: 15 days ago - Pushed at: over 1 year ago - Stars: 2 - Forks: 0

ricardotondello/Functional.Toolkit.OptionType
Functional.Toolkit.OptionType is a lightweight library that provides an implementation of the Option type in C#. The Option type is a functional programming concept that represents a value that may or may not be present. This can help reduce the number of null checks in your code, making it more robust and easier to reason about.
Language: C# - Size: 360 KB - Last synced at: 13 days ago - Pushed at: about 2 months ago - Stars: 2 - Forks: 0

MaT1g3R/option
Rust like Option and Result types in Python
Language: Python - Size: 788 KB - Last synced at: 19 days ago - Pushed at: over 1 year ago - Stars: 96 - Forks: 5

chrismichaelps/scats
A comprehensive TypeScript library bringing Scala's powerful functional programming paradigms to JavaScript/TypeScript, featuring immutable collections, monads, pattern matching, and more
Language: TypeScript - Size: 1.41 MB - Last synced at: 7 days ago - Pushed at: 4 months ago - Stars: 2 - Forks: 1

yceruto/option-type
The Option type for PHP
Language: PHP - Size: 67.4 KB - Last synced at: about 2 months ago - Pushed at: 9 months ago - Stars: 15 - Forks: 0

vilppu/Infrastructure.Option
Option type usable with C#
Language: C# - Size: 88.9 KB - Last synced at: 8 days ago - Pushed at: 3 months ago - Stars: 1 - Forks: 0

lukemorales/funkcia
Encode failure and absence of value in TypeScript
Language: TypeScript - Size: 644 KB - Last synced at: 4 days ago - Pushed at: 6 months ago - Stars: 16 - Forks: 0

Andreas-Dorfer/functional-extensions
F# inspired functional extensions for C#.
Language: C# - Size: 59.6 KB - Last synced at: 14 days ago - Pushed at: about 4 years ago - Stars: 22 - Forks: 0

benknab/patina
Type-safe error-handling and nothing-handling library for TypeScript
Language: TypeScript - Size: 559 KB - Last synced at: 18 days ago - Pushed at: 6 months ago - Stars: 3 - Forks: 0

jdmartinez/Functional
Functional C# types
Language: C# - Size: 135 KB - Last synced at: 22 days ago - Pushed at: 5 months ago - Stars: 2 - Forks: 0

Hernanatn/errores--
LibrerÃa de C++ que provee abstracciones genéricas para el manejo de errores, valores opcionales y resultados de operaciones.
Language: C++ - Size: 49.7 MB - Last synced at: 5 months ago - Pushed at: 8 months ago - Stars: 1 - Forks: 0

marinasundstrom/OptionAndResultConcept
Concept for Result and Option types in C#/.NET
Language: C# - Size: 7.81 KB - Last synced at: 4 days ago - Pushed at: about 3 years ago - Stars: 8 - Forks: 1

pfpack/pfpack-core-taggeds
PrimeFuncPack Core.Taggeds is a core pack for .NET consisting of fundamental tagged types targeted for use in functional programming: Optional and Result monads, Tagged Union, as well as the convert extensions.
Language: C# - Size: 2.26 MB - Last synced at: 5 days ago - Pushed at: 4 months ago - Stars: 4 - Forks: 0

vickumar1981/pyeffects
Handle side-effects in Python like a boss. Implements functional types for Either, Option, Try, and Future.
Language: Python - Size: 369 KB - Last synced at: 2 months ago - Pushed at: about 1 year ago - Stars: 32 - Forks: 6

bbtsoftware/BBT.Maybe
An option type for .NET
Language: C# - Size: 214 KB - Last synced at: 5 days ago - Pushed at: 7 months ago - Stars: 2 - Forks: 4

eminarican/safetypes
Rust like result and option implementation for golang
Language: Go - Size: 31.3 KB - Last synced at: 5 months ago - Pushed at: about 3 years ago - Stars: 35 - Forks: 2

LockBlock-dev/poc-ts-option-and-result-type
(PoC) Basic implementation of Rust's Option and Result type in TypeScript
Language: TypeScript - Size: 5.86 KB - Last synced at: about 2 months ago - Pushed at: 9 months ago - Stars: 0 - Forks: 0

reiver/go-opt
Package opt implements an optional-type, for the Go programming language. In other programming languages, an optional-type might be know as: a option type, or a maybe type.
Language: Go - Size: 41 KB - Last synced at: 5 months ago - Pushed at: about 1 year ago - Stars: 3 - Forks: 0

kolharsam/option-ts
option types for typescript
Language: TypeScript - Size: 66.4 KB - Last synced at: 5 days ago - Pushed at: 11 months ago - Stars: 0 - Forks: 0

reiver/go-nul
Package nul implements a nullable optional-type, for the Go programming language. In other programming languages, an optional-type might be know as: a option-type, or a maybe-type.
Language: Go - Size: 32.2 KB - Last synced at: 5 months ago - Pushed at: about 1 year ago - Stars: 0 - Forks: 0

reiugit/OptionTypeTwoWays
'OneOf' used as 'Option Type' compared with pure 'Option Type'.
Language: C# - Size: 13.7 KB - Last synced at: about 1 year ago - Pushed at: about 1 year ago - Stars: 0 - Forks: 0

reiugit/OneOfAsOptionType
'OneOf' used as 'Option Type'
Language: C# - Size: 13.7 KB - Last synced at: about 1 year ago - Pushed at: about 1 year ago - Stars: 0 - Forks: 0

crxwns/results
Partial implementation of Rust's Result- and Option-Type in Python
Language: Python - Size: 24.4 KB - Last synced at: about 2 months ago - Pushed at: about 1 year ago - Stars: 0 - Forks: 0

Ruzzie/Ruzzie.Common.Types
Some functional types: Result and Option, for C#
Language: C# - Size: 181 KB - Last synced at: 22 days ago - Pushed at: about 1 year ago - Stars: 1 - Forks: 0

fjellsoftware/javafunctionalutils
Library for functional programing in Java 17+ utilizing sealed types
Language: Java - Size: 32.2 KB - Last synced at: about 1 year ago - Pushed at: about 1 year ago - Stars: 2 - Forks: 0

daddinuz/option
Option type that represents encapsulation of an optional value.
Language: C - Size: 89.8 KB - Last synced at: over 1 year ago - Pushed at: almost 5 years ago - Stars: 7 - Forks: 1

MisterKaiou/go-functional
Small library with some known monads used in functional programming
Language: Go - Size: 63.5 KB - Last synced at: about 1 month ago - Pushed at: almost 3 years ago - Stars: 6 - Forks: 1

incube-group/core
InCube Core libraries for C#
Language: C# - Size: 326 KB - Last synced at: 9 days ago - Pushed at: over 2 years ago - Stars: 9 - Forks: 2

futurum-dev/dotnet.futurum.core
A dotnet library providing Option and Result data types, based on the concepts behind 'Railway Oriented Programming'
Language: C# - Size: 218 KB - Last synced at: 4 days ago - Pushed at: over 2 years ago - Stars: 3 - Forks: 0

saccho/crab
Provides Rust-like Result and Option types.
Language: Dart - Size: 35.2 KB - Last synced at: 8 months ago - Pushed at: over 3 years ago - Stars: 1 - Forks: 0

ayasechan/go-result
Result and Option for golang
Language: Go - Size: 8.79 KB - Last synced at: almost 2 years ago - Pushed at: almost 2 years ago - Stars: 2 - Forks: 0

maximegel/railsharp
A small railway oriented library in C#
Language: C# - Size: 721 KB - Last synced at: about 1 month ago - Pushed at: over 6 years ago - Stars: 7 - Forks: 0

danielchappell/maybe-not
Typescript Maybe<Library<Greatness>>
Language: TypeScript - Size: 65.4 KB - Last synced at: about 2 years ago - Pushed at: over 2 years ago - Stars: 4 - Forks: 2

schrosis/rus-ts
🦀 < Something like Rust with excellent type inference.
Language: TypeScript - Size: 123 KB - Last synced at: 19 days ago - Pushed at: almost 3 years ago - Stars: 2 - Forks: 0

futurum-dev/dotnet.futurum.test
A dotnet testing library, allowing you to test code that uses Futurum.Core
Language: C# - Size: 61.5 KB - Last synced at: about 1 month ago - Pushed at: over 2 years ago - Stars: 1 - Forks: 0

ruturaaj/WordPress-OptionTree-Extended
Option Tree is a popular WordPress Options Framework. This is an extended and improved version of the original Framework with changes in core code and some new useful fields added.
Language: PHP - Size: 1010 KB - Last synced at: over 2 years ago - Pushed at: over 7 years ago - Stars: 3 - Forks: 1

yah01/ore
Option and Result types for GoLang
Language: Go - Size: 3.91 KB - Last synced at: 14 days ago - Pushed at: over 3 years ago - Stars: 0 - Forks: 0

linkdd/rustic_maybe
Maybe monad for Elixir inspired by Rust Option type
Language: Elixir - Size: 7.81 KB - Last synced at: 20 days ago - Pushed at: almost 4 years ago - Stars: 1 - Forks: 0

yayoc/optional-chain
⛓Optional chaining implementation in TypeScript
Language: TypeScript - Size: 1.71 MB - Last synced at: 2 months ago - Pushed at: over 2 years ago - Stars: 19 - Forks: 2

xpe/another-option
Rust library that provides `Opt<T>` as an alternative to `Option<T>`. This is advantageous when: 1. the generic type, `T`, is expensive to allocate, and 2. mutation between `None` and `Some(...)` is frequent.
Language: Rust - Size: 2.93 KB - Last synced at: about 1 year ago - Pushed at: over 5 years ago - Stars: 0 - Forks: 0

reiver/gogen-optiontype
Option types (also known as maybe types) for Go, via "go generate".
Language: Go - Size: 102 KB - Last synced at: 5 months ago - Pushed at: about 6 years ago - Stars: 1 - Forks: 0

hamzaelsaawy/MaybeEither.jl
Maybe (Option) and Either types for Julia
Language: Julia - Size: 2.93 KB - Last synced at: 3 months ago - Pushed at: over 6 years ago - Stars: 0 - Forks: 0

sdleffler/empty-option-rs
A small library for dealing with mutable references to the option type in Rust.
Language: Rust - Size: 12.7 KB - Last synced at: 6 days ago - Pushed at: about 8 years ago - Stars: 0 - Forks: 0

aevitas/maybe
Simplistic implementation of an option type in C#
Language: C# - Size: 24.4 KB - Last synced at: 1 day ago - Pushed at: over 8 years ago - Stars: 0 - Forks: 0
