3 ms·
You are making things more complicated than they currently are. Currently I call "list.sorted" and I get a sorted list. What you propose is essentially what so
by valenterry 5y ago
You are making things more complicated than they currently are. Currently I call "list.sorted" and I get a sorted list.
What you propose is essentially what some languages like Idris already offer: general purpose programming with constraints that allow the compiler to generate an implementation, given that the constraints are precise enough.