Hacker News new | ask | show | jobs
by omaranto 3555 days ago
The return type of your function is too broad: It should be the "type of integers which can be proven to be the sum of a and b".

That sounds like a joke but it's what going overboard with dependently typed programming languages is like.