summaryrefslogtreecommitdiff
path: root/testsuite/runtime/eval/eval.gfs.gold
blob: 1c6282f272b17348cb74bdd1a7faf3471d624def (plain)
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
\x -> x 1



?1 1



?3 1



f 1 2



\x -> x



?1



f



f 1 2



2



g 0



\x -> g x



g ?1



5



3



g2



f 32



g2 23



3.14



succ zero



?1



\x -> dec x



dec ?1



g3 ?3 0



g (g2 ?1 0)



succ (succ zero)



zero



dec2 0 err



succ err