#

tagged-unions

https://static.github-zh.com/github_avatars/derive4j?size=40

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

Java 577
3 年前
https://static.github-zh.com/github_avatars/jspahrsummers?size=40

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

Python 172
4 年前
https://static.github-zh.com/github_avatars/keithasaurus?size=40
Python 97
1 年前
https://static.github-zh.com/github_avatars/kongware?size=40

ftor enables ML-like type-directed, functional programming with Javascript including reasonable debugging.

JavaScript 44
8 年前
https://static.github-zh.com/github_avatars/alexocode?size=40
Elixir 43
1 年前
https://static.github-zh.com/github_avatars/libmir?size=40

Base software building blocks: Algebraic types (aka sumtype/tagged union/variant), universal reflection API, basic math, and more.

D 34
3 个月前
https://static.github-zh.com/github_avatars/composi?size=40
HTML 27
3 年前
https://static.github-zh.com/github_avatars/andrejewski?size=40
JavaScript 20
5 年前
https://static.github-zh.com/github_avatars/byrnedo?size=40

Helps to easily JSON marshal / unmarshal tagged unions in go

Go 20
2 年前
https://static.github-zh.com/github_avatars/Gozala?size=40

Utility function for exhaustiveness checking with typed JS (TS or Flow)

JavaScript 14
5 年前
https://static.github-zh.com/github_avatars/1Computer1?size=40

Pattern matching and tagged unions in JavaScript without new syntax.

JavaScript 13
7 年前
https://static.github-zh.com/github_avatars/steinerkelvin?size=40

Small TS library to type and safely handle `serde` JSON serializations of Rust enums.

TypeScript 11
10 个月前
https://static.github-zh.com/github_avatars/ootidea?size=40
TypeScript 10
1 年前
https://static.github-zh.com/github_avatars/naruaway?size=40

minimal utilities to work with union types and tagged unions (a.k.a. discriminated unions) in TypeScript

TypeScript 9
4 年前
https://static.github-zh.com/github_avatars/Longor1996?size=40

A NaN-tagged value using a 64-bit floating-point number (`f64`) as base, providing a 16-bit tag and 32-bits of payload.

Rust 8
3 年前
https://static.github-zh.com/github_avatars/roobie?size=40

A macro for Janet for creating sum types

8
5 年前
https://static.github-zh.com/github_avatars/alurm?size=40

An example of tagged unions and exhaustive pattern matches in Go

Go 6
2 年前
loading...
Website
Wikipedia