3 ms·
If you know the list can't be empty, can't you prove that to the compiler by using a non-empty list type?
by tasuki 6y ago
If you know the list can't be empty, can't you prove that to the compiler by using a non-empty list type?
- sullyj3 6y agoGood point! last time I used elm i didn't know what a nonempty list was.