Comment

Comment by greydius

Haskell has newtype for this purpose, with the benefit that the compiler removes the added overhead of the additional data type.
parent greydius 10 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton