An open API service providing repository metadata for many open source software ecosystems.

GitHub topics: either-monad

stumathews/libmonad

C++ Monads library for small projects

Language: C++ - Size: 557 KB - Last synced at: 3 days ago - Pushed at: 3 days ago - Stars: 3 - Forks: 1

harikrishnan83/RailwayOrientedProgramming

Kotlin Railway Oriented Programming

Language: Kotlin - Size: 154 KB - Last synced at: 4 days ago - Pushed at: 4 days ago - Stars: 2 - Forks: 1

xyzsd/dichotomy

Result, Either, Try, and Maybe monadic types for Java

Language: Java - Size: 327 KB - Last synced at: 6 days ago - Pushed at: 6 days ago - Stars: 35 - Forks: 3

richecr/holo-fn

A minimal functional library for TypeScript featuring monads like Maybe, Either and Result. Built for composability and Rambda compatibility.

Language: TypeScript - Size: 752 KB - Last synced at: 8 days ago - Pushed at: 8 days ago - Stars: 2 - Forks: 0

patrickmichalina/typescript-monads

📚Write safer TypeScript using Maybe, List, Result, and Either monads.

Language: TypeScript - Size: 1.54 MB - Last synced at: 21 days ago - Pushed at: 21 days ago - Stars: 121 - Forks: 12

lucadecamillis/category-theory

Language: C# - Size: 93.8 KB - Last synced at: 24 days ago - Pushed at: 25 days ago - Stars: 0 - Forks: 1

profjordanov/restaurant

A by the book Domain-Driven Design application.

Language: C# - Size: 4.1 MB - Last synced at: about 1 month ago - Pushed at: about 2 months ago - Stars: 18 - Forks: 6

AlexXanderGrib/monads-io

Practical, Tree-Shakeable implementation of Either (Result) and Option (Maybe) in TypeScript

Language: TypeScript - Size: 600 KB - Last synced at: 4 days ago - Pushed at: about 2 months ago - Stars: 2 - Forks: 0

jbock-java/either

Functional error handling for Java

Language: Java - Size: 271 KB - Last synced at: about 1 month ago - Pushed at: 7 months ago - Stars: 43 - Forks: 3

sphrak/Either

☯️ Either type for Kotlin

Language: Kotlin - Size: 193 KB - Last synced at: about 1 month ago - Pushed at: 10 months ago - Stars: 2 - 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: about 1 month ago - Pushed at: almost 4 years ago - Stars: 111 - Forks: 2

Aaronmacaron/reaction

PHP library for dealing with reactions of actions

Language: PHP - Size: 22.5 KB - Last synced at: 13 days ago - Pushed at: over 6 years ago - Stars: 2 - 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: 12 days ago - Pushed at: about 1 month 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: 20 days ago - Pushed at: 10 months ago - Stars: 32 - Forks: 6

ace411/bingo-functional

A simple functional programming library for PHP

Language: PHP - Size: 2.28 MB - Last synced at: about 1 month ago - Pushed at: 8 months ago - Stars: 66 - Forks: 8

elias8/outcome

A dart library that provides a functional approach to error handling.

Language: Dart - Size: 5.86 KB - Last synced at: about 1 month ago - Pushed at: over 1 year ago - Stars: 2 - Forks: 0

HamedStack/HamedStack.Functional

A comprehensive C# functional programming library, enabling the creation of elegant and efficient code.

Language: C# - Size: 92.8 KB - Last synced at: about 1 month ago - Pushed at: 7 months ago - Stars: 0 - Forks: 0

hoc081098/dart_either

Either monad for Dart language and Flutter framework. The library for error handling and railway oriented programming. Supports `Monad comprehensions` (both `sync` and `async` versions). Supports `async map` and `async flatMap` hiding the boilerplate of working with asynchronous computations `Future<Either<L, R>>`. Error handler library for type-safe and easy work with errors on Dart and Flutter. Either is an alternative to Nullable value and Exceptions.

Language: Dart - Size: 177 KB - Last synced at: 29 days ago - Pushed at: 3 months ago - Stars: 9 - Forks: 1

spencerwi/Either.java

