diff options
Diffstat (limited to 'testdata/language-features/basic-list/list07.reject.out')
-rw-r--r-- | testdata/language-features/basic-list/list07.reject.out | 159 |
1 files changed, 159 insertions, 0 deletions
diff --git a/testdata/language-features/basic-list/list07.reject.out b/testdata/language-features/basic-list/list07.reject.out index 330be399..7a29dae2 100644 --- a/testdata/language-features/basic-list/list07.reject.out +++ b/testdata/language-features/basic-list/list07.reject.out | |||
@@ -4,3 +4,162 @@ with | |||
4 | [32m'Char[m | 4 | [32m'Char[m |
5 | 5 | ||
6 | in builtin Nil | 6 | in builtin Nil |
7 | |||
8 | ------------ trace | ||
9 | infer: [47mlabelend (Cons (fromInt 1) (Cons 1.2 (Cons 'a' Nil)))[49m[K | ||
10 | infer: labEnd ([47mCons (fromInt 1) (Cons 1.2 (Cons 'a' Nil))[49m)[K | ||
11 | infer: labEnd ([47mCons (fromInt 1)[49m (Cons 1.2 (Cons 'a' Nil)))[K | ||
12 | infer: labEnd ([47mCons[49m (fromInt 1) (Cons 1.2 (Cons 'a' Nil)))[K | ||
13 | focus: labEnd ([47m[32mCons[39m[49m (fromInt 1) (Cons 1.2 (Cons 'a' Nil)))[K | ||
14 | focus: labEnd ([47m[32mCons[39m[49m {_ : _:'Type} (fromInt 1) (Cons 1.2 (Cons 'a' Nil)))[K | ||
15 | check: labEnd ([32mCons[39m {[47m(_ : _:'Type) :: [32mType[39m[49m} (fromInt 1) (Cons 1.2 (Cons 'a' Nil)))[K | ||
16 | infer: labEnd ([32mCons[39m {([47m_ : _:'Type[49m) : [32mType[39m} (fromInt 1) (Cons 1.2 (Cons 'a' Nil)))[K | ||
17 | infer: labEnd ([32mCons[39m {\([34ma[39m : [47m_:'Type[49m)->a : [32mType[39m} (fromInt 1) (Cons 1.2 (Cons 'a' Nil)))[K | ||
18 | infer: labEnd ([32mCons[39m {\([34mb[39m : (\[34ma[39m:[47m'Type[49m -> a))->b : [32mType[39m} (fromInt 1) (Cons 1.2 (Cons 'a' Nil)))[K | ||
19 | focus: labEnd ([32mCons[39m {\([34mb[39m : (\[34ma[39m:[47m[32mType[39m[49m -> a))->b : [32mType[39m} (fromInt 1) (Cons 1.2 (Cons 'a' Nil)))[K | ||
20 | infer: labEnd ([32mCons[39m {\([34mb[39m : \[34ma[39m->[47ma[49m)->b : [32mType[39m} (fromInt 1) (Cons 1.2 (Cons 'a' Nil)))[K | ||
21 | focus: labEnd ([32mCons[39m {\([34mb[39m : \[34ma[39m->[47m[32ma[39m[49m)->b : [32mType[39m} (fromInt 1) (Cons 1.2 (Cons 'a' Nil)))[K | ||
22 | focus: labEnd ([32mCons[39m {(\[34ma[39m [34mb[39m:[47m[32ma[39m[49m -> b) : [32mType[39m} (fromInt 1) (Cons 1.2 (Cons 'a' Nil)))[K | ||
23 | infer: labEnd ([32mCons[39m {(\[34ma[39m [34mb[39m:[32ma[39m -> [47mb[49m) : [32mType[39m} (fromInt 1) (Cons 1.2 (Cons 'a' Nil)))[K | ||
24 | focus: labEnd ([32mCons[39m {(\[34ma[39m [34mb[39m:[32ma[39m -> [47m[32mb[39m[49m) : [32mType[39m} (fromInt 1) (Cons 1.2 (Cons 'a' Nil)))[K | ||
25 | focus: labEnd ([32mCons[39m {\[34ma[39m [34mb[39m:[32ma[39m -> [47m[32mb[39m[49m:[32mType[39m} (fromInt 1) (Cons 1.2 (Cons 'a' Nil)))[K | ||
26 | focus: labEnd ([32mCons[39m {\[34ma[39m [34mb[39m:[32ma[39m -> \([34mc[39m : [32mType~a[39m)->[47m[32mb[39m[49m} (fromInt 1) (Cons 1.2 (Cons 'a' Nil)))[K | ||
27 | focus: labEnd ([32mCons[39m {\[34ma[39m [34mb[39m:[32ma[39m [34ma[39m:=[32mType[39m -> [47m[32mb[39m[49m} (fromInt 1) (Cons 1.2 (Cons 'a' Nil)))[K | ||
28 | focus: labEnd ([32mCons[39m {\[34ma[39m [34ma[39m:=[32mType[39m -> \[34mb[39m->[47m[32mb[39m[49m} (fromInt 1) (Cons 1.2 (Cons 'a' Nil)))[K | ||
29 | focus: labEnd ([32mCons[39m {\[34ma[39m->[47m[32ma[39m[49m} (fromInt 1) (Cons 1.2 (Cons 'a' Nil)))[K | ||
30 | focus: labEnd ((\[34ma[39m -> [32mCons[39m {[47m[32ma[39m[49m}) (fromInt 1) (Cons 1.2 (Cons 'a' Nil)))[K | ||
31 | focus: labEnd (\[34ma[39m->[47m[32mCons[39m[49m (fromInt 1) (Cons 1.2 (Cons 'a' Nil)))[K | ||
32 | focus: labEnd ((\[34ma[39m -> [47m[32mCons[39m[49m (fromInt 1)) (Cons 1.2 (Cons 'a' Nil)))[K | ||
33 | check: labEnd ((\[34ma[39m -> [32mCons[39m ([47mfromInt 1 :: [32ma[39m[49m)) (Cons 1.2 (Cons 'a' Nil)))[K | ||
34 | infer: labEnd ((\[34ma[39m -> [32mCons[39m ([47mfromInt[49m 1 : [32ma[39m)) (Cons 1.2 (Cons 'a' Nil)))[K | ||
35 | focus: labEnd ((\[34ma[39m -> [32mCons[39m ([47m[32mfromInt[39m[49m 1 : [32ma[39m)) (Cons 1.2 (Cons 'a' Nil)))[K | ||
36 | focus: labEnd ((\[34ma[39m -> [32mCons[39m ([47m[32mfromInt[39m[49m 1 : [32ma[39m)) (Cons 1.2 (Cons 'a' Nil)))[K | ||
37 | focus: labEnd ((\[34ma[39m -> [32mCons[39m ([47m[32mfromInt[39m[49m {_ : _:'Type} 1 : [32ma[39m)) (Cons 1.2 (Cons 'a' Nil)))[K | ||
38 | check: labEnd ((\[34ma[39m -> [32mCons[39m ([32mfromInt[39m {[47m(_ : _:'Type) :: [32mType[39m[49m} 1 : [32ma[39m)) (Cons 1.2 (Cons 'a' Nil)))[K | ||
39 | infer: labEnd ((\[34ma[39m -> [32mCons[39m ([32mfromInt[39m {([47m_ : _:'Type[49m) : [32mType[39m} 1 : [32ma[39m)) (Cons 1.2 (Cons 'a' Nil)))[K | ||
40 | infer: labEnd ((\[34ma[39m -> [32mCons[39m ([32mfromInt[39m {\([34mb[39m : [47m_:'Type[49m)->b : [32mType[39m} 1 : [32ma[39m)) (Cons 1.2 (Cons 'a' Nil)))[K | ||
41 | infer: labEnd ((\[34ma[39m -> [32mCons[39m ([32mfromInt[39m {\([34mc[39m : (\[34mb[39m:[47m'Type[49m -> b))->c : [32mType[39m} 1 : [32ma[39m)) (Cons 1.2 (Cons 'a' Nil)))[K | ||
42 | focus: labEnd ((\[34ma[39m -> [32mCons[39m ([32mfromInt[39m {\([34mc[39m : (\[34mb[39m:[47m[32mType[39m[49m -> b))->c : [32mType[39m} 1 : [32ma[39m)) (Cons 1.2 (Cons 'a' Nil)))[K | ||
43 | infer: labEnd ((\[34ma[39m -> [32mCons[39m ([32mfromInt[39m {\([34mc[39m : \[34mb[39m->[47mb[49m)->c : [32mType[39m} 1 : [32ma[39m)) (Cons 1.2 (Cons 'a' Nil)))[K | ||
44 | focus: labEnd ((\[34ma[39m -> [32mCons[39m ([32mfromInt[39m {\([34mc[39m : \[34mb[39m->[47m[32mb[39m[49m)->c : [32mType[39m} 1 : [32ma[39m)) (Cons 1.2 (Cons 'a' Nil)))[K | ||
45 | focus: labEnd ((\[34ma[39m -> [32mCons[39m ([32mfromInt[39m {(\[34mb[39m [34mc[39m:[47m[32mb[39m[49m -> c) : [32mType[39m} 1 : [32ma[39m)) (Cons 1.2 (Cons 'a' Nil)))[K | ||
46 | infer: labEnd ((\[34ma[39m -> [32mCons[39m ([32mfromInt[39m {(\[34mb[39m [34mc[39m:[32mb[39m -> [47mc[49m) : [32mType[39m} 1 : [32ma[39m)) (Cons 1.2 (Cons 'a' Nil)))[K | ||
47 | focus: labEnd ((\[34ma[39m -> [32mCons[39m ([32mfromInt[39m {(\[34mb[39m [34mc[39m:[32mb[39m -> [47m[32mc[39m[49m) : [32mType[39m} 1 : [32ma[39m)) (Cons 1.2 (Cons 'a' Nil)))[K | ||
48 | focus: labEnd ((\[34ma[39m -> [32mCons[39m ([32mfromInt[39m {\[34mb[39m [34mc[39m:[32mb[39m -> [47m[32mc[39m[49m:[32mType[39m} 1 : [32ma[39m)) (Cons 1.2 (Cons 'a' Nil)))[K | ||
49 | focus: labEnd ((\[34ma[39m -> [32mCons[39m ([32mfromInt[39m {\[34mb[39m [34mc[39m:[32mb[39m -> \([34md[39m : [32mType~b[39m)->[47m[32mc[39m[49m} 1 : [32ma[39m)) (Cons 1.2 (Cons 'a' Nil)))[K | ||
50 | focus: labEnd ((\[34ma[39m -> [32mCons[39m ([32mfromInt[39m {\[34mb[39m [34mc[39m:[32mb[39m [34mb[39m:=[32mType[39m -> [47m[32mc[39m[49m} 1 : [32ma[39m)) (Cons 1.2 (Cons 'a' Nil)))[K | ||
51 | focus: labEnd ((\[34ma[39m -> [32mCons[39m ([32mfromInt[39m {\[34mb[39m [34mb[39m:=[32mType[39m -> \[34mc[39m->[47m[32mc[39m[49m} 1 : [32ma[39m)) (Cons 1.2 (Cons 'a' Nil)))[K | ||
52 | focus: labEnd ((\[34ma[39m -> [32mCons[39m ([32mfromInt[39m {\[34mb[39m->[47m[32mb[39m[49m} 1 : [32ma[39m)) (Cons 1.2 (Cons 'a' Nil)))[K | ||
53 | focus: labEnd ((\[34ma[39m -> [32mCons[39m ((\[34mb[39m -> [32mfromInt[39m {[47m[32mb[39m[49m}) 1 : [32ma[39m)) (Cons 1.2 (Cons 'a' Nil)))[K | ||
54 | focus: labEnd ((\[34ma[39m -> [32mCons[39m ((\[34mb[39m -> [47m[32mfromInt b[39m[49m) 1 : [32ma[39m)) (Cons 1.2 (Cons 'a' Nil)))[K | ||
55 | focus: labEnd ((\[34ma[39m -> [32mCons[39m ((\[34mb[39m -> [47m[32mfromInt b[39m[49m 1) : [32ma[39m)) (Cons 1.2 (Cons 'a' Nil)))[K | ||
56 | focus: labEnd ((\[34ma[39m -> [32mCons[39m ((\[34mb[39m -> [47m[32mfromInt b[39m[49m {_ : _:'Type} 1) : [32ma[39m)) (Cons 1.2 (Cons 'a' Nil)))[K | ||
57 | check: labEnd ((\[34ma[39m -> [32mCons[39m ((\[34mb[39m -> [32mfromInt b[39m {[47m(_ : _:'Type) :: [32m'Num b[39m[49m} 1) : [32ma[39m)) (Cons 1.2 (Cons 'a' Nil)))[K | ||
58 | infer: labEnd ((\[34ma[39m -> [32mCons[39m ((\[34mb[39m -> [32mfromInt b[39m {([47m_ : _:'Type[49m) : [32m'Num b[39m} 1) : [32ma[39m)) (Cons 1.2 (Cons 'a' Nil)))[K | ||
59 | infer: labEnd ((\[34ma[39m -> [32mCons[39m ((\[34mb[39m -> [32mfromInt b[39m {\([34mc[39m : [47m_:'Type[49m)->c : [32m'Num b[39m} 1) : [32ma[39m)) (Cons 1.2 (Cons 'a' Nil)))[K | ||
60 | infer: labEnd ((\[34ma[39m -> [32mCons[39m ((\[34mb[39m -> [32mfromInt b[39m {\([34md[39m : (\[34mc[39m:[47m'Type[49m -> c))->d : [32m'Num b[39m} 1) : [32ma[39m)) (Cons 1.2 (Cons 'a' Nil)))[K | ||
61 | focus: labEnd ((\[34ma[39m -> [32mCons[39m ((\[34mb[39m -> [32mfromInt b[39m {\([34md[39m : (\[34mc[39m:[47m[32mType[39m[49m -> c))->d : [32m'Num b[39m} 1) : [32ma[39m)) (Cons 1.2 (Cons 'a' Nil)))[K | ||
62 | infer: labEnd ((\[34ma[39m -> [32mCons[39m ((\[34mb[39m -> [32mfromInt b[39m {\([34md[39m : \[34mc[39m->[47mc[49m)->d : [32m'Num b[39m} 1) : [32ma[39m)) (Cons 1.2 (Cons 'a' Nil)))[K | ||
63 | focus: labEnd ((\[34ma[39m -> [32mCons[39m ((\[34mb[39m -> [32mfromInt b[39m {\([34md[39m : \[34mc[39m->[47m[32mc[39m[49m)->d : [32m'Num b[39m} 1) : [32ma[39m)) (Cons 1.2 (Cons 'a' Nil)))[K | ||
64 | focus: labEnd ((\[34ma[39m -> [32mCons[39m ((\[34mb[39m -> [32mfromInt b[39m {(\[34mc[39m [34md[39m:[47m[32mc[39m[49m -> d) : [32m'Num b[39m} 1) : [32ma[39m)) (Cons 1.2 (Cons 'a' Nil)))[K | ||
65 | infer: labEnd ((\[34ma[39m -> [32mCons[39m ((\[34mb[39m -> [32mfromInt b[39m {(\[34mc[39m [34md[39m:[32mc[39m -> [47md[49m) : [32m'Num b[39m} 1) : [32ma[39m)) (Cons 1.2 (Cons 'a' Nil)))[K | ||
66 | focus: labEnd ((\[34ma[39m -> [32mCons[39m ((\[34mb[39m -> [32mfromInt b[39m {(\[34mc[39m [34md[39m:[32mc[39m -> [47m[32md[39m[49m) : [32m'Num b[39m} 1) : [32ma[39m)) (Cons 1.2 (Cons 'a' Nil)))[K | ||
67 | focus: labEnd ((\[34ma[39m -> [32mCons[39m ((\[34mb[39m -> [32mfromInt b[39m {\[34mc[39m [34md[39m:[32mc[39m -> [47m[32md[39m[49m : [32m'Num b[39m} 1) : [32ma[39m)) (Cons 1.2 (Cons 'a' Nil)))[K | ||
68 | focus: labEnd ((\[34ma[39m -> [32mCons[39m ((\[34mb[39m -> [32mfromInt b[39m {\[34mc[39m [34md[39m:[32mc[39m -> \([34me[39m : [32m'Num b ~ c[39m)->[47m[32md[39m[49m} 1) : [32ma[39m)) (Cons 1.2 (Cons 'a' Nil)))[K | ||
69 | focus: labEnd ((\[34ma[39m -> [32mCons[39m ((\[34mb[39m -> [32mfromInt b[39m {\[34mc[39m [34md[39m:[32mc[39m -> \([34mc[39m := [32m'Num b[39m)->[47m[32md[39m[49m} 1) : [32ma[39m)) (Cons 1.2 (Cons 'a' Nil)))[K | ||
70 | focus: labEnd ((\[34ma[39m -> [32mCons[39m ((\[34mb[39m -> [32mfromInt b[39m {\[34mc[39m ([34mc[39m := [32m'Num b[39m) -> \([34md[39m : [32m'Num b[39m)->[47m[32md[39m[49m} 1) : [32ma[39m)) (Cons 1.2 (Cons 'a' Nil)))[K | ||
71 | focus: labEnd ((\[34ma[39m -> [32mCons[39m ((\[34mb[39m -> [32mfromInt b[39m {\([34mc[39m : [32m'Num b[39m)->[47m[32mc[39m[49m} 1) : [32ma[39m)) (Cons 1.2 (Cons 'a' Nil)))[K | ||
72 | focus: labEnd ((\[34ma[39m -> [32mCons[39m ((\[34mb[39m -> (\([34mc[39m : [32m'Num b[39m) -> [32mfromInt b[39m {[47m[32mc[39m[49m}) 1) : [32ma[39m)) (Cons 1.2 (Cons 'a' Nil)))[K | ||
73 | focus: labEnd ((\[34ma[39m -> [32mCons[39m ((\[34mb[39m -> (\([34mc[39m : [32m'Num b[39m) -> [47m[32mfromInt b c[39m[49m) 1) : [32ma[39m)) (Cons 1.2 (Cons 'a' Nil)))[K | ||
74 | focus: labEnd ((\[34ma[39m -> [32mCons[39m ((\[34mb[39m ([34mc[39m : [32m'Num b[39m) -> [47m[32mfromInt b c[39m[49m 1) : [32ma[39m)) (Cons 1.2 (Cons 'a' Nil)))[K | ||
75 | check: labEnd ((\[34ma[39m -> [32mCons[39m ((\[34mb[39m ([34mc[39m : [32m'Num b[39m) -> [32mfromInt b c[39m [47m1::[32m'Int[39m[49m) : [32ma[39m)) (Cons 1.2 (Cons 'a' Nil)))[K | ||
76 | infer: labEnd ((\[34ma[39m -> [32mCons[39m ((\[34mb[39m ([34mc[39m : [32m'Num b[39m) -> [32mfromInt b c[39m [47m1[49m:[32m'Int[39m) : [32ma[39m)) (Cons 1.2 (Cons 'a' Nil)))[K | ||
77 | focus: labEnd ((\[34ma[39m -> [32mCons[39m ((\[34mb[39m ([34mc[39m : [32m'Num b[39m) -> [32mfromInt b c[39m [47m[32m1[39m[49m:[32m'Int[39m) : [32ma[39m)) (Cons 1.2 (Cons 'a' Nil)))[K | ||
78 | focus: labEnd ((\[34ma[39m -> [32mCons[39m ((\[34mb[39m ([34mc[39m : [32m'Num b[39m) -> [32mfromInt b c[39m (\[34md[39m:[32m'Unit[39m -> [47m[32m1[39m[49m)) : [32ma[39m)) (Cons 1.2 (Cons 'a' Nil)))[K | ||
79 | focus: labEnd ((\[34ma[39m -> [32mCons[39m ((\[34mb[39m ([34mc[39m : [32m'Num b[39m) -> [32mfromInt b c[39m [47m[32m1[39m[49m) : [32ma[39m)) (Cons 1.2 (Cons 'a' Nil)))[K | ||
80 | focus: labEnd ((\[34ma[39m -> [32mCons[39m ((\[34mb[39m ([34mc[39m : [32m'Num b[39m) -> [47m[32mfromInt b c 1[39m[49m) : [32ma[39m)) (Cons 1.2 (Cons 'a' Nil)))[K | ||
81 | focus: labEnd ((\[34ma[39m -> [32mCons[39m (\[34mb[39m ([34mc[39m : [32m'Num b[39m) -> [47m[32mfromInt b c 1[39m[49m : [32ma[39m)) (Cons 1.2 (Cons 'a' Nil)))[K | ||
82 | focus: labEnd ((\[34ma[39m -> [32mCons[39m (\[34mb[39m ([34mc[39m : [32m'Num b[39m) ([34md[39m : [32ma~b[39m) -> [47m[32mfromInt b c 1[39m[49m)) (Cons 1.2 (Cons 'a' Nil)))[K | ||
83 | focus: labEnd ((\[34ma[39m -> [32mCons[39m (\[34mb[39m ([34mc[39m : [32m'Num b[39m) [34mb[39m:=[32ma[39m -> [47m[32mfromInt a c 1[39m[49m)) (Cons 1.2 (Cons 'a' Nil)))[K | ||
84 | focus: labEnd ((\[34ma[39m -> [32mCons[39m (\[34mb[39m [34mb[39m:=[32ma[39m ([34mc[39m : [32m'Num a[39m) -> [47m[32mfromInt a c 1[39m[49m)) (Cons 1.2 (Cons 'a' Nil)))[K | ||
85 | focus: labEnd ((\[34ma[39m -> [32mCons[39m (\([34mb[39m : [32m'Num a[39m) -> [47m[32mfromInt a b 1[39m[49m)) (Cons 1.2 (Cons 'a' Nil)))[K | ||
86 | focus: labEnd ((\[34ma[39m ([34mb[39m : [32m'Num a[39m) -> [32mCons[39m ([47m[32mfromInt a b 1[39m[49m)) (Cons 1.2 (Cons 'a' Nil)))[K | ||
87 | focus: labEnd ((\[34ma[39m ([34mb[39m : [32m'Num a[39m) -> [47m[32mCons (fromInt a b 1)[39m[49m) (Cons 1.2 (Cons 'a' Nil)))[K | ||
88 | focus: labEnd (\[34ma[39m ([34mb[39m : [32m'Num a[39m) -> [47m[32mCons (fromInt a b 1)[39m[49m (Cons 1.2 (Cons 'a' Nil)))[K | ||
89 | check: labEnd (\[34ma[39m ([34mb[39m : [32m'Num a[39m) -> [32mCons (fromInt a b 1)[39m ([47mCons 1.2 (Cons 'a' Nil) :: [32m'List a[39m[49m))[K | ||
90 | infer: labEnd (\[34ma[39m ([34mb[39m : [32m'Num a[39m) -> [32mCons (fromInt a b 1)[39m ([47mCons 1.2[49m (Cons 'a' Nil) : [32m'List a[39m))[K | ||
91 | infer: labEnd (\[34ma[39m ([34mb[39m : [32m'Num a[39m) -> [32mCons (fromInt a b 1)[39m ([47mCons[49m 1.2 (Cons 'a' Nil) : [32m'List a[39m))[K | ||
92 | focus: labEnd (\[34ma[39m ([34mb[39m : [32m'Num a[39m) -> [32mCons (fromInt a b 1)[39m ([47m[32mCons[39m[49m 1.2 (Cons 'a' Nil) : [32m'List a[39m))[K | ||
93 | focus: labEnd (\[34ma[39m ([34mb[39m : [32m'Num a[39m) -> [32mCons (fromInt a b 1)[39m ([47m[32mCons[39m[49m {_ : _:'Type} 1.2 (Cons 'a' Nil) : [32m'List a[39m))[K | ||
94 | check: labEnd (\[34ma[39m ([34mb[39m : [32m'Num a[39m) -> [32mCons (fromInt a b 1)[39m ([32mCons[39m {[47m(_ : _:'Type) :: [32mType[39m[49m} 1.2 (Cons 'a' Nil) : [32m'List a[39m))[K | ||
95 | infer: labEnd (\[34ma[39m ([34mb[39m : [32m'Num a[39m) -> [32mCons (fromInt a b 1)[39m ([32mCons[39m {([47m_ : _:'Type[49m) : [32mType[39m} 1.2 (Cons 'a' Nil) : [32m'List a[39m))[K | ||
96 | infer: labEnd (\[34ma[39m ([34mb[39m : [32m'Num a[39m) -> [32mCons (fromInt a b 1)[39m ([32mCons[39m {\([34mc[39m : [47m_:'Type[49m)->c : [32mType[39m} 1.2 (Cons 'a' Nil) : [32m'List a[39m))[K | ||
97 | infer: labEnd (\[34ma[39m ([34mb[39m : [32m'Num a[39m) -> [32mCons (fromInt a b 1)[39m ([32mCons[39m {\([34md[39m : (\[34mc[39m:[47m'Type[49m -> c))->d : [32mType[39m} 1.2 (Cons 'a' Nil) : [32m'List a[39m))[K | ||
98 | focus: labEnd (\[34ma[39m ([34mb[39m : [32m'Num a[39m) -> [32mCons (fromInt a b 1)[39m ([32mCons[39m {\([34md[39m : (\[34mc[39m:[47m[32mType[39m[49m -> c))->d : [32mType[39m} 1.2 (Cons 'a' Nil) : [32m'List a[39m))[K | ||
99 | infer: labEnd (\[34ma[39m ([34mb[39m : [32m'Num a[39m) -> [32mCons (fromInt a b 1)[39m ([32mCons[39m {\([34md[39m : \[34mc[39m->[47mc[49m)->d : [32mType[39m} 1.2 (Cons 'a' Nil) : [32m'List a[39m))[K | ||
100 | focus: labEnd (\[34ma[39m ([34mb[39m : [32m'Num a[39m) -> [32mCons (fromInt a b 1)[39m ([32mCons[39m {\([34md[39m : \[34mc[39m->[47m[32mc[39m[49m)->d : [32mType[39m} 1.2 (Cons 'a' Nil) : [32m'List a[39m))[K | ||
101 | focus: labEnd (\[34ma[39m ([34mb[39m : [32m'Num a[39m) -> [32mCons (fromInt a b 1)[39m ([32mCons[39m {(\[34mc[39m [34md[39m:[47m[32mc[39m[49m -> d) : [32mType[39m} 1.2 (Cons 'a' Nil) : [32m'List a[39m))[K | ||
102 | infer: labEnd (\[34ma[39m ([34mb[39m : [32m'Num a[39m) -> [32mCons (fromInt a b 1)[39m ([32mCons[39m {(\[34mc[39m [34md[39m:[32mc[39m -> [47md[49m) : [32mType[39m} 1.2 (Cons 'a' Nil) : [32m'List a[39m))[K | ||
103 | focus: labEnd (\[34ma[39m ([34mb[39m : [32m'Num a[39m) -> [32mCons (fromInt a b 1)[39m ([32mCons[39m {(\[34mc[39m [34md[39m:[32mc[39m -> [47m[32md[39m[49m) : [32mType[39m} 1.2 (Cons 'a' Nil) : [32m'List a[39m))[K | ||
104 | focus: labEnd (\[34ma[39m ([34mb[39m : [32m'Num a[39m) -> [32mCons (fromInt a b 1)[39m ([32mCons[39m {\[34mc[39m [34md[39m:[32mc[39m -> [47m[32md[39m[49m:[32mType[39m} 1.2 (Cons 'a' Nil) : [32m'List a[39m))[K | ||
105 | focus: labEnd (\[34ma[39m ([34mb[39m : [32m'Num a[39m) -> [32mCons (fromInt a b 1)[39m ([32mCons[39m {\[34mc[39m [34md[39m:[32mc[39m -> \([34me[39m : [32mType~c[39m)->[47m[32md[39m[49m} 1.2 (Cons 'a' Nil) : [32m'List a[39m))[K | ||
106 | focus: labEnd (\[34ma[39m ([34mb[39m : [32m'Num a[39m) -> [32mCons (fromInt a b 1)[39m ([32mCons[39m {\[34mc[39m [34md[39m:[32mc[39m [34mc[39m:=[32mType[39m -> [47m[32md[39m[49m} 1.2 (Cons 'a' Nil) : [32m'List a[39m))[K | ||
107 | focus: labEnd (\[34ma[39m ([34mb[39m : [32m'Num a[39m) -> [32mCons (fromInt a b 1)[39m ([32mCons[39m {\[34mc[39m [34mc[39m:=[32mType[39m -> \[34md[39m->[47m[32md[39m[49m} 1.2 (Cons 'a' Nil) : [32m'List a[39m))[K | ||
108 | focus: labEnd (\[34ma[39m ([34mb[39m : [32m'Num a[39m) -> [32mCons (fromInt a b 1)[39m ([32mCons[39m {\[34mc[39m->[47m[32mc[39m[49m} 1.2 (Cons 'a' Nil) : [32m'List a[39m))[K | ||
109 | focus: labEnd (\[34ma[39m ([34mb[39m : [32m'Num a[39m) -> [32mCons (fromInt a b 1)[39m ((\[34mc[39m -> [32mCons[39m {[47m[32mc[39m[49m}) 1.2 (Cons 'a' Nil) : [32m'List a[39m))[K | ||
110 | focus: labEnd (\[34ma[39m ([34mb[39m : [32m'Num a[39m) -> [32mCons (fromInt a b 1)[39m (\[34mc[39m->[47m[32mCons[39m[49m 1.2 (Cons 'a' Nil) : [32m'List a[39m))[K | ||
111 | focus: labEnd (\[34ma[39m ([34mb[39m : [32m'Num a[39m) -> [32mCons (fromInt a b 1)[39m ((\[34mc[39m -> [47m[32mCons[39m[49m 1.2) (Cons 'a' Nil) : [32m'List a[39m))[K | ||
112 | check: labEnd (\[34ma[39m ([34mb[39m : [32m'Num a[39m) -> [32mCons (fromInt a b 1)[39m ((\[34mc[39m -> [32mCons[39m [47m1.2::[32mc[39m[49m) (Cons 'a' Nil) : [32m'List a[39m))[K | ||
113 | infer: labEnd (\[34ma[39m ([34mb[39m : [32m'Num a[39m) -> [32mCons (fromInt a b 1)[39m ((\[34mc[39m -> [32mCons[39m [47m1.2[49m:[32mc[39m) (Cons 'a' Nil) : [32m'List a[39m))[K | ||
114 | focus: labEnd (\[34ma[39m ([34mb[39m : [32m'Num a[39m) -> [32mCons (fromInt a b 1)[39m ((\[34mc[39m -> [32mCons[39m [47m[32m1.2[39m[49m:[32mc[39m) (Cons 'a' Nil) : [32m'List a[39m))[K | ||
115 | focus: labEnd (\[34ma[39m ([34mb[39m : [32m'Num a[39m) -> [32mCons (fromInt a b 1)[39m ((\[34mc[39m -> [32mCons[39m \([34md[39m : [32mc~'Float[39m)->[47m[32m1.2[39m[49m) (Cons 'a' Nil) : [32m'List a[39m))[K | ||
116 | focus: labEnd (\[34ma[39m ([34mb[39m : [32m'Num a[39m) -> [32mCons (fromInt a b 1)[39m ((\[34mc[39m -> [32mCons[39m (\[34mc[39m:=[32m'Float[39m -> [47m[32m1.2[39m[49m)) (Cons 'a' Nil) : [32m'List a[39m))[K | ||
117 | focus: labEnd (\[34ma[39m ([34mb[39m : [32m'Num a[39m) -> [32mCons (fromInt a b 1)[39m ((\[34mc[39m [34mc[39m:=[32m'Float[39m -> [32mCons[39m [47m[32m1.2[39m[49m) (Cons 'a' Nil) : [32m'List a[39m))[K | ||
118 | focus: labEnd (\[34ma[39m ([34mb[39m : [32m'Num a[39m) -> [32mCons (fromInt a b 1)[39m ((\[34mc[39m [34mc[39m:=[32m'Float[39m -> [47m[32mCons 1.2[39m[49m) (Cons 'a' Nil) : [32m'List a[39m))[K | ||
119 | focus: labEnd (\[34ma[39m ([34mb[39m : [32m'Num a[39m) -> [32mCons (fromInt a b 1)[39m ([47m[32mCons 1.2[39m[49m (Cons 'a' Nil) : [32m'List a[39m))[K | ||
120 | focus: labEnd (\[34ma[39m ([34mb[39m : [32m'Num a[39m) -> [32mCons (fromInt a b 1)[39m ((\([34mc[39m : [32ma~'Float[39m) -> [47m[32mCons 1.2[39m[49m) (Cons 'a' Nil)))[K | ||
121 | focus: labEnd (\[34ma[39m ([34mb[39m : [32m'Num a[39m) -> [32mCons (fromInt a b 1)[39m ((\[34ma[39m:=[32m'Float[39m -> [47m[32mCons 1.2[39m[49m) (Cons 'a' Nil)))[K | ||
122 | focus: labEnd (\[34ma[39m ([34mb[39m : [32m'Num a[39m) -> [32mCons (fromInt a b 1)[39m (\[34ma[39m:=[32m'Float[39m -> [47m[32mCons 1.2[39m[49m (Cons 'a' Nil)))[K | ||
123 | check: labEnd (\[34ma[39m ([34mb[39m : [32m'Num a[39m) -> [32mCons (fromInt a b 1)[39m (\[34ma[39m:=[32m'Float[39m -> [32mCons 1.2[39m ([47mCons 'a' Nil :: [32m'List 'Float[39m[49m)))[K | ||
124 | infer: labEnd (\[34ma[39m ([34mb[39m : [32m'Num a[39m) -> [32mCons (fromInt a b 1)[39m (\[34ma[39m:=[32m'Float[39m -> [32mCons 1.2[39m ([47mCons 'a'[49m Nil : [32m'List 'Float[39m)))[K | ||
125 | infer: labEnd (\[34ma[39m ([34mb[39m : [32m'Num a[39m) -> [32mCons (fromInt a b 1)[39m (\[34ma[39m:=[32m'Float[39m -> [32mCons 1.2[39m ([47mCons[49m 'a' Nil : [32m'List 'Float[39m)))[K | ||
126 | focus: labEnd (\[34ma[39m ([34mb[39m : [32m'Num a[39m) -> [32mCons (fromInt a b 1)[39m (\[34ma[39m:=[32m'Float[39m -> [32mCons 1.2[39m ([47m[32mCons[39m[49m 'a' Nil : [32m'List 'Float[39m)))[K | ||
127 | focus: labEnd (\[34ma[39m ([34mb[39m : [32m'Num a[39m) -> [32mCons (fromInt a b 1)[39m (\[34ma[39m:=[32m'Float[39m -> [32mCons 1.2[39m ([47m[32mCons[39m[49m {_ : _:'Type} 'a' Nil : [32m'List 'Float[39m)))[K | ||
128 | check: labEnd (\[34ma[39m ([34mb[39m : [32m'Num a[39m) -> [32mCons (fromInt a b 1)[39m (\[34ma[39m:=[32m'Float[39m -> [32mCons 1.2[39m ([32mCons[39m {[47m(_ : _:'Type) :: [32mType[39m[49m} 'a' Nil : [32m'List 'Float[39m)))[K | ||
129 | infer: labEnd (\[34ma[39m ([34mb[39m : [32m'Num a[39m) -> [32mCons (fromInt a b 1)[39m (\[34ma[39m:=[32m'Float[39m -> [32mCons 1.2[39m ([32mCons[39m {([47m_ : _:'Type[49m) : [32mType[39m} 'a' Nil : [32m'List 'Float[39m)))[K | ||
130 | infer: labEnd (\[34ma[39m ([34mb[39m : [32m'Num a[39m) -> [32mCons (fromInt a b 1)[39m (\[34ma[39m:=[32m'Float[39m -> [32mCons 1.2[39m ([32mCons[39m {\([34mc[39m : [47m_:'Type[49m)->c : [32mType[39m} 'a' Nil : [32m'List 'Float[39m)))[K | ||
131 | infer: labEnd (\[34ma[39m ([34mb[39m : [32m'Num a[39m) -> [32mCons (fromInt a b 1)[39m (\[34ma[39m:=[32m'Float[39m -> [32mCons 1.2[39m ([32mCons[39m {\([34md[39m : (\[34mc[39m:[47m'Type[49m -> c))->d : [32mType[39m} 'a' Nil : [32m'List 'Float[39m)))[K | ||
132 | focus: labEnd (\[34ma[39m ([34mb[39m : [32m'Num a[39m) -> [32mCons (fromInt a b 1)[39m (\[34ma[39m:=[32m'Float[39m -> [32mCons 1.2[39m ([32mCons[39m {\([34md[39m : (\[34mc[39m:[47m[32mType[39m[49m -> c))->d : [32mType[39m} 'a' Nil : [32m'List 'Float[39m)))[K | ||
133 | infer: labEnd (\[34ma[39m ([34mb[39m : [32m'Num a[39m) -> [32mCons (fromInt a b 1)[39m (\[34ma[39m:=[32m'Float[39m -> [32mCons 1.2[39m ([32mCons[39m {\([34md[39m : \[34mc[39m->[47mc[49m)->d : [32mType[39m} 'a' Nil : [32m'List 'Float[39m)))[K | ||
134 | focus: labEnd (\[34ma[39m ([34mb[39m : [32m'Num a[39m) -> [32mCons (fromInt a b 1)[39m (\[34ma[39m:=[32m'Float[39m -> [32mCons 1.2[39m ([32mCons[39m {\([34md[39m : \[34mc[39m->[47m[32mc[39m[49m)->d : [32mType[39m} 'a' Nil : [32m'List 'Float[39m)))[K | ||
135 | focus: labEnd (\[34ma[39m ([34mb[39m : [32m'Num a[39m) -> [32mCons (fromInt a b 1)[39m (\[34ma[39m:=[32m'Float[39m -> [32mCons 1.2[39m ([32mCons[39m {(\[34mc[39m [34md[39m:[47m[32mc[39m[49m -> d) : [32mType[39m} 'a' Nil : [32m'List 'Float[39m)))[K | ||
136 | infer: labEnd (\[34ma[39m ([34mb[39m : [32m'Num a[39m) -> [32mCons (fromInt a b 1)[39m (\[34ma[39m:=[32m'Float[39m -> [32mCons 1.2[39m ([32mCons[39m {(\[34mc[39m [34md[39m:[32mc[39m -> [47md[49m) : [32mType[39m} 'a' Nil : [32m'List 'Float[39m)))[K | ||
137 | focus: labEnd (\[34ma[39m ([34mb[39m : [32m'Num a[39m) -> [32mCons (fromInt a b 1)[39m (\[34ma[39m:=[32m'Float[39m -> [32mCons 1.2[39m ([32mCons[39m {(\[34mc[39m [34md[39m:[32mc[39m -> [47m[32md[39m[49m) : [32mType[39m} 'a' Nil : [32m'List 'Float[39m)))[K | ||
138 | focus: labEnd (\[34ma[39m ([34mb[39m : [32m'Num a[39m) -> [32mCons (fromInt a b 1)[39m (\[34ma[39m:=[32m'Float[39m -> [32mCons 1.2[39m ([32mCons[39m {\[34mc[39m [34md[39m:[32mc[39m -> [47m[32md[39m[49m:[32mType[39m} 'a' Nil : [32m'List 'Float[39m)))[K | ||
139 | focus: labEnd (\[34ma[39m ([34mb[39m : [32m'Num a[39m) -> [32mCons (fromInt a b 1)[39m (\[34ma[39m:=[32m'Float[39m -> [32mCons 1.2[39m ([32mCons[39m {\[34mc[39m [34md[39m:[32mc[39m -> \([34me[39m : [32mType~c[39m)->[47m[32md[39m[49m} 'a' Nil : [32m'List 'Float[39m)))[K | ||
140 | focus: labEnd (\[34ma[39m ([34mb[39m : [32m'Num a[39m) -> [32mCons (fromInt a b 1)[39m (\[34ma[39m:=[32m'Float[39m -> [32mCons 1.2[39m ([32mCons[39m {\[34mc[39m [34md[39m:[32mc[39m [34mc[39m:=[32mType[39m -> [47m[32md[39m[49m} 'a' Nil : [32m'List 'Float[39m)))[K | ||
141 | focus: labEnd (\[34ma[39m ([34mb[39m : [32m'Num a[39m) -> [32mCons (fromInt a b 1)[39m (\[34ma[39m:=[32m'Float[39m -> [32mCons 1.2[39m ([32mCons[39m {\[34mc[39m [34mc[39m:=[32mType[39m -> \[34md[39m->[47m[32md[39m[49m} 'a' Nil : [32m'List 'Float[39m)))[K | ||
142 | focus: labEnd (\[34ma[39m ([34mb[39m : [32m'Num a[39m) -> [32mCons (fromInt a b 1)[39m (\[34ma[39m:=[32m'Float[39m -> [32mCons 1.2[39m ([32mCons[39m {\[34mc[39m->[47m[32mc[39m[49m} 'a' Nil : [32m'List 'Float[39m)))[K | ||
143 | focus: labEnd (\[34ma[39m ([34mb[39m : [32m'Num a[39m) -> [32mCons (fromInt a b 1)[39m (\[34ma[39m:=[32m'Float[39m -> [32mCons 1.2[39m ((\[34mc[39m -> [32mCons[39m {[47m[32mc[39m[49m}) 'a' Nil : [32m'List 'Float[39m)))[K | ||
144 | focus: labEnd (\[34ma[39m ([34mb[39m : [32m'Num a[39m) -> [32mCons (fromInt a b 1)[39m (\[34ma[39m:=[32m'Float[39m -> [32mCons 1.2[39m (\[34mc[39m->[47m[32mCons[39m[49m 'a' Nil : [32m'List 'Float[39m)))[K | ||
145 | focus: labEnd (\[34ma[39m ([34mb[39m : [32m'Num a[39m) -> [32mCons (fromInt a b 1)[39m (\[34ma[39m:=[32m'Float[39m -> [32mCons 1.2[39m ((\[34mc[39m -> [47m[32mCons[39m[49m 'a') Nil : [32m'List 'Float[39m)))[K | ||
146 | check: labEnd (\[34ma[39m ([34mb[39m : [32m'Num a[39m) -> [32mCons (fromInt a b 1)[39m (\[34ma[39m:=[32m'Float[39m -> [32mCons 1.2[39m ((\[34mc[39m -> [32mCons[39m [47m'a'::[32mc[39m[49m) Nil : [32m'List 'Float[39m)))[K | ||
147 | infer: labEnd (\[34ma[39m ([34mb[39m : [32m'Num a[39m) -> [32mCons (fromInt a b 1)[39m (\[34ma[39m:=[32m'Float[39m -> [32mCons 1.2[39m ((\[34mc[39m -> [32mCons[39m [47m'a'[49m:[32mc[39m) Nil : [32m'List 'Float[39m)))[K | ||
148 | focus: labEnd (\[34ma[39m ([34mb[39m : [32m'Num a[39m) -> [32mCons (fromInt a b 1)[39m (\[34ma[39m:=[32m'Float[39m -> [32mCons 1.2[39m ((\[34mc[39m -> [32mCons[39m [47m[32m'a'[39m[49m:[32mc[39m) Nil : [32m'List 'Float[39m)))[K | ||
149 | focus: labEnd (\[34ma[39m ([34mb[39m : [32m'Num a[39m) -> [32mCons (fromInt a b 1)[39m (\[34ma[39m:=[32m'Float[39m -> [32mCons 1.2[39m ((\[34mc[39m -> [32mCons[39m \([34md[39m : [32mc~'Char[39m)->[47m[32m'a'[39m[49m) Nil : [32m'List 'Float[39m)))[K | ||
150 | focus: labEnd (\[34ma[39m ([34mb[39m : [32m'Num a[39m) -> [32mCons (fromInt a b 1)[39m (\[34ma[39m:=[32m'Float[39m -> [32mCons 1.2[39m ((\[34mc[39m -> [32mCons[39m (\[34mc[39m:=[32m'Char[39m -> [47m[32m'a'[39m[49m)) Nil : [32m'List 'Float[39m)))[K | ||
151 | focus: labEnd (\[34ma[39m ([34mb[39m : [32m'Num a[39m) -> [32mCons (fromInt a b 1)[39m (\[34ma[39m:=[32m'Float[39m -> [32mCons 1.2[39m ((\[34mc[39m [34mc[39m:=[32m'Char[39m -> [32mCons[39m [47m[32m'a'[39m[49m) Nil : [32m'List 'Float[39m)))[K | ||
152 | focus: labEnd (\[34ma[39m ([34mb[39m : [32m'Num a[39m) -> [32mCons (fromInt a b 1)[39m (\[34ma[39m:=[32m'Float[39m -> [32mCons 1.2[39m ((\[34mc[39m [34mc[39m:=[32m'Char[39m -> [47m[32mCons 'a'[39m[49m) Nil : [32m'List 'Float[39m)))[K | ||
153 | focus: labEnd (\[34ma[39m ([34mb[39m : [32m'Num a[39m) -> [32mCons (fromInt a b 1)[39m (\[34ma[39m:=[32m'Float[39m -> [32mCons 1.2[39m ([47m[32mCons 'a'[39m[49m Nil : [32m'List 'Float[39m)))[K | ||
154 | focus: labEnd (\[34ma[39m ([34mb[39m : [32m'Num a[39m) -> [32mCons (fromInt a b 1)[39m (\[34ma[39m:=[32m'Float[39m -> [32mCons 1.2[39m ((\([34mc[39m : [32m'Empty "can not unify\n\ESC[32m'Float\ESC[m\nwith\n\ESC[32m'Char\ESC[m\n"[39m) -> [47m[32mCons 'a'[39m[49m) Nil)))[K | ||
155 | !type error: can not unify | ||
156 | [32m'Float[m | ||
157 | with | ||
158 | [32m'Char[m | ||
159 | |||
160 | in builtin Nil | ||
161 | |||
162 | ------------ tooltips | ||
163 | testdata/language-features/basic-list/list07.reject.lc 1:10-1:11 V1 | ||
164 | testdata/language-features/basic-list/list07.reject.lc 1:12-1:15 Float | ||
165 | testdata/language-features/basic-list/list07.reject.lc 1:16-1:19 Char | ||