Skip to content
Snippets Groups Projects
Commit dcd59f13 authored by Robbert Krebbers's avatar Robbert Krebbers
Browse files

Pattern matching notation for monadic binds.

This gets rid of the old hack to have specific notations for pairs
up to a fixed arity, and moreover allows to do fancy things like:

```
Record test := Test { t1 : nat; t2 : nat }.

Definition foo (x : option test) : option nat :=
  ''(Test a1 a2) ← x;
  Some a1.
```
parent 376dff25
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment