Debian Codegraph @

test-suite/success/extraction_polyprop.v

raw
1 (* The current extraction cannot handle this situation,
2 and shouldn't try, otherwise it might produce some Ocaml
3 code that segfaults. See Table.error_singleton_become_prop
4 or S. Glondu's thesis for more details. *)
5
6 Require Extraction.
7
8 Definition f {X} (p : (nat -> X) * True) : X * nat :=
9 (fst p 0, 0).
10
11 Definition f_prop := f ((fun _ => I),I).
12
13 Fail Extraction f_prop.