test-suite/complexity/Notations.v
raw| 1 | (* Last line should not loop, even in the presence of eta-expansion in the *) |
| 2 | (* printing mechanism *) |
| 3 | (* Expected time < 1.00s *) |
| 4 | |
| 5 | Notation "'bind' x <- y ; z" :=(y (fun x => z)) (at level 99, x at |
| 6 | level 0, y at level 0,format "'[hv' 'bind' x <- y ; '/' z ']'"). |
| 7 | |
| 8 | Definition f (g : (nat -> nat) -> nat) := g (fun x => 0). |
| 9 | |
| 10 | Time Check (fun g => f g). |