compile-time-checking

Tag

Cards List
#compile-time-checking

Type-checked non-empty strings

Hacker News Top · 2026-06-26 Cached

This post shares a Haskell technique for type-checked non-empty strings using GHC's RequiredTypeArguments, achieving compile-time validation and a ~10% build-time improvement in a large codebase.

0 favorites 0 likes
← Back to home

Submit Feedback