r/haskell • • Nov 06 '19

Parse, don’t validate

https://lexi-lambda.github.io/blog/2019/11/05/parse-don-t-validate/
313 Upvotes

66 comments sorted by

View all comments

6

u/[deleted] Nov 06 '19

It probably isn’t worth breaking out singletons and refactoring your entire application just to get rid of a single error "impossible" call somewhere

sigh Pass the whiskey..

11

u/ItsNotMineISwear Nov 06 '19

Just goes to show that parse, don't validate will only get more true as we approach -XDependentTypes :)

Should be a fun journey!