This commit is contained in:
Hassan Abedi 2026-04-22 15:44:05 +02:00
parent 615d54531d
commit 8770636be3

View File

@ -6,7 +6,8 @@ This note covers `09-haskell-newtype/`, which models validated user input with `
## 1. Why `newtype` Matters ## 1. Why `newtype` Matters
Plain `Text` values do not tell you what they represent. A user name and an email address could both be `Text`, even though they mean different things. Plain `Text` values do not tell you what they represent. A user name and an email address could both be `Text`, even though they mean different
things.
This example wraps those concepts explicitly: This example wraps those concepts explicitly: