GitHub topics: maybe
samber/mo
🦄 Monads and popular FP abstractions, powered by Go 1.18+ Generics (Option, Result, Either...)
Language: Go - Size: 229 KB - Last synced at: about 5 hours ago - Pushed at: about 7 hours ago - Stars: 3,096 - Forks: 107

ardalis/Result
A result abstraction that can be mapped to HTTP response codes if needed.
Language: C# - Size: 383 KB - Last synced at: 4 days ago - Pushed at: 25 days ago - Stars: 983 - Forks: 122

gigobyte/purify
Functional programming library for TypeScript - https://gigobyte.github.io/purify/
Language: TypeScript - Size: 37.7 MB - Last synced at: 6 days ago - Pushed at: about 2 months ago - Stars: 1,577 - Forks: 60

getify/monio
The most powerful IO monad implementation in JS, possibly in any language!
Language: JavaScript - Size: 634 KB - Last synced at: 8 days ago - Pushed at: about 1 month ago - Stars: 1,105 - Forks: 60

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

2bllw8/unf
A functional programming library for modern Java (21+)
Language: Java - Size: 98.6 KB - Last synced at: 15 days ago - Pushed at: 15 days ago - Stars: 0 - Forks: 0

AlexXanderGrib/monads-io
Practical, Tree-Shakeable implementation of Either (Result) and Option (Maybe) in TypeScript
Language: TypeScript - Size: 888 KB - Last synced at: 16 days ago - Pushed at: 16 days ago - Stars: 2 - Forks: 0

andryushchenko/AInq.Optional
Simple optional types for .NET with basic helpers
Language: C# - Size: 664 KB - Last synced at: 17 days ago - Pushed at: 18 days ago - Stars: 0 - Forks: 0

bogoware/Monads
C# Maybe and Result monads
Language: C# - Size: 312 KB - Last synced at: 16 days ago - Pushed at: about 2 months ago - Stars: 4 - Forks: 1

JoseLion/maybe
A monadic wrapper with a type-safe API to handle throwing operations in a functional way
Language: Java - Size: 7.07 MB - Last synced at: 1 day ago - Pushed at: about 1 year ago - Stars: 14 - Forks: 1

Blu-J/ts-matches
Being able to pattern match in typescript
Language: TypeScript - Size: 2.59 MB - Last synced at: 21 days ago - Pushed at: about 1 month ago - Stars: 11 - Forks: 3

DavidArno/SuccincT
Discriminated unions, pattern matching and partial applications for C#
Language: C# - Size: 2.6 MB - Last synced at: about 20 hours ago - Pushed at: over 2 years ago - Stars: 268 - Forks: 15

sospedra/mayre
Maybe render a React component, maybe not 😮
Language: JavaScript - Size: 674 KB - Last synced at: 8 days ago - Pushed at: 7 months ago - Stars: 117 - Forks: 8

devkcud/salvation
💀 A generic Go wrapper for optional values, inspired by Rust's Option and Haskell's Maybe. Brings Possibly[T] to your codebase for safe, expressive nothingness.
Language: Go - Size: 11.7 KB - Last synced at: 2 months ago - Pushed at: 2 months ago - Stars: 1 - Forks: 0

VitorLuizC/bitty
🗃 A mono-repository with functional programming helpers, algebraic data types, util functions, types and even some micro frameworks in TypeScript.
Language: TypeScript - Size: 436 KB - Last synced at: about 21 hours ago - Pushed at: 2 months ago - Stars: 30 - Forks: 1

VitorLuizC/maybe
🌯 The prettiest TypeScript implementation of Maybe monad.
Language: TypeScript - Size: 244 KB - Last synced at: about 21 hours ago - Pushed at: 2 months ago - Stars: 19 - Forks: 0

ashr123/option
DOP version of Optional
Language: Java - Size: 87.9 KB - Last synced at: 2 months ago - Pushed at: 2 months ago - Stars: 0 - Forks: 0

