All Projects → toastal → either

toastal / either

Licence: Apache-2.0 license
Elm Either

Programming Languages

elm
856 projects
Nix
1067 projects

Projects that are alternatives of or similar to either

tiinvo
Functions for tacit programming and functional types for TypeScript and JavaScript.
Stars: ✭ 36 (+50%)
Mutual labels:  result, either
either option
A small typed and safe library for error handling with functionnal programming concept in Dart and flutter project
Stars: ✭ 34 (+41.67%)
Mutual labels:  result, either
dotvariant
A type-safe and space-efficient sum type for C# (comparable to discriminated unions in C or C++)
Stars: ✭ 52 (+116.67%)
Mutual labels:  sum-types
Forbind
Functional chaining and promises in Swift
Stars: ✭ 44 (+83.33%)
Mutual labels:  result
monas
🦋 Scala monads for javascript
Stars: ✭ 21 (-12.5%)
Mutual labels:  either
ftor
ftor enables ML-like type-directed, functional programming with Javascript including reasonable debugging.
Stars: ✭ 44 (+83.33%)
Mutual labels:  sum-types
ts-union
ADT sum type in typescript
Stars: ✭ 65 (+170.83%)
Mutual labels:  sum-types
recursive-variant
Recursive Variant: A simple library for Recursive Variant Types
Stars: ✭ 67 (+179.17%)
Mutual labels:  sum-types
result
A lightweight C++11-compatible error-handling mechanism
Stars: ✭ 121 (+404.17%)
Mutual labels:  result
rocket-pipes
Powerful pipes for TypeScript, that chain Promise and ADT for you 🚌 -> ⛰️ -> 🚠 -> 🏂 -> 🚀
Stars: ✭ 18 (-25%)
Mutual labels:  either
python-pytest-harvest
Store data created during your `pytest` tests execution, and retrieve it at the end of the session, e.g. for applicative benchmarking purposes.
Stars: ✭ 44 (+83.33%)
Mutual labels:  result
J-Curry
A Java library that enables applying Functional Programming concepts like currying and partial application for functions, also it supports types like Either, Try, etc... using RxJava 2 interfaces, compatible with Java 7 and above
Stars: ✭ 17 (-29.17%)
Mutual labels:  either
sum types.dart
A code generator enabling sum-types in Dart
Stars: ✭ 39 (+62.5%)
Mutual labels:  sum-types
ts-belt
🔧 Fast, modern, and practical utility library for FP in TypeScript.
Stars: ✭ 439 (+1729.17%)
Mutual labels:  result
dart meta types
a code gen solution for defining sealed classes, data classes, and enum classes for dart.
Stars: ✭ 25 (+4.17%)
Mutual labels:  union-types
sumtype
A namedtuple-style library for defining immutable sum types in Python.
Stars: ✭ 27 (+12.5%)
Mutual labels:  sum-types
apropos
Fast strong typed 'Either' data structure for typescript and flow
Stars: ✭ 20 (-16.67%)
Mutual labels:  either
common
A minimal library that defines primitive building blocks of PHP code.
Stars: ✭ 28 (+16.67%)
Mutual labels:  result
rust-error-handle
detail rust error handle
Stars: ✭ 47 (+95.83%)
Mutual labels:  result
Esito
Esito ambition is to be your return type for suspending functions.
Stars: ✭ 58 (+141.67%)
Mutual labels:  result

Either

A generic structure for a type with two possibilities: a Left a or a Right b.

An Either is right-biased, so most operations will be applied to the Right—although many operations are provided for Left as well.

This is similar to Result type in core , but is more generic. If you’re looking for a data type to do error handling, you should use Result instead.


Project & Community Notes

This project is regrettably available on GitHub. The Elm community has tied itself to the closed-source, Microsoft-owned code forge of GitHub for package registry and identity. This does not protect the privacy or freedom of its community members.


License

This project is licensed under Apache License 2.0 - LICENSE file for details.

Funding

If you want to make a small contribution to the maintanence of this & other projects

  • Liberapay
  • Bitcoin: 39nLVxrXPnD772dEqWFwfZZbfTv5BvV89y (verified on Keybase)
  • Zcash: t1a9pD1D2SDTTd7dbc15KnKsyYXtGcjHuZZ (verified on Keybase)
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].