hax
hax copied to clipboard
[Lean] Advanced pattern-matching
Currently, the Lean backend only support "basic" pattern-matching : wild patterns, constructors, or-patterns. It should also support matching on:
- [ ] Arrays
- [ ] Constants
- [ ] Bindings with sub-patterns
Besides, it should prevent patterns on function arguments.