newtype topic

List newtype repositories

derive_more

1.4k
Stars
105
Forks
Watchers

Some more derive(Trait) options

diesel-derive-newtype

46
Stars
22
Forks
Watchers

derive newtype for diesel traits

exitfailure

44
Stars
3
Forks
Watchers

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

scala-newtype

540
Stars
31
Forks
Watchers

NewTypes for Scala with no runtime overhead

dilate

81
Stars
5
Forks
Watchers

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

scala-supertagged

95
Stars
5
Forks
Watchers

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

haskellbook

26
Stars
9
Forks
Watchers

Solutions to exercises from the book Haskell Programming

nutype

1.2k
Stars
19
Forks
Watchers

Rust newtype with guarantees πŸ‡ΊπŸ‡¦ πŸ¦€