r/functionalprogramming • u/cekrem • Apr 07 '26
TypeScript Parse, Don't Validate — In a Language That Doesn't Want You To · cekrem.github.io
https://cekrem.github.io/posts/parse-dont-validate-typescript/
33
Upvotes
View all comments
Show parent comment
7
u/pthierry Apr 07 '26
I can write a function in the functional core that takes unvalidated input. I don't see how that would guarantee anything.
Can you show an actual example where spec does more than static typing?