A right-biased implementation of "Either a b" for Java, using Java 8 for mapping/folding and type inference.

Language: Java - Size: 206 KB - Last synced at: about 1 month ago - Pushed at: about 3 years ago - Stars: 70 - Forks: 13

astuanax/fun

Functional javascript library

Language: JavaScript - Size: 3.35 MB - Last synced at: 6 days ago - Pushed at: about 2 years ago - Stars: 2 - Forks: 1

Anvell/either

Lightweight Either monad implementation

Language: Kotlin - Size: 284 KB - Last synced at: about 2 months ago - Pushed at: 11 months ago - Stars: 1 - Forks: 0

php-slang/php-slang

The place where PHP meets Functional Programming

Language: PHP - Size: 185 KB - Last synced at: 2 months ago - Pushed at: almost 7 years ago - Stars: 105 - Forks: 11

FakhrulASA/CleanMVVM-Hilt-Coroutine-Either

This project implements the dagger Hilt, Kotlin coroutines, MVVM and Clean Architecture, and functional implementation like either use cases, repository model.

Language: Kotlin - Size: 98.6 KB - Last synced at: about 1 year ago - Pushed at: over 3 years ago - Stars: 1 - Forks: 0

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: about 20 hours ago - Pushed at: about 1 year ago - Stars: 2 - Forks: 1

scottbrady91/Kotlin-OAuth-Demo

Demo code and authorization server from "Experimenting with Kotlin and OAuth"

Language: Kotlin - Size: 15.6 KB - Last synced at: about 1 year ago - Pushed at: over 7 years ago - Stars: 8 - Forks: 0

oagudo/either-cpp-monad

C++ implementation of the either monad

Language: C++ - Size: 113 KB - Last synced at: about 1 year ago - Pushed at: almost 10 years ago - Stars: 0 - Forks: 0

astuanax/fun-monads

Typescript Monads: Option, Try, Either, Reader

Language: TypeScript - Size: 310 KB - Last synced at: 2 months ago - Pushed at: about 5 years ago - Stars: 2 - Forks: 0

ruimaciel/neither Fork of LoopPerfect/neither

Either and Maybe monads for better error-handling in C++

Language: C++ - Size: 1.09 MB - Last synced at: over 1 year ago - Pushed at: over 1 year ago - Stars: 0 - Forks: 0

dnikolovv/cafe

A by the book DDD application with React/Redux and .NET Core. It features CQRS, event-sourcing, functional programming, TDD, Docker and much more.

Language: C# - Size: 1.2 MB - Last synced at: over 1 year ago - Pushed at: over 2 years ago - Stars: 75 - Forks: 19

jeff-wise/do

Pragmatic functional programming in Kotlin.

Language: Kotlin - Size: 87.9 KB - Last synced at: over 1 year ago - Pushed at: almost 3 years ago - Stars: 0 - Forks: 0

sabatinim/birthday-greetings

Birthday Greeting solution using Kotlin and FP approach with Either monad (from Arrow)

Language: Kotlin - Size: 44.9 KB - Last synced at: almost 2 years ago - Pushed at: over 2 years ago - Stars: 0 - Forks: 0

amenayach/DirectoryWatchDog

Simple directory watcher using imperative and functional style via Either monad

Language: C# - Size: 14.6 KB - Last synced at: almost 2 years ago - Pushed at: over 3 years ago - Stars: 0 - Forks: 0

hoc081098/Edoctor-MVI-Arrow-RxKotlin-Coroutines-Flow

Edoctor-MVI-Arrow-RxKotlin-Coroutines-Flow. Android Clean Architecture MVI Boilerplate

Language: Kotlin - Size: 33.4 MB - Last synced at: 29 days ago - Pushed at: over 1 year ago - Stars: 5 - Forks: 1

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: 7 days ago - Pushed at: over 1 year ago - Stars: 4 - 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: about 1 month ago - Pushed at: over 2 years ago - Stars: 34 - Forks: 7

metric-space/yajjsl 📦

Yet Another javascript json schema library

Language: JavaScript - Size: 72.3 KB - Last synced at: about 2 months ago - Pushed at: over 8 years ago - Stars: 2 - Forks: 0

joeldentici/monadic-js

Algebraic structure implementations, do-notation, and operators to truly live the fantasy

Language: JavaScript - Size: 181 KB - Last synced at: 3 days ago - Pushed at: over 7 years ago - Stars: 10 - Forks: 0

rajasharan/java8-easy-monads

Simple Monad implementations for java 8

Language: Java - Size: 67.4 KB - Last synced at: 2 months ago - Pushed at: about 8 years ago - Stars: 1 - Forks: 0

seb-bizeul/fp-flow

Collection of algebraic data types to use with Flow

Language: JavaScript - Size: 206 KB - Last synced at: 16 days ago - Pushed at: about 6 years ago - Stars: 1 - Forks: 0

wmaurer/ngx-fp-ts

Angular structural directives for fp-ts types (Option, Either).

Language: TypeScript - Size: 1.01 MB - Last synced at: 21 days ago - Pushed at: over 2 years ago - Stars: 10 - Forks: 4

minecrawler/result-js

Rusty Monad Results for JS

Language: JavaScript - Size: 136 KB - Last synced at: 6 days ago - Pushed at: about 5 years ago - Stars: 12 - Forks: 0

Wmbat/libreglisse

A header-only library implementing monadic types in C++

Language: C++ - Size: 331 KB - Last synced at: about 2 years ago - Pushed at: over 3 years ago - Stars: 1 - Forks: 1

rgeraldporter/inquiry-monad

Inquiry is a process flow that allows one ask multiple questions about a subject value. This process grants observability over all results, returning a collection of all successes, failures, and the original subject.

Language: TypeScript - Size: 187 KB - Last synced at: 2 days ago - Pushed at: about 6 years ago - Stars: 3 - Forks: 0

crowe-alex/ALEither

Either monad in swift

Language: Swift - Size: 51.8 KB - Last synced at: 11 days ago - Pushed at: almost 5 years ago - Stars: 1 - Forks: 0

lupuszr/fantasy-ts

An easy to read and beginner friendly fp lib

Language: TypeScript - Size: 341 KB - Last synced at: about 2 years ago - Pushed at: over 2 years ago - Stars: 0 - Forks: 0

battermann/State-Monad-Example

Sample code for blog post on combined state and either monad

Language: Scala - Size: 7.81 KB - Last synced at: about 1 month ago - Pushed at: over 7 years ago - Stars: 3 - Forks: 1

mcgizzle/CS4012-Functional-Programming

Haskell monad transformers and some other helpful stuff

Language: Haskell - Size: 17.6 KB - Last synced at: about 2 years ago - Pushed at: over 6 years ago - Stars: 6 - Forks: 2

mtumilowicz/java11-vavr-either

Overview of vavr Either API.

Language: Java - Size: 60.5 KB - Last synced at: 3 months ago - Pushed at: over 6 years ago - Stars: 0 - Forks: 1

jkone27/cat

C# abstract types

Language: C# - Size: 75.2 KB - Last synced at: 11 days ago - Pushed at: almost 6 years ago - Stars: 0 - Forks: 0

Vikasg7/flow

Provides Either, Task Monoids for functional control flow in the Nodejs/Javascript.

Language: JavaScript - Size: 3.91 KB - Last synced at: about 2 years ago - Pushed at: about 7 years ago - Stars: 0 - Forks: 0

haris44/for-helpers

A little helpers class using Cats EitherT to make better for comprehension

Language: Scala - Size: 11.7 KB - Last synced at: 6 months ago - Pushed at: over 7 years ago - Stars: 2 - Forks: 0

agilogy/better-either

Better Either is a set of experimental micro-libraries to work with Either from the standard library.

Language: Scala - Size: 31.3 KB - Last synced at: about 1 year ago - Pushed at: almost 8 years ago - Stars: 1 - Forks: 0

Vincibean/HexadecimalMatchDecoder

A simple example of functional approach: validation of input events

Language: Scala - Size: 28.3 KB - Last synced at: about 2 years ago - Pushed at: about 8 years ago - Stars: 0 - Forks: 0