Repository navigation

#

newtype

Some more derive(Trait) options

Rust
1993
25 天前

NewTypes for Scala with no runtime overhead

Scala
542
4 年前

Unboxed (multi-nested-)tagged + unboxed newtypes. Better and much friendlier alternative to AnyVals.

Scala
99
3 年前

Nearly zero runtime object allocation powered by scalameta. Value class and Unboxed Tagged Type generation at compile-time.

Scala
80
8 年前

derive newtype for diesel traits

Rust
53
3 个月前

Helpers for easily using failure::Error and others as return types in main() while still giving human-readable error messages.

Rust
45
4 年前

explore kafka, spark, fs2 and pure functional programming in scala

Scala
33
15 小时前
Scala
14
25 天前

Sensible, performant primitives for writing semantic TypeScript code

TypeScript
14
1 年前

newtype and refinement (refined) type for Scala 3

Scala
14
5 天前

Opaque type encoding for convenient new types, and boilerplate minimization of integration with 3rd party libraries like circe, http4s, doobie, skunk, etc.

Scala
7
3 年前

Newtype, Generic Interface Deriving

Idris
7
3 年前

Beautiful way to create new types for your Python classes!

Python
6
7 个月前

Newtype macros for commonly reused types in Rust.

Rust
4
1 年前

a type with 1 variant but convenient

Elm
3
3 年前