Re:Lisp and Haskell (2015)
by sullyj3 on Thursday October 08, 2020 @07:48AM
(#24718207)
In practice I've found that it leads to writing code that you know is unreachable, but you can't prove it to the compiler.
[ Parent
| on HN ]
If you know the list can't be empty, can't you prove that to the compiler by using a non-empty list type?