• Robbert Krebbers's avatar
    Pattern matching notation for monadic binds. · dcd59f13
    Robbert Krebbers authored
    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.
    ```
    dcd59f13
Name
Last commit
Last update
build Loading commit data...
theories Loading commit data...
.gitignore Loading commit data...
.gitlab-ci.yml Loading commit data...
CONTRIBUTING.md Loading commit data...
LICENSE Loading commit data...
Makefile Loading commit data...
Makefile.coq.local Loading commit data...
README.md Loading commit data...
_CoqProject Loading commit data...
awk.Makefile Loading commit data...
descr Loading commit data...
opam Loading commit data...