In ATS code, I often see two list types: list and list0. What is the difference between them?
The type list
, if you peek at its defintion, is length-indexed.
The type list0
is not.
Sometimes when programming, excessive precision is too costly in terms of productivity. In these cases, list0
may be preferable to use over list
.