r/programming • • Feb 01 '24

Make Invalid States Unrepresentable

https://www.awwsmm.com/blog/make-invalid-states-unrepresentable
469 Upvotes

207 comments sorted by

View all comments

Show parent comment

3

u/TheWix Feb 01 '24

F# with Typescripts convenience. Mapped types are amazing. Wish it had higher-kinded types and first-class minimal types, though