Nim Easy · Lesson 8

Distinct types

Type-safe wrappers with distinct, borrow pragmas, and preventing unit mix-ups.

Lessons · Nim Easy · Lesson 8 of 10

Distinct types

Type-safe wrappers with distinct, borrow pragmas, and preventing unit mix-ups.

Illustration for Nim
Type-safe wrappers with distinct, borrow pragmas, and preventing unit mix-ups.