check for Case that uses its binder, which we do not support
[coq-hetmet.git] / src / Preamble.v
index 17174b3..f83d9a1 100644 (file)
@@ -109,6 +109,7 @@ Delimit Scope garrow_scope  with garrow.
 Notation "f ○ g"    := (fun x => f(g(x))).
 Notation "?? T"     := (option T).
 Notation "a && b"   := (if a then b else false).
+Notation "a || b"   := (if a then true else b).
 
 (* these are handy since Coq's pattern matching syntax isn't integrated with its abstraction binders (like Haskell and ML) *)
 Notation "'⟨' x ',' y '⟩'" := ((x,y)) (at level 100).