Debian Codegraph @

tests/r6031_holbugs

raw
1 (* Bugs in r6031 - malformed HOL generated *)
2
3
4 (* Bug 1: list append *)
5 (* This works *)
6 let my_append (l1:num list) (l2:num list) : num list = list.append l1 l2
7
8 (* But this does not : hol APPEND generated in infix position *)
9 let my_append2 (l1:num list) (l2:num list) : num list = l1 @ l2
10
11
12
13
14
15 (* Bug 2: explicit set notation 'a set goes to HOL as 'a list *)
16 let (s:num set) = {0}