forked from coq/coq
-
Notifications
You must be signed in to change notification settings - Fork 2
/
ltac2_abstract.out
56 lines (56 loc) · 1.9 KB
/
ltac2_abstract.out
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
File "./output/ltac2_abstract.v", line 20, characters 27-28:
The command has indeed failed with message:
This expression has type int but an expression was expected of type
M.t
- : M.t = <abstr>
File "./output/ltac2_abstract.v", line 28, characters 27-28:
The command has indeed failed with message:
This expression has type int but an expression was expected of type
t
- : int = 2
Ltac2 foo : t -> t
foo := fun x => Int.add x 1
Ltac2 three : t
three := 3
- : t = <abstr>
File "./output/ltac2_abstract.v", line 47, characters 18-21:
The command has indeed failed with message:
Unbound constructor M.A
File "./output/ltac2_abstract.v", line 49, characters 40-43:
The command has indeed failed with message:
Unbound constructor M.A
- : M.t = <abstr>
- : bool = false
Ltac2 M.a : M.t
M.a := <abstr>
Ltac2 M.is_b : M.t -> bool
M.is_b := fun x => match x with
<abstr>
end
Ltac2 M.get_b : int -> M.t -> int
M.get_b := fun def x => match x with
| <abstr> => x
| _ => def
end
- : int M.t = <abstr>
File "./output/ltac2_abstract.v", line 73, characters 20-21:
The command has indeed failed with message:
p is not a projection
File "./output/ltac2_abstract.v", line 75, characters 30-31:
The command has indeed failed with message:
p is not a projection
- : int t = <abstr>
- : int = 42
File "./output/ltac2_abstract.v", line 81, characters 27-40:
The command has indeed failed with message:
This expression has type bool but an expression was expected of type
int
Ltac2 make : 'a -> 'a t
make := fun x => <abstr>
Ltac2 p : 'a t -> 'a
p := fun x => <abstr>
Ltac2 set : 'a t -> 'a -> unit
set := fun x v => <abstr>
File "./output/ltac2_abstract.v", line 91, characters 32-33:
The command has indeed failed with message:
Open types currently do not support #[abstract].