|
|
|
|
|
by tybit
3297 days ago
|
|
I can't speak for op but I had a similar feeling going through the free chapters of 'Type driven development with Idris'. What blew me away was once you have such a strong type system it eliminates whole classes or errors at compile time I previously considered only checkable at runtime. Furthermore it showed that doing so allows the compiler to go from being a gatekeeper to being more of a virtual assistant that helps you write your code not just check it. |
|
Can Idris turn Haskell runtime errors into compile-time errors and, if so, which ones?