optional-type
StarHere are 22 public repositories matching this topic...
Language: All Filter by language All 22 Go 7 C# 4 C++ 3 Java 3 PHP 2 TypeScript 2 C 1 Sort: Most stars Sort options Most stars Fewest stars Most forks Fewest forks Recently updated Least recently updatedrvarago / absent
Star 45A small C++17 library meant to simplify the composition of nullable types in a generic, type-safe, and declarative way.
cpp functional-programming modern-cpp cpp17 monadic-interface cpp-library monad-library nullable-type declarative-programming optional-chaining optional-type- Updated Jan 4, 2023
- C++
eminarican / safetypes
Star 37Rust like result and option implementation for golang
go rust golang option-type optional option result result-type optional-type- Updated Aug 30, 2022
- Go
Southclaws / opt
Sponsor Star 34A simple and ergonomic optional type for Go.
go golang functional-programming optional optional-type maybe-type- Updated Jan 30, 2024
- Go
eisop / checker-framework
Star 32Pluggable type-checking for Java
optional-type checker-framework- Updated Dec 3, 2026
- Java
skbkontur / results
Star 31Result pattern for C# with generic error/fault type, async extensions and do-notation via LINQ Query Syntax
csharp dotnet error-handling optional result results discriminated-unions do-notation exception-handling result-type optional-type result-pattern operationresult- Updated Aug 28, 2026
- C#
eclipse-canon-c / Canon-C
Star 25A standard library for formally-verified C — with explicit, composable primitives that can scale.
c embedded cross-platform high-performance c99 error-handling header-only memory-safety memory-management type-safety ownership formal-verification lifetime c-library systems-programming safety-critical explicit result-type optional-type defer-pattern- Updated Dec 3, 2026
- C
VitorLuizC / maybe
Star 19🌯 The prettiest TypeScript implementation of Maybe monad.
typescript functional functional-programming fp ava type-safe optional maybe type-safety optional-typing bili maybe-monad optional-type maybe-type- Updated Jul 7, 2025
- TypeScript
yceruto / option-type
Sponsor Star 15The Option type for PHP
php option-type optional-type null-safety- Updated Nov 27, 2024
- PHP
pfpack / pfpack-core-taggeds
Star 5PrimeFuncPack 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.
csharp pipeline functional-programming dotnet pipelines pipeline-framework async-programming dotnet-core asynchronous-programming option-type discriminated-unions sum-types either-monad result-type tagged-unions disjoint-unions pipeline-library optional-type result-monad unit-type- Updated May 30, 2026
- C#
reiver / go-opt
Star 4Package 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.
option-type optional-type maybe-type- Updated Jul 14, 2026
- Go
singh-rajiv / honesty-dotnet
Star 3Write Honest functions in C# or convert Pure functions to Honest functions using Optional and Result monads. Combine them with LINQ and create extremely powerful functional compositions.
monads csharp functional-programming dotnet-core result-type optional-type pure-functions- Updated Dec 28, 2022
- C#
noncommunicado / KutCode.Optionality
Star 2Optional object type
patterns csharp dotnet dotnetcore optional optional-type- Updated Apr 2, 2025
- C#
metaeducation / needful
Star 2Rust-like type checking for C, at zero runtime cost.
rust static-analysis error-handling casting zero-dependency result-type optional-type single-header-library std-optional- Updated Dec 2, 2026
- C++
pedramktb / go-typx
Star 1typX is a go package that provides useful types, helpers and utilities.
go golang types golang-library go-library nullable-type optional-type go-type go-pointer- Updated Jul 20, 2026
- Go
disgoorg / omit
Star 0 golang omit optional-type- Updated Mar 21, 2026
- Go
josestg / maybe
Star 0Maybe is a utility for handling optional values safely and cleanly in TypeScript. Inspired by Haskell and OCaml, it provides a clear and functional approach to dealing with values that may or may not exist.
typescript maybe optional-type deno- Updated Nov 19, 2024
- TypeScript
supraerror / better-optional-java
Star 0a proposal for a better implementation of the Optional class in Java
java optional-implementations optionals maybe-monad optional-chaining optional-type- Updated Nov 12, 2025
- Java
drfurqan / C-11-14-17-Tests
Star 0Implementations of C++11, 14, and 17 features.
stl stl-containers any-type variadic-templates stl-algorithms optional-type variadic-function- Updated Jun 7, 2018
- C++
zleonov / maybe
Star 0A maybe type for Java
value optional maybe value-object nullable optionals nullable-type maybe-monad optional-chaining optional-type return-type optional-parameters- Updated May 28, 2025
- Java
Phauthentic / php-optional
Star 0PHP version of Javas Optional class is used to represent a container object which may or may not contain a non-null value.
php monads php-library oop monad optional optional-type- Updated Jul 21, 2024
- PHP
Add this topic to your repo
To associate your repository with the optional-type topic, visit your repo's landing page and select "manage topics."