-
-
Notifications
You must be signed in to change notification settings - Fork 352
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Agda-style case splitting for tactics (#1379)
* Agda splitting machinery * Expand decls! * Only very top-level lambda to args * Preserve top-level args (but it doesnt work very well) * Preserve existing patterns and matches when agdasplitting * Add traceFX debug function * Force a few iterations of splitAgda * Cleanup imports * Put wildcard patterns in for unused variables * Update tests * Agda-unfold on instance deps * wildify at the very end of simplifying * Haddock for top-level functions * Move case splitting stuff into its own module * Exactprint comments * Haddock for casesplit * Use PatCompat * Remove HsDumpAst * Use Pat, not LPat * More massaging Pats * Only unXPat on 8.0.8 * Haddock and cleanup -Wall * Cleanup sus errors * Fix parse errors in GHC > 8.8 * Update comment around unXPat * Cleanup ExactPrint to split FunBind matches * Minor haddock tweak * Bad suggest, hlint * I hate hlint with so much passion Co-authored-by: Pepe Iborra <pepeiborra@gmail.com>
- Loading branch information
1 parent
f73b936
commit 430ba2d
Showing
31 changed files
with
515 additions
and
140 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.