hs-to-coq
hs-to-coq copied to clipboard
Better `rewrite` engine
Our rewrite
engine is a bare-bones version of something more honest. For example, what about real support for variable binding, or handling nonlinear patterns gracefully?
This also extends to improving the Coq parser, such as by supporting let 'pair x y := ... in ...
.
And being consistent in where we apply rewrite
s – for instance, we don't currently rewrite all generated match
es