An open API service indexing awesome lists of open source software.

Projects in Awesome Lists tagged with sum-types

A curated list of projects in awesome lists tagged with sum-types .

https://github.com/derive4j/derive4j

Java 8 annotation processor and framework for deriving algebraic data types constructors, pattern-matching, folds, optics and typeclasses.

algebra algebraic-data-types annotation-processor catamorphisms derive4j discriminated-unions exhaustiveness-checking fold functional-programming java java-8 laziness optics sum-types tagged-unions visitor visitor-pattern

Last synced: 12 Apr 2025

https://github.com/jspahrsummers/adt

Algebraic data types for Python (experimental, not actively maintained)

algebraic-data-types python3 sum-types tagged-unions

Last synced: 06 Apr 2025

https://github.com/roger-luo/moshi.jl

nextgen MLStyle: Generic Algebraic Data Type + Pattern Match

algebraic-data-types julia pattern-matching sum-types

Last synced: 10 Oct 2025

https://github.com/mknejp/dotvariant

A type-safe and space-efficient sum type for C# (comparable to discriminated unions in C or C++)

algebraic-data-types csharp csharp-sourcegenerator discriminated-unions functional sum-types union variant

Last synced: 20 Feb 2026

https://github.com/twop/ts-union

ADT sum type in typescript

adt sum-types typescript

Last synced: 24 Oct 2025

https://github.com/cwahn/efp

Expressive High-Performance Eager Functional Programming Library for C++ 11

adt cpp cpp11 functional-programming higher-order-component sum-types

Last synced: 22 Aug 2025

https://github.com/alexocode/ex_union

Tagged unions for Elixir. Just that.

discriminated-unions elixir hex sum-types tagged-unions

Last synced: 20 Feb 2026

https://github.com/werediver/sum_types.dart

A code generator enabling sum-types in Dart

algebraic-data-types code-generation dart flutter sum-types

Last synced: 24 Oct 2025

https://github.com/phenax/enum-fp

Functional Enum type / Sum type for javascript with simple pattern matching

algebraic-data-types enum functional-programming js sum-types

Last synced: 14 Apr 2025

https://github.com/propensive/wisteria

Easy, fast, transparent generic derivation of typeclass instances in Scala

coproduct-types derivation generic-derivation product-types scala sum-types typeclass-derivation typeclass-instances typeclasses

Last synced: 17 Mar 2025

https://github.com/zyedidia/unionize

A tool for generating unions in Go

go golang sum-types union

Last synced: 14 Mar 2026

https://github.com/mchakravarty/fp-in-swift

Support material for "Functional Programming in Swift" @ Functional Conf, Bangalore, 2017

frp functional-programming immutable-datastructures mvvm-architecture property-based-testing sum-types swift value-types

Last synced: 10 Apr 2025

https://github.com/freedomlayer/built_union.dart

Dart Union class (sum type)

dart dartlang immutable sum-types

Last synced: 29 Oct 2025

https://github.com/toastal/select-prism

Use a Monocle Prism to handle <select> conflict between ADTs and Strings

adt elm optics select sum-types union-types

Last synced: 23 Mar 2025

https://github.com/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.

async-programming asynchronous-programming csharp discriminated-unions disjoint-unions dotnet dotnet-core either-monad functional-programming option-type optional-type pipeline pipeline-framework pipeline-library pipelines result-monad result-type sum-types tagged-unions unit-type

Last synced: 01 Mar 2025

https://github.com/alecmocatta/sum

General-purpose sum types.

data-structures rust sum-types

Last synced: 10 Apr 2025

https://github.com/mateusfccp/sumtypes

Dart safe, generated sum types

dart functional sum-types

Last synced: 19 Jul 2025

https://github.com/lewisgaul/python_adt

Implementation of Alegbraic Data Types (ADTs) in Python

algebraic-data-types python3 sum-types tagged-unions

Last synced: 25 Feb 2026