Skip to content
  • 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.