delete_restriction : (string -> unit)
associate_restriction("B", "RES_B")
will cause the parser and pretty-printer to support:
---- parse ---->
Bv::P. B RES_B P (\v. B)
<---- print ----
This behaviour may be disabled by calling delete_restriction with
the binder name ("B" in this example).
["!","?","@","\\"]Also fails if the named binder is not restricted, i.e., found as the first member of a pair on the list returned by binder_restrictions.
associate_restriction("DURING","RES_DURING");
() : unit
--`DURING x::(m,n). p x`--;
(--`DURING x ::(m,n). p x`--) : term
- delete_restriction "DURING";
() : unit
--`DURING x::(m,n). p x`--;
Exception raised at Parse_support.restr_binder:
no restriction associated with "DURING"