OsasDev12/succinct
Set up the Succinct Prover with minimal hardware and software requirements. Rent GPUs easily with Vast.ai. 🚀💻 Explore our guides for smooth installation.
Language: Shell - Size: 44.9 KB - Last synced at: 2 months ago - Pushed at: 2 months ago - Stars: 0 - Forks: 0

e-mo/wisdom_hal_extender
A modular HAL extender for the Wisdom Communication Board
Language: C - Size: 69.3 KB - Last synced at: 3 months ago - Pushed at: 3 months ago - Stars: 0 - Forks: 2

zleonov/maybe
A maybe type for Java
Language: Java - Size: 72.3 KB - Last synced at: 3 months ago - Pushed at: 3 months ago - Stars: 0 - Forks: 0

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

functionalland/functional
Common Functional Programming Algebraic data types for JavaScript that is compatible with most modern browsers and Deno.
Language: JavaScript - Size: 297 KB - Last synced at: 16 days ago - Pushed at: about 4 years ago - Stars: 112 - Forks: 2

rackspace/maybe-result
Safe handling of null and undefined in Typescript and Javascript
Language: TypeScript - Size: 303 KB - Last synced at: 20 days ago - Pushed at: 4 months ago - Stars: 0 - Forks: 0

nozzlegear/railway
Functional helpers including `Async` and `Result` to help enable things like "railway-oriented" programming. Heavily inspired by F#
Language: TypeScript - Size: 142 KB - Last synced at: 11 days ago - Pushed at: almost 2 years ago - Stars: 31 - Forks: 2

thonymg/maybe-zod
TypeScript utility library that combines Zod schema validation with error handling using a Maybe monad pattern for negative space programming.
Language: TypeScript - Size: 32.2 KB - Last synced at: 19 days ago - Pushed at: 5 months ago - Stars: 3 - Forks: 0

13d-io/maybe-just-maybe
A Maybe monad specifically designed for use with Ramda
Language: JavaScript - Size: 1.96 MB - Last synced at: 30 days ago - Pushed at: over 2 years ago - Stars: 5 - Forks: 0

guillermocalvo/optional
😺 A general-purpose Maybe type for C
Language: C - Size: 557 KB - Last synced at: 6 months ago - Pushed at: 6 months ago - Stars: 0 - Forks: 0

hoaproject/Option 📦
The Hoa\Option library.
Language: PHP - Size: 40 KB - Last synced at: 14 days ago - Pushed at: over 4 years ago - Stars: 10 - Forks: 3

LoopPerfect/neither
Either and Maybe monads for better error-handling in C++ ↔️
Language: C++ - Size: 1.08 MB - Last synced at: about 2 months ago - Pushed at: almost 6 years ago - Stars: 253 - Forks: 18

Suopunki/scala-option
Scala like Option type in Python
Language: Python - Size: 20.5 KB - Last synced at: 2 months ago - Pushed at: 7 months ago - Stars: 0 - Forks: 0

Winand/python-option
Implementation of Scala Option in Python
Language: Python - Size: 3.91 KB - Last synced at: 6 months ago - Pushed at: 8 months ago - Stars: 0 - Forks: 0

edeckers/pyella
Common applicatives, functors and monads for loads of /fun/ with Python
Language: Python - Size: 306 KB - Last synced at: 23 days ago - Pushed at: 3 months ago - Stars: 4 - Forks: 3

rap1ds/ruby-possibly
A maybe monad
Language: Ruby - Size: 65.4 KB - Last synced at: 20 days ago - Pushed at: about 9 years ago - Stars: 151 - Forks: 11

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

pawaclawczyk/scalp
Some Scala useful classes ported to PHP.
Language: PHP - Size: 83 KB - Last synced at: about 2 months ago - Pushed at: almost 8 years ago - Stars: 17 - Forks: 1

saschagrunert/func
Functional additions to C
Language: C++ - Size: 24.4 KB - Last synced at: 5 months ago - Pushed at: over 7 years ago - Stars: 58 - Forks: 2

Skippia/fp-playground
Explore opportunities of functional programming through the prism of typescript and `fp-ts`
Language: TypeScript - Size: 467 KB - Last synced at: 3 months ago - Pushed at: 7 months ago - Stars: 0 - Forks: 0

danieljharvey/functional-programming-is-boring
A short course on Functional Programming in Typescript
Language: TypeScript - Size: 514 KB - Last synced at: 3 months ago - Pushed at: over 3 years ago - Stars: 63 - Forks: 6

josestg/maybe
Maybe 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.
Language: TypeScript - Size: 6.84 KB - Last synced at: 6 months ago - Pushed at: 10 months ago - Stars: 0 - Forks: 0

RyanDur/sand
A little helper lib
Language: TypeScript - Size: 947 KB - Last synced at: 8 days ago - Pushed at: 10 months ago - Stars: 2 - Forks: 0

alexanderjarvis/maybe
Maybe is a type that wraps optional values
Language: JavaScript - Size: 85.9 KB - Last synced at: 20 days ago - Pushed at: almost 7 years ago - Stars: 302 - Forks: 10

leon737/Functional.Fluent
Fluent functional extensions for C#
Language: C# - Size: 303 KB - Last synced at: 16 days ago - Pushed at: over 7 years ago - Stars: 8 - Forks: 1

Grouloo/shulk
Write beautiful code that won't crash.
Language: TypeScript - Size: 354 KB - Last synced at: 29 days ago - Pushed at: about 1 year ago - Stars: 3 - Forks: 0

MaybeYash/MaybeAlso
Language: HTML - Size: 29.3 KB - Last synced at: about 1 year ago - Pushed at: about 1 year ago - Stars: 0 - Forks: 0

darky/rocket-pipes
Powerful pipes for TypeScript, that chain Promise and ADT for you 🚌 -> ⛰️ -> 🚠 -> 🏂 -> 🚀
Language: TypeScript - Size: 1.09 MB - Last synced at: 8 days ago - Pushed at: about 1 year ago - Stars: 25 - Forks: 0

AIRTucha/amonad
Experimental implementation of Maybe and Result monads compatible with await.
Language: TypeScript - Size: 74.2 KB - Last synced at: 30 days ago - Pushed at: almost 5 years ago - Stars: 30 - Forks: 1

andytubeee/prnt.sc-Scraper
Find strangers screenshot
Language: JavaScript - Size: 2.88 MB - Last synced at: about 1 year ago - Pushed at: about 1 year ago - Stars: 0 - Forks: 0

shortishly/scran
scran is a parser combinator library heavily influenced by nom
Language: Erlang - Size: 273 KB - Last synced at: 13 days ago - Pushed at: almost 2 years ago - Stars: 2 - Forks: 0

vecryd/MaybeResult
C# implementation of the Maybe and Result monads for better error handling
Language: C# - Size: 79.1 KB - Last synced at: 19 days ago - Pushed at: about 1 year ago - Stars: 1 - Forks: 0

aloisdeniel/dart_maybe
No more null check with an dart equivalent of Maybe (Haskel, Elm) / Option (F#).
Language: Dart - Size: 17.6 KB - Last synced at: 5 months ago - Pushed at: over 4 years ago - Stars: 19 - Forks: 3

cypress-io/feature-maybe 📦
Functional feature toggles on top of any object
Language: JavaScript - Size: 7.81 KB - Last synced at: 25 days ago - Pushed at: over 7 years ago - Stars: 6 - Forks: 1

flpStrri/tupperware
🍯 Very opinionated Python monads
Language: Python - Size: 203 KB - Last synced at: over 1 year ago - Pushed at: over 5 years ago - Stars: 4 - Forks: 0

miomip/SilentLib
SilentLib is a library built in pure Kotlin code to function as just that, a library that is silent, but still make things easier
Language: Kotlin - Size: 64.5 KB - Last synced at: over 1 year ago - Pushed at: over 1 year ago - Stars: 0 - Forks: 0

patrimart/monadness-js
Implements Either, Maybe and Tuple monads.
Language: TypeScript - Size: 69.3 KB - Last synced at: 13 days ago - Pushed at: over 8 years ago - Stars: 33 - Forks: 3

ortense/functors
A collection of dependency-free functors written in TypeScript, created to be type-safe, immutable, and lightweight.
Language: TypeScript - Size: 1.3 MB - Last synced at: 22 days ago - Pushed at: over 1 year ago - Stars: 2 - Forks: 1

edumserrano/csharp-functional
csharp-functional provides a set of NuGet packages to drive your coding towards a functional approach as well as enabling Railway Oriented programming
Language: C# - Size: 769 KB - Last synced at: 6 days ago - Pushed at: about 3 years ago - Stars: 12 - Forks: 3

dbrack/maybe
Maybe monad for TypeScript
Language: TypeScript - Size: 17.6 KB - Last synced at: over 1 year ago - Pushed at: about 7 years ago - Stars: 0 - Forks: 0

ttab/passport-wsfed-saml2 Fork of passport/passport-wsfed-saml2
passport strategy for both WS-fed and SAML2 protocol
Language: JavaScript - Size: 130 KB - Last synced at: over 1 year ago - Pushed at: about 12 years ago - Stars: 0 - Forks: 0

ttab/gulp-s3-upload Fork of clineamb/gulp-s3-upload
A gulp task to upload/update assets to an S3 account.
Language: JavaScript - Size: 123 KB - Last synced at: over 1 year ago - Pushed at: over 9 years ago - Stars: 0 - Forks: 0

ttab/cookbook-elasticsearch Fork of sous-chefs/elasticsearch
Chef cookbook for elasticsearch
Language: Ruby - Size: 291 KB - Last synced at: over 1 year ago - Pushed at: about 12 years ago - Stars: 0 - Forks: 0

ttab/auto-reload-brunch Fork of brunch/auto-reload-brunch
Adds automatic browser reloading support to brunch.
Language: CoffeeScript - Size: 128 KB - Last synced at: over 1 year ago - Pushed at: about 12 years ago - Stars: 0 - Forks: 0

realpha/eitherway
Yet Another Option and Result Implementation - providing safe abstractions for fallible flows inspired by F# and Rust
Language: TypeScript - Size: 241 KB - Last synced at: 30 days ago - Pushed at: over 1 year ago - Stars: 10 - Forks: 0

hermannhueck/scala-standard-types-in-java
Language: Java - Size: 6.84 KB - Last synced at: over 1 year ago - Pushed at: over 7 years ago - Stars: 0 - Forks: 0

hermannhueck/scala-standard-types
Language: Scala - Size: 14.6 KB - Last synced at: over 1 year ago - Pushed at: about 6 years ago - Stars: 0 - Forks: 0

nadameu/adt-ts
TypeScript library inspired by PureScript
Language: TypeScript - Size: 1.26 MB - Last synced at: 8 days ago - Pushed at: almost 2 years ago - Stars: 5 - Forks: 0

ajermakovics/optional
Optional (Maybe) type in Wren programming language https://wren.io
Size: 2.93 KB - Last synced at: 6 months ago - Pushed at: about 5 years ago - Stars: 6 - Forks: 0

Lipen/kotlin-maybe
Maybe for Kotlin
Language: Kotlin - Size: 49.8 KB - Last synced at: over 1 year ago - Pushed at: over 1 year ago - Stars: 1 - Forks: 0

TylorS/typed-unmaintained
The TypeScript Standard Library
Language: TypeScript - Size: 1.39 MB - Last synced at: over 1 year ago - Pushed at: almost 3 years ago - Stars: 122 - Forks: 7

abudzinskyy/maybe-java
Maybe monad for Java.
Language: Java - Size: 61.5 KB - Last synced at: over 1 year ago - Pushed at: over 5 years ago - Stars: 0 - Forks: 0

MeowType/MaybeDart
Some / Maybe / Option / Result / Nullable, like Haskel Maybe, Can avoid semantic confusion caused by returning null when returning a value
Language: Dart - Size: 40 KB - Last synced at: 8 days ago - Pushed at: 27 days ago - Stars: 7 - Forks: 0

phelmkamp/valor
Go option and result types that optionally contain a value
Language: Go - Size: 199 KB - Last synced at: about 1 year ago - Pushed at: about 2 years ago - Stars: 16 - Forks: 1

orxfun/orx-fun-option
An option type for C# aiming to be explicit while concise.
Language: C# - Size: 1.53 MB - Last synced at: 9 days ago - Pushed at: over 1 year ago - Stars: 0 - Forks: 0

maik-hasler/Functional.Primitives
Functional.Primitives.Maybe is a lightweight library providing a functional-style Maybe<T> struct. This struct represents an optional value that may or may not be present, offering a more expressive way to handle nullable types in a functional programming paradigm.
Language: C# - Size: 33.2 KB - Last synced at: 8 months ago - Pushed at: almost 2 years ago - Stars: 0 - Forks: 0

libsugar/sugar.js
Like syntactic sugar, but is library
Language: TypeScript - Size: 3.95 MB - Last synced at: 14 days ago - Pushed at: almost 2 years ago - Stars: 12 - Forks: 0

ChristophP/funpro
Be functional by using union types, pattern matching, and pure side-effects
Language: JavaScript - Size: 1.19 MB - Last synced at: 30 days ago - Pushed at: over 2 years ago - Stars: 9 - Forks: 1

j2jensen/CallMeMaybe
A C# library to help you deal with optional values
Language: C# - Size: 688 KB - Last synced at: 25 days ago - Pushed at: over 6 years ago - Stars: 6 - Forks: 2

sbernheim4/excoptional
A fully typed, zero-dependency implementation of the functional programming Option object for JavaScript and TypeScript
Language: HTML - Size: 1.28 MB - Last synced at: 8 days ago - Pushed at: over 3 years ago - Stars: 11 - 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

xaotascript/brainstorm
Сборник идей для реализации "когда-нибудь потом"
Size: 0 Bytes - Last synced at: about 2 years ago - Pushed at: about 8 years ago - Stars: 0 - Forks: 0

R2D221/NullableClass
Helper classes and analyzer to avoid usage of null in class types, for C#
Language: C# - Size: 56.6 KB - Last synced at: 7 days ago - Pushed at: about 7 years ago - Stars: 1 - Forks: 0

kickstarter/ruby-maybe 📦
A Ruby implementation of the Maybe type
Language: Ruby - Size: 17.6 KB - Last synced at: 3 days ago - Pushed at: about 8 years ago - Stars: 10 - Forks: 0

masonkmeyer/barely
A "functional" library for typescript
Language: TypeScript - Size: 26.4 KB - Last synced at: 30 days ago - Pushed at: almost 8 years ago - Stars: 13 - Forks: 2

anevsky/SVMaybe Fork of svoisen/SVMaybe
A Maybe monad implementation for Objective-C
Language: Objective-C - Size: 21.5 KB - Last synced at: over 2 years ago - Pushed at: almost 10 years ago - Stars: 0 - Forks: 0

f3ath/maybe-just-nothing
Yet another variation of the Maybe monad written in Dart.
Language: Dart - Size: 43 KB - Last synced at: 5 months ago - Pushed at: over 2 years ago - Stars: 5 - Forks: 0

matteoantoci/fat-arrow-ts
Fat Arrow is a library for Typed Functional Programming in TypeScript compatible with Node.js and all major browsers.
Language: TypeScript - Size: 1020 KB - Last synced at: 18 days ago - Pushed at: almost 2 years ago - Stars: 4 - Forks: 0

williamareynolds/ts-cat
A static-land and fantasy-land compliant library containing interfaces for common type-classes and common instances of them.
Language: TypeScript - Size: 729 KB - Last synced at: 11 days ago - Pushed at: over 2 years ago - Stars: 7 - Forks: 0

christianhg/kanskje
Simple Maybe monad written in TypeScript
Language: TypeScript - Size: 1.56 MB - Last synced at: 23 days ago - Pushed at: over 2 years ago - Stars: 1 - Forks: 0

23ua/funerl
Maybe and Either monads interfaces in Erlang
Language: Erlang - Size: 348 KB - Last synced at: over 2 years ago - Pushed at: almost 10 years ago - Stars: 3 - Forks: 0

TimoBechtel/maybe
Can't decide between true or false? You don't have to.
Language: HTML - Size: 1.95 KB - Last synced at: 7 days ago - Pushed at: almost 5 years ago - Stars: 1 - Forks: 0

cbyad/either_option
A small typed and safe library for error handling with functionnal programming concept in Dart and flutter project
Language: Dart - Size: 29.3 KB - Last synced at: 5 months ago - Pushed at: almost 3 years ago - Stars: 34 - Forks: 7

sergeysova/es2-result-option 📦
Maybe and Either monad for your JavaScript project
Language: JavaScript - Size: 771 KB - Last synced at: 8 days ago - Pushed at: about 7 years ago - Stars: 2 - Forks: 0

sergeysova/es2-option.js 📦
[Deprecated] Use:
Language: JavaScript - Size: 188 KB - Last synced at: 8 days ago - Pushed at: over 7 years ago - Stars: 3 - Forks: 0

HKGx/perhaps
Save your time when dealing with data that perhaps may exist.
Language: Python - Size: 530 KB - Last synced at: 9 days ago - Pushed at: over 1 year ago - Stars: 5 - Forks: 0

medmouine/gomad
Lightweight functional data and side effects manipulation patterns in Golang with no dependencies.
Language: Go - Size: 150 KB - Last synced at: about 1 year ago - Pushed at: over 2 years ago - Stars: 29 - Forks: 1

chtoucas/Abc.Maybe 📦
A fully-featured Option type, aka a Maybe type, for .NET.
Language: C# - Size: 1.5 MB - Last synced at: 21 days ago - Pushed at: over 3 years ago - Stars: 0 - Forks: 0

LucasVanHooste/UnityOption
UnityOption is a C# implementation of the 'Option' type that can be serialized in the Unity inspector.
Language: C# - Size: 1.3 MB - Last synced at: over 2 years ago - Pushed at: almost 3 years ago - Stars: 1 - Forks: 0

joanllenas/ts.data.maybe
A Typescript implementation of the Maybe data type
Language: TypeScript - Size: 39.1 KB - Last synced at: 10 days ago - Pushed at: over 4 years ago - Stars: 11 - Forks: 1

zyrconium13/SoftwareCraft.Maybe
SoftwareCraft.Maybe represents the OOP implementation of a functional concept. Instead of returning null, return a Maybe, and the code will be much cleaner and the intent much clearer.
Language: C# - Size: 56.6 KB - Last synced at: about 1 month ago - Pushed at: almost 3 years ago - Stars: 1 - Forks: 1

YuriiOstapchuk/fully-optional
Utilities for composable approach to handle null and undefined
Language: TypeScript - Size: 1.17 MB - Last synced at: 22 days ago - Pushed at: over 2 years ago - Stars: 12 - Forks: 0

mono83/maybe
Generic Maybe monad implementation in Go
Language: Go - Size: 13.7 KB - Last synced at: 7 months ago - Pushed at: almost 3 years ago - Stars: 0 - Forks: 0
