Repository navigation

#

newtype

Some more derive(Trait) options

Rust
1873
1 天前

NewTypes for Scala with no runtime overhead

Scala
543
3 年前

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

Scala
99
2 年前

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

Scala
80
7 年前

derive newtype for diesel traits

Rust
52
1 年前

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

Rust
45
4 年前
Scala
16
1 年前

Sensible, performant primitives for writing semantic TypeScript code

TypeScript
10
5 个月前

newtype and refinement (refined) type for Scala 3

Scala
10
10 小时前

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
6
2 年前

Newtype macros for commonly reused types in Rust.

Rust
4
5 个月前

a type with 1 variant but convenient

Elm
3
2 年前

Reference implementation of https://github.com/gothinkster/realworld using typelevel stack, refined and newtype

Scala
2
4 年前