Closed clayrat closed 7 years ago
So, AFAIU induction principles are subsumed/made obsolete by dependent pattern matching. We could try salvaging some examples/theory to add to the potential Tactics
-> PatternMatching
rewrite, but this should probably be done by someone who actually knows how these things work internally in Idris. Plus, again, the second part talks about IndProp
-ish things, so it would result in sequence breaking.
Is this complete, if not useless?
No, I've only formatted ~1/3 and got frustrated. Maybe I'll have another look soon.
Ok, I figured I could just write out the induction principles by hand to illustrate the concept. Still not sure if Idris actually works like that internally though.
This SO question looks relevant: https://stackoverflow.com/questions/30598260/function-definition-by-induction-principles-in-agda
Should be ok to review.
So, any chance for this to get merged? :)
I'm a little swamped atm and it's only gonna got worse until at least Monday. If you feel good about it, go ahead and merge. :smile:
Ok I think this has been hanging far too long :)
:tada:
Gah, yet another seemingly useless chapter. Not even sure I want to waste more time formatting this, given that it probably needs to be completely rewritten or dropped altogether. Thoughts?