Idris is one of those languages that when I learned it felt like it was offering me a glimpse into a possible future.
I love it when that happens.
I love it when that happens.
Can Idris turn Haskell runtime errors into compile-time errors and, if so, which ones?
[1] - https://github.com/typelevel/cats/blob/master/core/src/main/...
Here's a more advanced example: https://news.ycombinator.com/item?id=14569605.
In idris, you can lift the non-empty list check at type level, making such operation a compilation error.
https://tutorial.ponylang.org/capabilities/reference-capabil...
https://tutorial.ponylang.org/appendices/garbage-collection....