diff options
Diffstat (limited to 'testdata/language-features')
159 files changed, 1965 insertions, 47 deletions
diff --git a/testdata/language-features/adt/adt02.reject.out b/testdata/language-features/adt/adt02.reject.out index f2fa47dd..97a3c5f1 100644 --- a/testdata/language-features/adt/adt02.reject.out +++ b/testdata/language-features/adt/adt02.reject.out | |||
@@ -4,3 +4,89 @@ with | |||
4 | [32m'Int[m | 4 | [32m'Int[m |
5 | 5 | ||
6 | in | 6 | in |
7 | |||
8 | ------------ trace | ||
9 | 'Data3 :: [32mType[39m[K | ||
10 | Data3 :: [32m'Bool -> 'Char -> 'Bool->'Data3[39m[K | ||
11 | Data31 :: [32m'Int -> 'String -> 'Int->'Data3[39m[K | ||
12 | 'Data3Case :: [32m(b : 'Data3->Type) -> (c:'Bool -> d:'Char -> e:'Bool -> b (Data3 c d e)) -> (g:'Int -> h:'String -> i:'Int -> b (Data31 g h i)) -> k:'Data3 -> b k[39m[K | ||
13 | match'Data3 :: [32m(b : Type->Type) -> b 'Data3 -> d:Type -> b d -> b d[39m[K | ||
14 | infer: [47m\([32ma[39m : _:'Type) -> 'Data3Case (\_:'Type -> _:'Type) (\_:'Type _:'Type ([32me[39m : _:'Type) -> labelend e) (\_:'Type _:'Type ([32mh[39m : _:'Type) -> labelend h) a[49m[K | ||
15 | infer: \([32ma[39m : [47m_:'Type[49m : [32mType[39m) -> 'Data3Case (\_:'Type -> _:'Type) (\_:'Type _:'Type ([32me[39m : _:'Type) -> labelend e) (\_:'Type _:'Type ([32mh[39m : _:'Type) -> labelend h) a[K | ||
16 | infer: \([32mb[39m : (\[34ma[39m:[47m'Type[49m -> a) : [32mType[39m) -> 'Data3Case (\_:'Type -> _:'Type) (\_:'Type _:'Type ([32mf[39m : _:'Type) -> labelend f) (\_:'Type _:'Type ([32mi[39m : _:'Type) -> labelend i) b[K | ||
17 | focus: \([32mb[39m : (\[34ma[39m:[47m[32mType[39m[49m -> a) : [32mType[39m) -> 'Data3Case (\_:'Type -> _:'Type) (\_:'Type _:'Type ([32mf[39m : _:'Type) -> labelend f) (\_:'Type _:'Type ([32mi[39m : _:'Type) -> labelend i) b[K | ||
18 | infer: \([32mb[39m : \[34ma[39m->[47ma[49m : [32mType[39m) -> 'Data3Case (\_:'Type -> _:'Type) (\_:'Type _:'Type ([32mf[39m : _:'Type) -> labelend f) (\_:'Type _:'Type ([32mi[39m : _:'Type) -> labelend i) b[K | ||
19 | focus: \([32mb[39m : \[34ma[39m->[47m[32ma[39m[49m : [32mType[39m) -> 'Data3Case (\_:'Type -> _:'Type) (\_:'Type _:'Type ([32mf[39m : _:'Type) -> labelend f) (\_:'Type _:'Type ([32mi[39m : _:'Type) -> labelend i) b[K | ||
20 | focus: \([32mb[39m : (\[34ma[39m -> [47m[32ma[39m[49m:[32mType[39m)) -> 'Data3Case (\_:'Type -> _:'Type) (\_:'Type _:'Type ([32mf[39m : _:'Type) -> labelend f) (\_:'Type _:'Type ([32mi[39m : _:'Type) -> labelend i) b[K | ||
21 | focus: \([32mc[39m : (\[34ma[39m [34mb[39m:[32m'Unit[39m -> [47m[32ma[39m[49m)) -> 'Data3Case (\_:'Type -> _:'Type) (\_:'Type _:'Type ([32mg[39m : _:'Type) -> labelend g) (\_:'Type _:'Type ([32mj[39m : _:'Type) -> labelend j) c[K | ||
22 | focus: \([32mb[39m : \[34ma[39m->[47m[32ma[39m[49m) -> 'Data3Case (\_:'Type -> _:'Type) (\_:'Type _:'Type ([32mf[39m : _:'Type) -> labelend f) (\_:'Type _:'Type ([32mi[39m : _:'Type) -> labelend i) b[K | ||
23 | focus: \[34ma[39m [32mb[39m:[47m[32ma[39m[49m -> 'Data3Case (\_:'Type -> _:'Type) (\_:'Type _:'Type ([32mf[39m : _:'Type) -> labelend f) (\_:'Type _:'Type ([32mi[39m : _:'Type) -> labelend i) b[K | ||
24 | infer: \[34ma[39m [32mb[39m:[32ma[39m -> [47m'Data3Case (\_:'Type -> _:'Type) (\_:'Type _:'Type ([32mf[39m : _:'Type) -> labelend f) (\_:'Type _:'Type ([32mi[39m : _:'Type) -> labelend i) b[49m[K | ||
25 | infer: \[34ma[39m [32mb[39m:[32ma[39m -> [47m'Data3Case (\_:'Type -> _:'Type) (\_:'Type _:'Type ([32mf[39m : _:'Type) -> labelend f) (\_:'Type _:'Type ([32mi[39m : _:'Type) -> labelend i)[49m b[K | ||
26 | infer: \[34ma[39m [32mb[39m:[32ma[39m -> [47m'Data3Case (\_:'Type -> _:'Type) (\_:'Type _:'Type ([32mf[39m : _:'Type) -> labelend f)[49m (\_:'Type _:'Type ([32mi[39m : _:'Type) -> labelend i) b[K | ||
27 | infer: \[34ma[39m [32mb[39m:[32ma[39m -> [47m'Data3Case (\_:'Type -> _:'Type)[49m (\_:'Type _:'Type ([32mf[39m : _:'Type) -> labelend f) (\_:'Type _:'Type ([32mi[39m : _:'Type) -> labelend i) b[K | ||
28 | infer: \[34ma[39m [32mb[39m:[32ma[39m -> [47m'Data3Case[49m (\_:'Type -> _:'Type) (\_:'Type _:'Type ([32mf[39m : _:'Type) -> labelend f) (\_:'Type _:'Type ([32mi[39m : _:'Type) -> labelend i) b[K | ||
29 | focus: \[34ma[39m [32mb[39m:[32ma[39m -> ([47m[32m\c:Type d:Type e:Type f:Type -> 'Data3Case c d e f[39m[49m) (\_:'Type -> _:'Type) (\_:'Type _:'Type ([32mj[39m : _:'Type) -> labelend j) (\_:'Type _:'Type ([32mm[39m : _:'Type) -> labelend m) b[K | ||
30 | check: \[34ma[39m [32mb[39m:[32ma[39m -> ([32m\c:Type d:Type e:Type f:Type -> 'Data3Case c d e f[39m) ([47m(\_:'Type -> _:'Type) :: [32m'Data3->Type[39m[49m) (\_:'Type _:'Type ([32mi[39m : _:'Type) -> labelend i) (\_:'Type _:'Type ([32ml[39m : _:'Type) -> labelend l) b[K | ||
31 | check: \[34ma[39m [32mb[39m:[32ma[39m -> ([32m\c:Type d:Type e:Type f:Type -> 'Data3Case c d e f[39m) (\[32mg[39m:[32m'Data3[39m -> [47m_:'Type :: [32mType[39m[49m) (\_:'Type _:'Type ([32mj[39m : _:'Type) -> labelend j) (\_:'Type _:'Type ([32mm[39m : _:'Type) -> labelend m) b[K | ||
32 | infer: \[34ma[39m [32mb[39m:[32ma[39m -> ([32m\c:Type d:Type e:Type f:Type -> 'Data3Case c d e f[39m) (\[32mg[39m:[32m'Data3[39m -> [47m_:'Type[49m : [32mType[39m) (\_:'Type _:'Type ([32mj[39m : _:'Type) -> labelend j) (\_:'Type _:'Type ([32mm[39m : _:'Type) -> labelend m) b[K | ||
33 | infer: \[34ma[39m [32mb[39m:[32ma[39m -> ([32m\c:Type d:Type e:Type f:Type -> 'Data3Case c d e f[39m) (\[32mg[39m:[32m'Data3[39m -> (\[34mh[39m:[47m'Type[49m -> h) : [32mType[39m) (\_:'Type _:'Type ([32mk[39m : _:'Type) -> labelend k) (\_:'Type _:'Type ([32mn[39m : _:'Type) -> labelend n) b[K | ||
34 | focus: \[34ma[39m [32mb[39m:[32ma[39m -> ([32m\c:Type d:Type e:Type f:Type -> 'Data3Case c d e f[39m) (\[32mg[39m:[32m'Data3[39m -> (\[34mh[39m:[47m[32mType[39m[49m -> h) : [32mType[39m) (\_:'Type _:'Type ([32mk[39m : _:'Type) -> labelend k) (\_:'Type _:'Type ([32mn[39m : _:'Type) -> labelend n) b[K | ||
35 | infer: \[34ma[39m [32mb[39m:[32ma[39m -> ([32m\c:Type d:Type e:Type f:Type -> 'Data3Case c d e f[39m) (\[32mg[39m:[32m'Data3[39m -> \[34mh[39m->[47mh[49m : [32mType[39m) (\_:'Type _:'Type ([32mk[39m : _:'Type) -> labelend k) (\_:'Type _:'Type ([32mn[39m : _:'Type) -> labelend n) b[K | ||
36 | focus: \[34ma[39m [32mb[39m:[32ma[39m -> ([32m\c:Type d:Type e:Type f:Type -> 'Data3Case c d e f[39m) (\[32mg[39m:[32m'Data3[39m -> \[34mh[39m->[47m[32mh[39m[49m : [32mType[39m) (\_:'Type _:'Type ([32mk[39m : _:'Type) -> labelend k) (\_:'Type _:'Type ([32mn[39m : _:'Type) -> labelend n) b[K | ||
37 | focus: \[34ma[39m [32mb[39m:[32ma[39m -> ([32m\c:Type d:Type e:Type f:Type -> 'Data3Case c d e f[39m) (\[32mg[39m:[32m'Data3[39m [34mh[39m -> [47m[32mh[39m[49m:[32mType[39m) (\_:'Type _:'Type ([32mk[39m : _:'Type) -> labelend k) (\_:'Type _:'Type ([32mn[39m : _:'Type) -> labelend n) b[K | ||
38 | focus: \[34ma[39m [32mb[39m:[32ma[39m -> ([32m\c:Type d:Type e:Type f:Type -> 'Data3Case c d e f[39m) (\[32mg[39m:[32m'Data3[39m [34mh[39m [34mi[39m:[32m'Unit[39m -> [47m[32mh[39m[49m) (\_:'Type _:'Type ([32ml[39m : _:'Type) -> labelend l) (\_:'Type _:'Type ([32mo[39m : _:'Type) -> labelend o) b[K | ||
39 | focus: \[34ma[39m [32mb[39m:[32ma[39m -> ([32m\c:Type d:Type e:Type f:Type -> 'Data3Case c d e f[39m) (\[32mg[39m:[32m'Data3[39m -> \[34mh[39m->[47m[32mh[39m[49m) (\_:'Type _:'Type ([32mk[39m : _:'Type) -> labelend k) (\_:'Type _:'Type ([32mn[39m : _:'Type) -> labelend n) b[K | ||
40 | focus: \[34ma[39m [32mb[39m:[32ma[39m -> ([32m\c:Type d:Type e:Type f:Type -> 'Data3Case c d e f[39m) (\[34mg[39m [32mh[39m:[32m'Data3[39m -> [47m[32mg[39m[49m) (\_:'Type _:'Type ([32mk[39m : _:'Type) -> labelend k) (\_:'Type _:'Type ([32mn[39m : _:'Type) -> labelend n) b[K | ||
41 | focus: \[34ma[39m [32mb[39m:[32ma[39m -> ([32m\c:Type d:Type e:Type f:Type -> 'Data3Case c d e f[39m) (\[34mg[39m [47m[32mh:Type -> g[39m[49m) (\_:'Type _:'Type ([32mk[39m : _:'Type) -> labelend k) (\_:'Type _:'Type ([32mn[39m : _:'Type) -> labelend n) b[K | ||
42 | focus: \[34ma[39m [32mb[39m:[32ma[39m -> (\[34mc[39m -> ([32m\d:Type e:Type f:Type g:Type -> 'Data3Case d e f g[39m) ([47m[32m\h:Type -> c[39m[49m)) (\_:'Type _:'Type ([32mk[39m : _:'Type) -> labelend k) (\_:'Type _:'Type ([32mn[39m : _:'Type) -> labelend n) b[K | ||
43 | focus: \[34ma[39m [32mb[39m:[32ma[39m -> (\[34mc[39m [47m[32md:Type e:Type f:Type -> 'Data3Case (\g:Type -> c) d e f[39m[49m) (\_:'Type _:'Type ([32mj[39m : _:'Type) -> labelend j) (\_:'Type _:'Type ([32mm[39m : _:'Type) -> labelend m) b[K | ||
44 | focus: \[34ma[39m [32mb[39m:[32ma[39m -> (\[34mc[39m -> ([47m[32m\d:Type e:Type f:Type -> 'Data3Case (\g:Type -> c) d e f[39m[49m) (\_:'Type _:'Type ([32mj[39m : _:'Type) -> labelend j)) (\_:'Type _:'Type ([32mm[39m : _:'Type) -> labelend m) b[K | ||
45 | check: \[34ma[39m [32mb[39m:[32ma[39m -> (\[34mc[39m -> ([32m\d:Type e:Type f:Type -> 'Data3Case (\g:Type -> c) d e f[39m) ([47m(\_:'Type _:'Type ([32mj[39m : _:'Type) -> labelend j) :: [32m'Bool -> 'Char -> 'Bool->c[39m[49m)) (\_:'Type _:'Type ([32mj[39m : _:'Type) -> labelend j) b[K | ||
46 | check: \[34ma[39m [32mb[39m:[32ma[39m -> (\[34mc[39m -> ([32m\d:Type e:Type f:Type -> 'Data3Case (\g:Type -> c) d e f[39m) (\[32mh[39m:[32m'Bool[39m -> [47m(\_:'Type ([32mj[39m : _:'Type) -> labelend j) :: [32m'Char -> 'Bool->c[39m[49m)) (\_:'Type _:'Type ([32mk[39m : _:'Type) -> labelend k) b[K | ||
47 | check: \[34ma[39m [32mb[39m:[32ma[39m -> (\[34mc[39m -> ([32m\d:Type e:Type f:Type -> 'Data3Case (\g:Type -> c) d e f[39m) (\[32mh[39m:[32m'Bool[39m [32mi[39m:[32m'Char[39m -> [47m(\([32mj[39m : _:'Type) -> labelend j) :: [32m'Bool->c[39m[49m)) (\_:'Type _:'Type ([32ml[39m : _:'Type) -> labelend l) b[K | ||
48 | check: \[34ma[39m [32mb[39m:[32ma[39m -> (\[34mc[39m -> ([32m\d:Type e:Type f:Type -> 'Data3Case (\g:Type -> c) d e f[39m) (\[32mh[39m:[32m'Bool[39m [32mi[39m:[32m'Char[39m [32mj[39m:[32m'Bool[39m -> [47mlabelend j :: [32mc[39m[49m)) (\_:'Type _:'Type ([32mm[39m : _:'Type) -> labelend m) b[K | ||
49 | check: \[34ma[39m [32mb[39m:[32ma[39m -> (\[34mc[39m -> ([32m\d:Type e:Type f:Type -> 'Data3Case (\g:Type -> c) d e f[39m) (\[32mh[39m:[32m'Bool[39m [32mi[39m:[32m'Char[39m [32mj[39m:[32m'Bool[39m -> labEnd [47mj::[32mc[39m[49m)) (\_:'Type _:'Type ([32mm[39m : _:'Type) -> labelend m) b[K | ||
50 | infer: \[34ma[39m [32mb[39m:[32ma[39m -> (\[34mc[39m -> ([32m\d:Type e:Type f:Type -> 'Data3Case (\g:Type -> c) d e f[39m) (\[32mh[39m:[32m'Bool[39m [32mi[39m:[32m'Char[39m [32mj[39m:[32m'Bool[39m -> labEnd [47mj[49m:[32mc[39m)) (\_:'Type _:'Type ([32mm[39m : _:'Type) -> labelend m) b[K | ||
51 | focus: \[34ma[39m [32mb[39m:[32ma[39m -> (\[34mc[39m -> ([32m\d:Type e:Type f:Type -> 'Data3Case (\g:Type -> c) d e f[39m) (\[32mh[39m:[32m'Bool[39m [32mi[39m:[32m'Char[39m [32mj[39m:[32m'Bool[39m -> labEnd [47m[32mj[39m[49m:[32mc[39m)) (\_:'Type _:'Type ([32mm[39m : _:'Type) -> labelend m) b[K | ||
52 | focus: \[34ma[39m [32mb[39m:[32ma[39m -> (\[34mc[39m -> ([32m\d:Type e:Type f:Type -> 'Data3Case (\g:Type -> c) d e f[39m) (\[32mh[39m:[32m'Bool[39m [32mi[39m:[32m'Char[39m [32mj[39m:[32m'Bool[39m -> labEnd \([34mk[39m : [32mc~'Bool[39m)->[47m[32mj[39m[49m)) (\_:'Type _:'Type ([32mn[39m : _:'Type) -> labelend n) b[K | ||
53 | focus: \[34ma[39m [32mb[39m:[32ma[39m -> (\[34mc[39m -> ([32m\d:Type e:Type f:Type -> 'Data3Case (\g:Type -> c) d e f[39m) (\[32mh[39m:[32m'Bool[39m [32mi[39m:[32m'Char[39m [32mj[39m:[32m'Bool[39m -> labEnd (\[34mc[39m:=[32m'Bool[39m -> [47m[32mj[39m[49m))) (\_:'Type _:'Type ([32mm[39m : _:'Type) -> labelend m) b[K | ||
54 | focus: \[34ma[39m [32mb[39m:[32ma[39m -> (\[34mc[39m -> ([32m\d:Type e:Type f:Type -> 'Data3Case (\g:Type -> c) d e f[39m) (\[32mh[39m:[32m'Bool[39m [32mi[39m:[32m'Char[39m [32mj[39m:[32m'Bool[39m [34mc[39m:=[32m'Bool[39m -> labEnd [47m[32mj[39m[49m)) (\_:'Type _:'Type ([32mm[39m : _:'Type) -> labelend m) b[K | ||
55 | focus: \[34ma[39m [32mb[39m:[32ma[39m -> (\[34mc[39m -> ([32m\d:Type e:Type f:Type -> 'Data3Case (\g:Type -> c) d e f[39m) (\[32mh[39m:[32m'Bool[39m [32mi[39m:[32m'Char[39m [32mj[39m:[32m'Bool[39m [34mc[39m:=[32m'Bool[39m -> [47m[32mlabend j[39m[49m)) (\_:'Type _:'Type ([32mm[39m : _:'Type) -> labelend m) b[K | ||
56 | focus: \[34ma[39m [32mb[39m:[32ma[39m -> (\[34mc[39m -> ([32m\d:Type e:Type f:Type -> 'Data3Case (\g:Type -> c) d e f[39m) (\[32mh[39m:[32m'Bool[39m [32mi[39m:[32m'Char[39m [34mc[39m:=[32m'Bool[39m [32mj[39m:[32m'Bool[39m -> [47m[32mlabend j[39m[49m)) (\_:'Type _:'Type ([32mm[39m : _:'Type) -> labelend m) b[K | ||
57 | focus: \[34ma[39m [32mb[39m:[32ma[39m -> (\[34mc[39m -> ([32m\d:Type e:Type f:Type -> 'Data3Case (\g:Type -> c) d e f[39m) (\[32mh[39m:[32m'Bool[39m [32mi[39m:[32m'Char[39m [34mc[39m:=[32m'Bool[39m [47m[32mj:Type -> labend j[39m[49m)) (\_:'Type _:'Type ([32mm[39m : _:'Type) -> labelend m) b[K | ||
58 | focus: \[34ma[39m [32mb[39m:[32ma[39m -> (\[34mc[39m -> ([32m\d:Type e:Type f:Type -> 'Data3Case (\g:Type -> c) d e f[39m) (\[32mh[39m:[32m'Bool[39m [34mc[39m:=[32m'Bool[39m [32mi[39m:[32m'Char[39m [47m[32mj:Type -> labend j[39m[49m)) (\_:'Type _:'Type ([32mm[39m : _:'Type) -> labelend m) b[K | ||
59 | focus: \[34ma[39m [32mb[39m:[32ma[39m -> (\[34mc[39m -> ([32m\d:Type e:Type f:Type -> 'Data3Case (\g:Type -> c) d e f[39m) (\[32mh[39m:[32m'Bool[39m [34mc[39m:=[32m'Bool[39m [47m[32mi:Type j:Type -> labend j[39m[49m)) (\_:'Type _:'Type ([32mm[39m : _:'Type) -> labelend m) b[K | ||
60 | focus: \[34ma[39m [32mb[39m:[32ma[39m -> (\[34mc[39m -> ([32m\d:Type e:Type f:Type -> 'Data3Case (\g:Type -> c) d e f[39m) (\[34mc[39m:=[32m'Bool[39m [32mh[39m:[32m'Bool[39m [47m[32mi:Type j:Type -> labend j[39m[49m)) (\_:'Type _:'Type ([32mm[39m : _:'Type) -> labelend m) b[K | ||
61 | focus: \[34ma[39m [32mb[39m:[32ma[39m -> (\[34mc[39m -> ([32m\d:Type e:Type f:Type -> 'Data3Case (\g:Type -> c) d e f[39m) (\[34mc[39m:=[32m'Bool[39m [47m[32mh:Type i:Type j:Type -> labend j[39m[49m)) (\_:'Type _:'Type ([32mm[39m : _:'Type) -> labelend m) b[K | ||
62 | focus: \[34ma[39m [32mb[39m:[32ma[39m -> (\[34mc[39m [34mc[39m:=[32m'Bool[39m -> ([32m\d:Type e:Type f:Type -> 'Data3Case (\g:Type -> 'Bool) d e f[39m) ([47m[32m\h:Type i:Type j:Type -> labend j[39m[49m)) (\_:'Type _:'Type ([32mm[39m : _:'Type) -> labelend m) b[K | ||
63 | focus: \[34ma[39m [32mb[39m:[32ma[39m -> (\[34mc[39m [34mc[39m:=[32m'Bool[39m [47m[32md:Type e:Type -> 'Data3Case (\f:Type -> 'Bool) (\g:Type h:Type i:Type -> labend i) d e[39m[49m) (\_:'Type _:'Type ([32ml[39m : _:'Type) -> labelend l) b[K | ||
64 | focus: \[34ma[39m [32mb[39m:[32ma[39m -> ([47m[32m\c:Type d:Type -> 'Data3Case (\e:Type -> 'Bool) (\f:Type g:Type h:Type -> labend h) c d[39m[49m) (\_:'Type _:'Type ([32mk[39m : _:'Type) -> labelend k) b[K | ||
65 | check: \[34ma[39m [32mb[39m:[32ma[39m -> ([32m\c:Type d:Type -> 'Data3Case (\e:Type -> 'Bool) (\f:Type g:Type h:Type -> labend h) c d[39m) ([47m(\_:'Type _:'Type ([32mk[39m : _:'Type) -> labelend k) :: [32m'Int -> 'String -> 'Int->'Bool[39m[49m) b[K | ||
66 | check: \[34ma[39m [32mb[39m:[32ma[39m -> ([32m\c:Type d:Type -> 'Data3Case (\e:Type -> 'Bool) (\f:Type g:Type h:Type -> labend h) c d[39m) (\[32mi[39m:[32m'Int[39m -> [47m(\_:'Type ([32mk[39m : _:'Type) -> labelend k) :: [32m'String -> 'Int->'Bool[39m[49m) b[K | ||
67 | check: \[34ma[39m [32mb[39m:[32ma[39m -> ([32m\c:Type d:Type -> 'Data3Case (\e:Type -> 'Bool) (\f:Type g:Type h:Type -> labend h) c d[39m) (\[32mi[39m:[32m'Int[39m [32mj[39m:[32m'String[39m -> [47m(\([32mk[39m : _:'Type) -> labelend k) :: [32m'Int->'Bool[39m[49m) b[K | ||
68 | check: \[34ma[39m [32mb[39m:[32ma[39m -> ([32m\c:Type d:Type -> 'Data3Case (\e:Type -> 'Bool) (\f:Type g:Type h:Type -> labend h) c d[39m) (\[32mi[39m:[32m'Int[39m [32mj[39m:[32m'String[39m [32mk[39m:[32m'Int[39m -> [47mlabelend k :: [32m'Bool[39m[49m) b[K | ||
69 | check: \[34ma[39m [32mb[39m:[32ma[39m -> ([32m\c:Type d:Type -> 'Data3Case (\e:Type -> 'Bool) (\f:Type g:Type h:Type -> labend h) c d[39m) (\[32mi[39m:[32m'Int[39m [32mj[39m:[32m'String[39m [32mk[39m:[32m'Int[39m -> labEnd [47mk::[32m'Bool[39m[49m) b[K | ||
70 | infer: \[34ma[39m [32mb[39m:[32ma[39m -> ([32m\c:Type d:Type -> 'Data3Case (\e:Type -> 'Bool) (\f:Type g:Type h:Type -> labend h) c d[39m) (\[32mi[39m:[32m'Int[39m [32mj[39m:[32m'String[39m [32mk[39m:[32m'Int[39m -> labEnd [47mk[49m:[32m'Bool[39m) b[K | ||
71 | focus: \[34ma[39m [32mb[39m:[32ma[39m -> ([32m\c:Type d:Type -> 'Data3Case (\e:Type -> 'Bool) (\f:Type g:Type h:Type -> labend h) c d[39m) (\[32mi[39m:[32m'Int[39m [32mj[39m:[32m'String[39m [32mk[39m:[32m'Int[39m -> labEnd [47m[32mk[39m[49m:[32m'Bool[39m) b[K | ||
72 | focus: \[34ma[39m [32mb[39m:[32ma[39m -> ([32m\c:Type d:Type -> 'Data3Case (\e:Type -> 'Bool) (\f:Type g:Type h:Type -> labend h) c d[39m) (\[32mi[39m:[32m'Int[39m [32mj[39m:[32m'String[39m [32mk[39m:[32m'Int[39m -> labEnd \([34ml[39m : [32m'Empty "can not unify\n\ESC[32m'Bool\ESC[m\nwith\n\ESC[32m'Int\ESC[m\n"[39m)->[47m[32mk[39m[49m) b[K | ||
73 | !type error: can not unify | ||
74 | [32m'Bool[m | ||
75 | with | ||
76 | [32m'Int[m | ||
77 | |||
78 | in | ||
79 | |||
80 | ------------ tooltips | ||
81 | testdata/language-features/adt/adt02.reject.lc 2:6-2:11 Type | ||
82 | testdata/language-features/adt/adt02.reject.lc 2:6-5:25 Type | ||
83 | testdata/language-features/adt/adt02.reject.lc 2:6-7:11 Type | ||
84 | testdata/language-features/adt/adt02.reject.lc 2:6-10:20 Type | ||
85 | testdata/language-features/adt/adt02.reject.lc 3:5-3:10 Bool -> Char -> Bool->Data3 | Data3 | Type | ||
86 | testdata/language-features/adt/adt02.reject.lc 3:21-3:25 Type | ||
87 | testdata/language-features/adt/adt02.reject.lc 4:21-4:25 Type | ||
88 | testdata/language-features/adt/adt02.reject.lc 5:21-5:25 Type | ||
89 | testdata/language-features/adt/adt02.reject.lc 7:5-7:11 Data3 | Int -> String -> Int->Data3 | Type | ||
90 | testdata/language-features/adt/adt02.reject.lc 8:17-8:20 Type | ||
91 | testdata/language-features/adt/adt02.reject.lc 9:17-9:23 Type | ||
92 | testdata/language-features/adt/adt02.reject.lc 10:17-10:20 Type | ||
diff --git a/testdata/language-features/adt/adt03.reject.out b/testdata/language-features/adt/adt03.reject.out index cd56212b..1c9583cc 100644 --- a/testdata/language-features/adt/adt03.reject.out +++ b/testdata/language-features/adt/adt03.reject.out | |||
@@ -1,3 +1,10 @@ | |||
1 | can't find: a in testdata/language-features/adt/adt03.reject.lc:2:20: | 1 | can't find: a in testdata/language-features/adt/adt03.reject.lc:2:20: |
2 | data Data3 = Data3 a b c | 2 | data Data3 = Data3 a b c |
3 | ^ \ No newline at end of file | 3 | ^ |
4 | ------------ trace | ||
5 | 'Data3 :: [32mType[39m[K | ||
6 | infer: [47ma -> b -> c->'Data3[49m : [32mType[39m[K | ||
7 | infer: [47ma[49m:[32mType[39m -> (b -> c->'Data3 : 'Type) : [32mType[39m[K | ||
8 | !can't find: a in testdata/language-features/adt/adt03.reject.lc:2:20 | ||
9 | ------------ tooltips | ||
10 | testdata/language-features/adt/adt03.reject.lc 2:6-2:11 Type | ||
diff --git a/testdata/language-features/adt/adt04.reject.out b/testdata/language-features/adt/adt04.reject.out index cdcbef0a..76f0f5be 100644 --- a/testdata/language-features/adt/adt04.reject.out +++ b/testdata/language-features/adt/adt04.reject.out | |||
@@ -1,3 +1,10 @@ | |||
1 | can't find: a in testdata/language-features/adt/adt04.reject.lc:2:27: | 1 | can't find: a in testdata/language-features/adt/adt04.reject.lc:2:27: |
2 | data Data3 = Data3 { x :: a , y :: b , z :: c } | 2 | data Data3 = Data3 { x :: a , y :: b , z :: c } |
3 | ^ \ No newline at end of file | 3 | ^ |
4 | ------------ trace | ||
5 | 'Data3 :: [32mType[39m[K | ||
6 | infer: [47ma -> b -> c->'Data3[49m : [32mType[39m[K | ||
7 | infer: [47ma[49m:[32mType[39m -> (b -> c->'Data3 : 'Type) : [32mType[39m[K | ||
8 | !can't find: a in testdata/language-features/adt/adt04.reject.lc:2:27 | ||
9 | ------------ tooltips | ||
10 | testdata/language-features/adt/adt04.reject.lc 2:6-2:11 Type | ||
diff --git a/testdata/language-features/adt/gadt01.reject.out b/testdata/language-features/adt/gadt01.reject.out index 8c5cc2ae..a993010b 100644 --- a/testdata/language-features/adt/gadt01.reject.out +++ b/testdata/language-features/adt/gadt01.reject.out | |||
@@ -1 +1,8 @@ | |||
1 | illegal data definition (parameters are not uniform) \ No newline at end of file | 1 | illegal data definition (parameters are not uniform) |
2 | ------------ trace | ||
3 | 'M3 :: [32mType -> 'String->Type[39m[K | ||
4 | !illegal data definition (parameters are not uniform) | ||
5 | ------------ tooltips | ||
6 | testdata/language-features/adt/gadt01.reject.lc 5:6-5:8 Type -> String->Type | ||
7 | testdata/language-features/adt/gadt01.reject.lc 5:15-5:19 Type | ||
8 | testdata/language-features/adt/gadt01.reject.lc 5:27-5:33 Type | ||
diff --git a/testdata/language-features/adt/gadt02.reject.out b/testdata/language-features/adt/gadt02.reject.out index 9c00b1fd..f13ebe8e 100644 --- a/testdata/language-features/adt/gadt02.reject.out +++ b/testdata/language-features/adt/gadt02.reject.out | |||
@@ -1,3 +1,7 @@ | |||
1 | testdata/language-features/adt/gadt02.reject.lc:2:9: | 1 | testdata/language-features/adt/gadt02.reject.lc:2:9: |
2 | unexpected 'T' | 2 | unexpected 'T' |
3 | expecting end of input \ No newline at end of file | 3 | expecting end of input |
4 | ------------ trace | ||
5 | !testdata/language-features/adt/gadt02.reject.lc:2:9: | ||
6 | unexpected 'T' | ||
7 | expecting end of input | ||
diff --git a/testdata/language-features/adt/gadt03.reject.out b/testdata/language-features/adt/gadt03.reject.out index 8c5cc2ae..82c15741 100644 --- a/testdata/language-features/adt/gadt03.reject.out +++ b/testdata/language-features/adt/gadt03.reject.out | |||
@@ -1 +1,30 @@ | |||
1 | illegal data definition (parameters are not uniform) \ No newline at end of file | 1 | illegal data definition (parameters are not uniform) |
2 | ------------ trace | ||
3 | 'M2 :: [32mType -> 'String->Type[39m[K | ||
4 | Value2 :: [32m{a} -> a -> {c:'String} -> 'M2 a c[39m[K | ||
5 | 'M2Case :: [32m{a} -> (d : b:'String -> 'M2 a b -> Type) -> (e:a -> {f:'String} -> d f (Value2 e f)) -> {h:'String} -> (i : 'M2 a h) -> d h i[39m[K | ||
6 | match'M2 :: [32m(b : Type->Type) -> (c:Type -> d:'String -> b ('M2 c d)) -> f:Type -> b f -> b f[39m[K | ||
7 | 'M3 :: [32mType -> 'String->Type[39m[K | ||
8 | !illegal data definition (parameters are not uniform) | ||
9 | ------------ tooltips | ||
10 | testdata/language-features/adt/gadt03.reject.lc 2:6-2:8 Type | Type -> String->Type | ||
11 | testdata/language-features/adt/gadt03.reject.lc 2:6-3:35 Type | ||
12 | testdata/language-features/adt/gadt03.reject.lc 2:15-2:19 Type | ||
13 | testdata/language-features/adt/gadt03.reject.lc 2:24-2:30 Type | ||
14 | testdata/language-features/adt/gadt03.reject.lc 2:24-2:38 Type | ||
15 | testdata/language-features/adt/gadt03.reject.lc 2:34-2:38 Type | ||
16 | testdata/language-features/adt/gadt03.reject.lc 3:3-3:9 M2 V3 V0 | {a} -> a -> {c:String} -> M2 a c | ||
17 | testdata/language-features/adt/gadt03.reject.lc 3:3-3:35 Type | ||
18 | testdata/language-features/adt/gadt03.reject.lc 3:13-3:14 Type | ||
19 | testdata/language-features/adt/gadt03.reject.lc 3:13-3:35 Type | ||
20 | testdata/language-features/adt/gadt03.reject.lc 3:18-3:35 Type | ||
21 | testdata/language-features/adt/gadt03.reject.lc 3:29-3:31 Type -> String->Type | ||
22 | testdata/language-features/adt/gadt03.reject.lc 3:29-3:33 String->Type | ||
23 | testdata/language-features/adt/gadt03.reject.lc 3:29-3:35 Type | ||
24 | testdata/language-features/adt/gadt03.reject.lc 3:32-3:33 Type | ||
25 | testdata/language-features/adt/gadt03.reject.lc 3:34-3:35 String | V1 | ||
26 | testdata/language-features/adt/gadt03.reject.lc 5:6-5:8 Type -> String->Type | ||
27 | testdata/language-features/adt/gadt03.reject.lc 5:15-5:19 Type | ||
28 | testdata/language-features/adt/gadt03.reject.lc 5:24-5:30 Type | ||
29 | testdata/language-features/adt/gadt03.reject.lc 5:24-5:38 Type | ||
30 | testdata/language-features/adt/gadt03.reject.lc 5:34-5:38 Type | ||
diff --git a/testdata/language-features/adt/gadt04.reject.out b/testdata/language-features/adt/gadt04.reject.out index 365889c8..61bd1a2e 100644 --- a/testdata/language-features/adt/gadt04.reject.out +++ b/testdata/language-features/adt/gadt04.reject.out | |||
@@ -3,4 +3,45 @@ already defined Value at testdata/language-features/adt/gadt04.reject.lc:6:3: | |||
3 | ^^^^^ | 3 | ^^^^^ |
4 | and at testdata/language-features/adt/gadt04.reject.lc:3:3: | 4 | and at testdata/language-features/adt/gadt04.reject.lc:3:3: |
5 | Value :: a -> forall m . M a m | 5 | Value :: a -> forall m . M a m |
6 | ^^^^^ \ No newline at end of file | 6 | ^^^^^ |
7 | ------------ trace | ||
8 | 'M :: [32mType -> 'String->Type[39m[K | ||
9 | Value :: [32m{a} -> a -> {c:'String} -> 'M a c[39m[K | ||
10 | 'MCase :: [32m(d : a:Type -> b:'String -> 'M a b -> Type) -> ({e} -> f:e -> {g:'String} -> d e g (Value e f g)) -> {i} -> {j:'String} -> (k : 'M i j) -> d i j k[39m[K | ||
11 | match'M :: [32m(b : Type->Type) -> (c:Type -> d:'String -> b ('M c d)) -> f:Type -> b f -> b f[39m[K | ||
12 | 'M2 :: [32mType -> 'String->Type[39m[K | ||
13 | Value :: [32m{a} -> a -> {c:'String} -> 'M2 a c[39m[K | ||
14 | !already defined Value at testdata/language-features/adt/gadt04.reject.lc:6:3 | ||
15 | and at testdata/language-features/adt/gadt04.reject.lc:3:3 | ||
16 | ------------ tooltips | ||
17 | testdata/language-features/adt/gadt04.reject.lc 2:6-2:7 Type | Type -> String->Type | ||
18 | testdata/language-features/adt/gadt04.reject.lc 2:6-3:33 Type | ||
19 | testdata/language-features/adt/gadt04.reject.lc 2:11-2:15 Type | ||
20 | testdata/language-features/adt/gadt04.reject.lc 2:19-2:25 Type | ||
21 | testdata/language-features/adt/gadt04.reject.lc 2:19-2:33 Type | ||
22 | testdata/language-features/adt/gadt04.reject.lc 2:29-2:33 Type | ||
23 | testdata/language-features/adt/gadt04.reject.lc 3:3-3:8 M V2 V0 | {a} -> a -> {c:String} -> M a c | ||
24 | testdata/language-features/adt/gadt04.reject.lc 3:3-3:33 Type | ||
25 | testdata/language-features/adt/gadt04.reject.lc 3:12-3:13 V1 | ||
26 | testdata/language-features/adt/gadt04.reject.lc 3:12-3:33 Type | ||
27 | testdata/language-features/adt/gadt04.reject.lc 3:17-3:33 Type | ||
28 | testdata/language-features/adt/gadt04.reject.lc 3:28-3:29 Type -> String->Type | ||
29 | testdata/language-features/adt/gadt04.reject.lc 3:28-3:31 String->Type | ||
30 | testdata/language-features/adt/gadt04.reject.lc 3:28-3:33 Type | ||
31 | testdata/language-features/adt/gadt04.reject.lc 3:30-3:31 Type | ||
32 | testdata/language-features/adt/gadt04.reject.lc 3:30-3:33 M V2 V0 -> Type | ||
33 | testdata/language-features/adt/gadt04.reject.lc 3:32-3:33 String | V1 | ||
34 | testdata/language-features/adt/gadt04.reject.lc 5:6-5:8 Type -> String->Type | ||
35 | testdata/language-features/adt/gadt04.reject.lc 5:12-5:16 Type | ||
36 | testdata/language-features/adt/gadt04.reject.lc 5:20-5:26 Type | ||
37 | testdata/language-features/adt/gadt04.reject.lc 5:20-5:34 Type | ||
38 | testdata/language-features/adt/gadt04.reject.lc 5:30-5:34 Type | ||
39 | testdata/language-features/adt/gadt04.reject.lc 6:3-6:8 {a} -> a -> {c:String} -> M2 a c | ||
40 | testdata/language-features/adt/gadt04.reject.lc 6:12-6:13 V1 | ||
41 | testdata/language-features/adt/gadt04.reject.lc 6:12-6:34 Type | ||
42 | testdata/language-features/adt/gadt04.reject.lc 6:17-6:34 Type | ||
43 | testdata/language-features/adt/gadt04.reject.lc 6:28-6:30 Type -> String->Type | ||
44 | testdata/language-features/adt/gadt04.reject.lc 6:28-6:32 String->Type | ||
45 | testdata/language-features/adt/gadt04.reject.lc 6:28-6:34 Type | ||
46 | testdata/language-features/adt/gadt04.reject.lc 6:31-6:32 Type | ||
47 | testdata/language-features/adt/gadt04.reject.lc 6:33-6:34 V1 | ||
diff --git a/testdata/language-features/as-pattern/as-pattern02.reject.out b/testdata/language-features/as-pattern/as-pattern02.reject.out index 4d60dbcb..6e20413d 100644 --- a/testdata/language-features/as-pattern/as-pattern02.reject.out +++ b/testdata/language-features/as-pattern/as-pattern02.reject.out | |||
@@ -1,3 +1,9 @@ | |||
1 | multiple pattern vars: | 1 | multiple pattern vars: |
2 | x is defined at testdata/language-features/as-pattern/as-pattern02.reject.lc 2:6-2:7 | 2 | x is defined at testdata/language-features/as-pattern/as-pattern02.reject.lc 2:6-2:7 |
3 | x is defined at testdata/language-features/as-pattern/as-pattern02.reject.lc 2:3-2:4 | 3 | x is defined at testdata/language-features/as-pattern/as-pattern02.reject.lc 2:3-2:4 |
4 | |||
5 | ------------ trace | ||
6 | !multiple pattern vars: | ||
7 | x is defined at testdata/language-features/as-pattern/as-pattern02.reject.lc 2:6-2:7 | ||
8 | x is defined at testdata/language-features/as-pattern/as-pattern02.reject.lc 2:3-2:4 | ||
9 | |||
diff --git a/testdata/language-features/basic-list/list01.out b/testdata/language-features/basic-list/list01.out index 6ca83aa0..965841b3 100644 --- a/testdata/language-features/basic-list/list01.out +++ b/testdata/language-features/basic-list/list01.out | |||
@@ -1,4 +1,8 @@ | |||
1 | main is not found | 1 | main is not found |
2 | ------------ trace | ||
3 | value1 :: [32m{a} -> 'List a[39m[K | ||
4 | value2 :: [32m{a} -> {b : 'Num a} -> 'List a[39m[K | ||
5 | value3 :: [32m'List 'Char[39m[K | ||
2 | ------------ tooltips | 6 | ------------ tooltips |
3 | testdata/language-features/basic-list/list01.lc 1:1-1:7 {a} -> List a | 7 | testdata/language-features/basic-list/list01.lc 1:1-1:7 {a} -> List a |
4 | testdata/language-features/basic-list/list01.lc 1:10-1:12 {a} -> List a | 8 | testdata/language-features/basic-list/list01.lc 1:10-1:12 {a} -> List a |
diff --git a/testdata/language-features/basic-list/list02.out b/testdata/language-features/basic-list/list02.out index 078475d7..5ebde853 100644 --- a/testdata/language-features/basic-list/list02.out +++ b/testdata/language-features/basic-list/list02.out | |||
@@ -1,4 +1,8 @@ | |||
1 | main is not found | 1 | main is not found |
2 | ------------ trace | ||
3 | value1 :: [32m{a} -> 'List a[39m[K | ||
4 | value2 :: [32m{a} -> {b : 'Num a} -> 'List a[39m[K | ||
5 | value3 :: [32m'List 'Char[39m[K | ||
2 | ------------ tooltips | 6 | ------------ tooltips |
3 | testdata/language-features/basic-list/list02.lc 1:1-1:7 {a} -> List a | 7 | testdata/language-features/basic-list/list02.lc 1:1-1:7 {a} -> List a |
4 | testdata/language-features/basic-list/list02.lc 1:10-2:4 {a} -> List a | 8 | testdata/language-features/basic-list/list02.lc 1:10-2:4 {a} -> List a |
diff --git a/testdata/language-features/basic-list/list03.reject.out b/testdata/language-features/basic-list/list03.reject.out index d5a33d36..f5ad67d8 100644 --- a/testdata/language-features/basic-list/list03.reject.out +++ b/testdata/language-features/basic-list/list03.reject.out | |||
@@ -1,3 +1,7 @@ | |||
1 | testdata/language-features/basic-list/list03.reject.lc:2:1: | 1 | testdata/language-features/basic-list/list03.reject.lc:2:1: |
2 | expecting expression | 2 | expecting expression |
3 | wrong indentation \ No newline at end of file | 3 | wrong indentation |
4 | ------------ trace | ||
5 | !testdata/language-features/basic-list/list03.reject.lc:2:1: | ||
6 | expecting expression | ||
7 | wrong indentation | ||
diff --git a/testdata/language-features/basic-list/list04.reject.out b/testdata/language-features/basic-list/list04.reject.out index 6f169a95..02ee2348 100644 --- a/testdata/language-features/basic-list/list04.reject.out +++ b/testdata/language-features/basic-list/list04.reject.out | |||
@@ -1,3 +1,7 @@ | |||
1 | testdata/language-features/basic-list/list04.reject.lc:2:1: | 1 | testdata/language-features/basic-list/list04.reject.lc:2:1: |
2 | expecting expression | 2 | expecting expression |
3 | wrong indentation \ No newline at end of file | 3 | wrong indentation |
4 | ------------ trace | ||
5 | !testdata/language-features/basic-list/list04.reject.lc:2:1: | ||
6 | expecting expression | ||
7 | wrong indentation | ||
diff --git a/testdata/language-features/basic-list/list05.reject.out b/testdata/language-features/basic-list/list05.reject.out index 821b377d..4a4087cc 100644 --- a/testdata/language-features/basic-list/list05.reject.out +++ b/testdata/language-features/basic-list/list05.reject.out | |||
@@ -1,4 +1,9 @@ | |||
1 | testdata/language-features/basic-list/list05.reject.lc:2:1: | 1 | testdata/language-features/basic-list/list05.reject.lc:2:1: |
2 | unexpected end of input | 2 | unexpected end of input |
3 | expecting expression | 3 | expecting expression |
4 | wrong indentation \ No newline at end of file | 4 | wrong indentation |
5 | ------------ trace | ||
6 | !testdata/language-features/basic-list/list05.reject.lc:2:1: | ||
7 | unexpected end of input | ||
8 | expecting expression | ||
9 | wrong indentation | ||
diff --git a/testdata/language-features/basic-list/list06.reject.out b/testdata/language-features/basic-list/list06.reject.out index 7bcc0c09..47f8f104 100644 --- a/testdata/language-features/basic-list/list06.reject.out +++ b/testdata/language-features/basic-list/list06.reject.out | |||
@@ -1,3 +1,7 @@ | |||
1 | testdata/language-features/basic-list/list06.reject.lc:1:10: | 1 | testdata/language-features/basic-list/list06.reject.lc:1:10: |
2 | unexpected ',' | 2 | unexpected ',' |
3 | expecting expression \ No newline at end of file | 3 | expecting expression |
4 | ------------ trace | ||
5 | !testdata/language-features/basic-list/list06.reject.lc:1:10: | ||
6 | unexpected ',' | ||
7 | expecting expression | ||
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 | ||
diff --git a/testdata/language-features/basic-list/list08.out b/testdata/language-features/basic-list/list08.out index 36f905d9..fb69fb70 100644 --- a/testdata/language-features/basic-list/list08.out +++ b/testdata/language-features/basic-list/list08.out | |||
@@ -1,4 +1,6 @@ | |||
1 | main is not found | 1 | main is not found |
2 | ------------ trace | ||
3 | value :: [32m'List 'Float[39m[K | ||
2 | ------------ tooltips | 4 | ------------ tooltips |
3 | testdata/language-features/basic-list/list08.lc 1:1-1:6 List Float | 5 | testdata/language-features/basic-list/list08.lc 1:1-1:6 List Float |
4 | testdata/language-features/basic-list/list08.lc 1:9-1:16 List Float | 6 | testdata/language-features/basic-list/list08.lc 1:9-1:16 List Float |
diff --git a/testdata/language-features/basic-list/list09.out b/testdata/language-features/basic-list/list09.out index a64ddd90..4ac018ac 100644 --- a/testdata/language-features/basic-list/list09.out +++ b/testdata/language-features/basic-list/list09.out | |||
@@ -1,4 +1,6 @@ | |||
1 | main is not found | 1 | main is not found |
2 | ------------ trace | ||
3 | value :: [32m'List 'Float[39m[K | ||
2 | ------------ tooltips | 4 | ------------ tooltips |
3 | testdata/language-features/basic-list/list09.lc 1:1-1:6 List Float | 5 | testdata/language-features/basic-list/list09.lc 1:1-1:6 List Float |
4 | testdata/language-features/basic-list/list09.lc 1:9-1:16 List Float | 6 | testdata/language-features/basic-list/list09.lc 1:9-1:16 List Float |
diff --git a/testdata/language-features/basic-list/list10.reject.out b/testdata/language-features/basic-list/list10.reject.out index 8f1376a7..6c108119 100644 --- a/testdata/language-features/basic-list/list10.reject.out +++ b/testdata/language-features/basic-list/list10.reject.out | |||
@@ -4,3 +4,144 @@ with | |||
4 | [32m'Float[m | 4 | [32m'Float[m |
5 | 5 | ||
6 | in builtin Nil | 6 | in builtin Nil |
7 | |||
8 | ------------ trace | ||
9 | infer: [47mlabelend (Cons (fromInt 1) (Cons 1.2 Nil) : 'List 'Int)[49m[K | ||
10 | infer: labEnd ([47mCons (fromInt 1) (Cons 1.2 Nil) : 'List 'Int[49m)[K | ||
11 | check: labEnd (([47m'List 'Int :: [32mType[39m[49m) : ??)[K | ||
12 | infer: labEnd (([47m'List[49m 'Int : [32mType[39m) : ??)[K | ||
13 | focus: labEnd (([47m[32m'List[39m[49m 'Int : [32mType[39m) : ??)[K | ||
14 | focus: labEnd ((\[34ma[39m:[32m'Unit[39m -> [47m[32m'List[39m[49m) 'Int : ??)[K | ||
15 | focus: labEnd ([47m[32m'List[39m[49m 'Int : ??)[K | ||
16 | check: labEnd ([32m'List[39m [47m'Int::[32mType[39m[49m : ??)[K | ||
17 | infer: labEnd ([32m'List[39m [47m'Int[49m:[32mType[39m : ??)[K | ||
18 | focus: labEnd ([32m'List[39m [47m[32m'Int[39m[49m:[32mType[39m : ??)[K | ||
19 | focus: labEnd ([32m'List[39m (\[34ma[39m:[32m'Unit[39m -> [47m[32m'Int[39m[49m) : ??)[K | ||
20 | focus: labEnd ([32m'List[39m [47m[32m'Int[39m[49m : ??)[K | ||
21 | focus: labEnd ([47m[32m'List 'Int[39m[49m : ??)[K | ||
22 | check: labEnd ([47mCons (fromInt 1) (Cons 1.2 Nil) :: [32m'List 'Int[39m[49m)[K | ||
23 | infer: labEnd ([47mCons (fromInt 1)[49m (Cons 1.2 Nil) : [32m'List 'Int[39m)[K | ||
24 | infer: labEnd ([47mCons[49m (fromInt 1) (Cons 1.2 Nil) : [32m'List 'Int[39m)[K | ||
25 | focus: labEnd ([47m[32mCons[39m[49m (fromInt 1) (Cons 1.2 Nil) : [32m'List 'Int[39m)[K | ||
26 | focus: labEnd ([47m[32mCons[39m[49m {_ : _:'Type} (fromInt 1) (Cons 1.2 Nil) : [32m'List 'Int[39m)[K | ||
27 | check: labEnd ([32mCons[39m {[47m(_ : _:'Type) :: [32mType[39m[49m} (fromInt 1) (Cons 1.2 Nil) : [32m'List 'Int[39m)[K | ||
28 | infer: labEnd ([32mCons[39m {([47m_ : _:'Type[49m) : [32mType[39m} (fromInt 1) (Cons 1.2 Nil) : [32m'List 'Int[39m)[K | ||
29 | infer: labEnd ([32mCons[39m {\([34ma[39m : [47m_:'Type[49m)->a : [32mType[39m} (fromInt 1) (Cons 1.2 Nil) : [32m'List 'Int[39m)[K | ||
30 | infer: labEnd ([32mCons[39m {\([34mb[39m : (\[34ma[39m:[47m'Type[49m -> a))->b : [32mType[39m} (fromInt 1) (Cons 1.2 Nil) : [32m'List 'Int[39m)[K | ||
31 | focus: labEnd ([32mCons[39m {\([34mb[39m : (\[34ma[39m:[47m[32mType[39m[49m -> a))->b : [32mType[39m} (fromInt 1) (Cons 1.2 Nil) : [32m'List 'Int[39m)[K | ||
32 | infer: labEnd ([32mCons[39m {\([34mb[39m : \[34ma[39m->[47ma[49m)->b : [32mType[39m} (fromInt 1) (Cons 1.2 Nil) : [32m'List 'Int[39m)[K | ||
33 | focus: labEnd ([32mCons[39m {\([34mb[39m : \[34ma[39m->[47m[32ma[39m[49m)->b : [32mType[39m} (fromInt 1) (Cons 1.2 Nil) : [32m'List 'Int[39m)[K | ||
34 | focus: labEnd ([32mCons[39m {(\[34ma[39m [34mb[39m:[47m[32ma[39m[49m -> b) : [32mType[39m} (fromInt 1) (Cons 1.2 Nil) : [32m'List 'Int[39m)[K | ||
35 | infer: labEnd ([32mCons[39m {(\[34ma[39m [34mb[39m:[32ma[39m -> [47mb[49m) : [32mType[39m} (fromInt 1) (Cons 1.2 Nil) : [32m'List 'Int[39m)[K | ||
36 | focus: labEnd ([32mCons[39m {(\[34ma[39m [34mb[39m:[32ma[39m -> [47m[32mb[39m[49m) : [32mType[39m} (fromInt 1) (Cons 1.2 Nil) : [32m'List 'Int[39m)[K | ||
37 | focus: labEnd ([32mCons[39m {\[34ma[39m [34mb[39m:[32ma[39m -> [47m[32mb[39m[49m:[32mType[39m} (fromInt 1) (Cons 1.2 Nil) : [32m'List 'Int[39m)[K | ||
38 | focus: labEnd ([32mCons[39m {\[34ma[39m [34mb[39m:[32ma[39m -> \([34mc[39m : [32mType~a[39m)->[47m[32mb[39m[49m} (fromInt 1) (Cons 1.2 Nil) : [32m'List 'Int[39m)[K | ||
39 | focus: labEnd ([32mCons[39m {\[34ma[39m [34mb[39m:[32ma[39m [34ma[39m:=[32mType[39m -> [47m[32mb[39m[49m} (fromInt 1) (Cons 1.2 Nil) : [32m'List 'Int[39m)[K | ||
40 | focus: labEnd ([32mCons[39m {\[34ma[39m [34ma[39m:=[32mType[39m -> \[34mb[39m->[47m[32mb[39m[49m} (fromInt 1) (Cons 1.2 Nil) : [32m'List 'Int[39m)[K | ||
41 | focus: labEnd ([32mCons[39m {\[34ma[39m->[47m[32ma[39m[49m} (fromInt 1) (Cons 1.2 Nil) : [32m'List 'Int[39m)[K | ||
42 | focus: labEnd ((\[34ma[39m -> [32mCons[39m {[47m[32ma[39m[49m}) (fromInt 1) (Cons 1.2 Nil) : [32m'List 'Int[39m)[K | ||
43 | focus: labEnd (\[34ma[39m->[47m[32mCons[39m[49m (fromInt 1) (Cons 1.2 Nil) : [32m'List 'Int[39m)[K | ||
44 | focus: labEnd ((\[34ma[39m -> [47m[32mCons[39m[49m (fromInt 1)) (Cons 1.2 Nil) : [32m'List 'Int[39m)[K | ||
45 | check: labEnd ((\[34ma[39m -> [32mCons[39m ([47mfromInt 1 :: [32ma[39m[49m)) (Cons 1.2 Nil) : [32m'List 'Int[39m)[K | ||
46 | infer: labEnd ((\[34ma[39m -> [32mCons[39m ([47mfromInt[49m 1 : [32ma[39m)) (Cons 1.2 Nil) : [32m'List 'Int[39m)[K | ||
47 | focus: labEnd ((\[34ma[39m -> [32mCons[39m ([47m[32mfromInt[39m[49m 1 : [32ma[39m)) (Cons 1.2 Nil) : [32m'List 'Int[39m)[K | ||
48 | focus: labEnd ((\[34ma[39m -> [32mCons[39m ([47m[32mfromInt[39m[49m 1 : [32ma[39m)) (Cons 1.2 Nil) : [32m'List 'Int[39m)[K | ||
49 | focus: labEnd ((\[34ma[39m -> [32mCons[39m ([47m[32mfromInt[39m[49m {_ : _:'Type} 1 : [32ma[39m)) (Cons 1.2 Nil) : [32m'List 'Int[39m)[K | ||
50 | check: labEnd ((\[34ma[39m -> [32mCons[39m ([32mfromInt[39m {[47m(_ : _:'Type) :: [32mType[39m[49m} 1 : [32ma[39m)) (Cons 1.2 Nil) : [32m'List 'Int[39m)[K | ||
51 | infer: labEnd ((\[34ma[39m -> [32mCons[39m ([32mfromInt[39m {([47m_ : _:'Type[49m) : [32mType[39m} 1 : [32ma[39m)) (Cons 1.2 Nil) : [32m'List 'Int[39m)[K | ||
52 | infer: labEnd ((\[34ma[39m -> [32mCons[39m ([32mfromInt[39m {\([34mb[39m : [47m_:'Type[49m)->b : [32mType[39m} 1 : [32ma[39m)) (Cons 1.2 Nil) : [32m'List 'Int[39m)[K | ||
53 | 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 Nil) : [32m'List 'Int[39m)[K | ||
54 | 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 Nil) : [32m'List 'Int[39m)[K | ||
55 | infer: labEnd ((\[34ma[39m -> [32mCons[39m ([32mfromInt[39m {\([34mc[39m : \[34mb[39m->[47mb[49m)->c : [32mType[39m} 1 : [32ma[39m)) (Cons 1.2 Nil) : [32m'List 'Int[39m)[K | ||
56 | 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 Nil) : [32m'List 'Int[39m)[K | ||
57 | 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 Nil) : [32m'List 'Int[39m)[K | ||
58 | infer: labEnd ((\[34ma[39m -> [32mCons[39m ([32mfromInt[39m {(\[34mb[39m [34mc[39m:[32mb[39m -> [47mc[49m) : [32mType[39m} 1 : [32ma[39m)) (Cons 1.2 Nil) : [32m'List 'Int[39m)[K | ||
59 | 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 Nil) : [32m'List 'Int[39m)[K | ||
60 | 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 Nil) : [32m'List 'Int[39m)[K | ||
61 | 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 Nil) : [32m'List 'Int[39m)[K | ||
62 | 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 Nil) : [32m'List 'Int[39m)[K | ||
63 | 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 Nil) : [32m'List 'Int[39m)[K | ||
64 | focus: labEnd ((\[34ma[39m -> [32mCons[39m ([32mfromInt[39m {\[34mb[39m->[47m[32mb[39m[49m} 1 : [32ma[39m)) (Cons 1.2 Nil) : [32m'List 'Int[39m)[K | ||
65 | focus: labEnd ((\[34ma[39m -> [32mCons[39m ((\[34mb[39m -> [32mfromInt[39m {[47m[32mb[39m[49m}) 1 : [32ma[39m)) (Cons 1.2 Nil) : [32m'List 'Int[39m)[K | ||
66 | focus: labEnd ((\[34ma[39m -> [32mCons[39m ((\[34mb[39m -> [47m[32mfromInt b[39m[49m) 1 : [32ma[39m)) (Cons 1.2 Nil) : [32m'List 'Int[39m)[K | ||
67 | focus: labEnd ((\[34ma[39m -> [32mCons[39m ((\[34mb[39m -> [47m[32mfromInt b[39m[49m 1) : [32ma[39m)) (Cons 1.2 Nil) : [32m'List 'Int[39m)[K | ||
68 | focus: labEnd ((\[34ma[39m -> [32mCons[39m ((\[34mb[39m -> [47m[32mfromInt b[39m[49m {_ : _:'Type} 1) : [32ma[39m)) (Cons 1.2 Nil) : [32m'List 'Int[39m)[K | ||
69 | check: labEnd ((\[34ma[39m -> [32mCons[39m ((\[34mb[39m -> [32mfromInt b[39m {[47m(_ : _:'Type) :: [32m'Num b[39m[49m} 1) : [32ma[39m)) (Cons 1.2 Nil) : [32m'List 'Int[39m)[K | ||
70 | infer: labEnd ((\[34ma[39m -> [32mCons[39m ((\[34mb[39m -> [32mfromInt b[39m {([47m_ : _:'Type[49m) : [32m'Num b[39m} 1) : [32ma[39m)) (Cons 1.2 Nil) : [32m'List 'Int[39m)[K | ||
71 | 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 Nil) : [32m'List 'Int[39m)[K | ||
72 | 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 Nil) : [32m'List 'Int[39m)[K | ||
73 | 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 Nil) : [32m'List 'Int[39m)[K | ||
74 | 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 Nil) : [32m'List 'Int[39m)[K | ||
75 | 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 Nil) : [32m'List 'Int[39m)[K | ||
76 | 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 Nil) : [32m'List 'Int[39m)[K | ||
77 | 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 Nil) : [32m'List 'Int[39m)[K | ||
78 | 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 Nil) : [32m'List 'Int[39m)[K | ||
79 | 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 Nil) : [32m'List 'Int[39m)[K | ||
80 | 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 Nil) : [32m'List 'Int[39m)[K | ||
81 | 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 Nil) : [32m'List 'Int[39m)[K | ||
82 | 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 Nil) : [32m'List 'Int[39m)[K | ||
83 | 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 Nil) : [32m'List 'Int[39m)[K | ||
84 | 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 Nil) : [32m'List 'Int[39m)[K | ||
85 | 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 Nil) : [32m'List 'Int[39m)[K | ||
86 | 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 Nil) : [32m'List 'Int[39m)[K | ||
87 | 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 Nil) : [32m'List 'Int[39m)[K | ||
88 | 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 Nil) : [32m'List 'Int[39m)[K | ||
89 | 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 Nil) : [32m'List 'Int[39m)[K | ||
90 | 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 Nil) : [32m'List 'Int[39m)[K | ||
91 | 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 Nil) : [32m'List 'Int[39m)[K | ||
92 | 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 Nil) : [32m'List 'Int[39m)[K | ||
93 | 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 Nil) : [32m'List 'Int[39m)[K | ||
94 | 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 Nil) : [32m'List 'Int[39m)[K | ||
95 | 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 Nil) : [32m'List 'Int[39m)[K | ||
96 | 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 Nil) : [32m'List 'Int[39m)[K | ||
97 | focus: labEnd ((\[34ma[39m -> [32mCons[39m (\([34mb[39m : [32m'Num a[39m) -> [47m[32mfromInt a b 1[39m[49m)) (Cons 1.2 Nil) : [32m'List 'Int[39m)[K | ||
98 | focus: labEnd ((\[34ma[39m ([34mb[39m : [32m'Num a[39m) -> [32mCons[39m ([47m[32mfromInt a b 1[39m[49m)) (Cons 1.2 Nil) : [32m'List 'Int[39m)[K | ||
99 | focus: labEnd ((\[34ma[39m ([34mb[39m : [32m'Num a[39m) -> [47m[32mCons (fromInt a b 1)[39m[49m) (Cons 1.2 Nil) : [32m'List 'Int[39m)[K | ||
100 | focus: labEnd (\[34ma[39m ([34mb[39m : [32m'Num a[39m) -> [47m[32mCons (fromInt a b 1)[39m[49m (Cons 1.2 Nil) : [32m'List 'Int[39m)[K | ||
101 | focus: labEnd (\[34ma[39m ([34mb[39m : [32m'Num a[39m) -> (\([34mc[39m : [32m'Int~a[39m) -> [47m[32mCons (fromInt a b 1)[39m[49m) (Cons 1.2 Nil))[K | ||
102 | focus: labEnd (\[34ma[39m ([34mb[39m : [32m'Num a[39m) -> (\[34ma[39m:=[32m'Int[39m -> [47m[32mCons 1[39m[49m) (Cons 1.2 Nil))[K | ||
103 | focus: labEnd (\[34ma[39m ([34mb[39m : [32m'Num a[39m) [34ma[39m:=[32m'Int[39m -> [47m[32mCons 1[39m[49m (Cons 1.2 Nil))[K | ||
104 | check: labEnd (\[34ma[39m ([34mb[39m : [32m'Num a[39m) [34ma[39m:=[32m'Int[39m -> [32mCons 1[39m ([47mCons 1.2 Nil :: [32m'List 'Int[39m[49m))[K | ||
105 | infer: labEnd (\[34ma[39m ([34mb[39m : [32m'Num a[39m) [34ma[39m:=[32m'Int[39m -> [32mCons 1[39m ([47mCons 1.2[49m Nil : [32m'List 'Int[39m))[K | ||
106 | infer: labEnd (\[34ma[39m ([34mb[39m : [32m'Num a[39m) [34ma[39m:=[32m'Int[39m -> [32mCons 1[39m ([47mCons[49m 1.2 Nil : [32m'List 'Int[39m))[K | ||
107 | focus: labEnd (\[34ma[39m ([34mb[39m : [32m'Num a[39m) [34ma[39m:=[32m'Int[39m -> [32mCons 1[39m ([47m[32mCons[39m[49m 1.2 Nil : [32m'List 'Int[39m))[K | ||
108 | focus: labEnd (\[34ma[39m ([34mb[39m : [32m'Num a[39m) [34ma[39m:=[32m'Int[39m -> [32mCons 1[39m ([47m[32mCons[39m[49m {_ : _:'Type} 1.2 Nil : [32m'List 'Int[39m))[K | ||
109 | check: labEnd (\[34ma[39m ([34mb[39m : [32m'Num a[39m) [34ma[39m:=[32m'Int[39m -> [32mCons 1[39m ([32mCons[39m {[47m(_ : _:'Type) :: [32mType[39m[49m} 1.2 Nil : [32m'List 'Int[39m))[K | ||
110 | infer: labEnd (\[34ma[39m ([34mb[39m : [32m'Num a[39m) [34ma[39m:=[32m'Int[39m -> [32mCons 1[39m ([32mCons[39m {([47m_ : _:'Type[49m) : [32mType[39m} 1.2 Nil : [32m'List 'Int[39m))[K | ||
111 | infer: labEnd (\[34ma[39m ([34mb[39m : [32m'Num a[39m) [34ma[39m:=[32m'Int[39m -> [32mCons 1[39m ([32mCons[39m {\([34mc[39m : [47m_:'Type[49m)->c : [32mType[39m} 1.2 Nil : [32m'List 'Int[39m))[K | ||
112 | infer: labEnd (\[34ma[39m ([34mb[39m : [32m'Num a[39m) [34ma[39m:=[32m'Int[39m -> [32mCons 1[39m ([32mCons[39m {\([34md[39m : (\[34mc[39m:[47m'Type[49m -> c))->d : [32mType[39m} 1.2 Nil : [32m'List 'Int[39m))[K | ||
113 | focus: labEnd (\[34ma[39m ([34mb[39m : [32m'Num a[39m) [34ma[39m:=[32m'Int[39m -> [32mCons 1[39m ([32mCons[39m {\([34md[39m : (\[34mc[39m:[47m[32mType[39m[49m -> c))->d : [32mType[39m} 1.2 Nil : [32m'List 'Int[39m))[K | ||
114 | infer: labEnd (\[34ma[39m ([34mb[39m : [32m'Num a[39m) [34ma[39m:=[32m'Int[39m -> [32mCons 1[39m ([32mCons[39m {\([34md[39m : \[34mc[39m->[47mc[49m)->d : [32mType[39m} 1.2 Nil : [32m'List 'Int[39m))[K | ||
115 | focus: labEnd (\[34ma[39m ([34mb[39m : [32m'Num a[39m) [34ma[39m:=[32m'Int[39m -> [32mCons 1[39m ([32mCons[39m {\([34md[39m : \[34mc[39m->[47m[32mc[39m[49m)->d : [32mType[39m} 1.2 Nil : [32m'List 'Int[39m))[K | ||
116 | focus: labEnd (\[34ma[39m ([34mb[39m : [32m'Num a[39m) [34ma[39m:=[32m'Int[39m -> [32mCons 1[39m ([32mCons[39m {(\[34mc[39m [34md[39m:[47m[32mc[39m[49m -> d) : [32mType[39m} 1.2 Nil : [32m'List 'Int[39m))[K | ||
117 | infer: labEnd (\[34ma[39m ([34mb[39m : [32m'Num a[39m) [34ma[39m:=[32m'Int[39m -> [32mCons 1[39m ([32mCons[39m {(\[34mc[39m [34md[39m:[32mc[39m -> [47md[49m) : [32mType[39m} 1.2 Nil : [32m'List 'Int[39m))[K | ||
118 | focus: labEnd (\[34ma[39m ([34mb[39m : [32m'Num a[39m) [34ma[39m:=[32m'Int[39m -> [32mCons 1[39m ([32mCons[39m {(\[34mc[39m [34md[39m:[32mc[39m -> [47m[32md[39m[49m) : [32mType[39m} 1.2 Nil : [32m'List 'Int[39m))[K | ||
119 | focus: labEnd (\[34ma[39m ([34mb[39m : [32m'Num a[39m) [34ma[39m:=[32m'Int[39m -> [32mCons 1[39m ([32mCons[39m {\[34mc[39m [34md[39m:[32mc[39m -> [47m[32md[39m[49m:[32mType[39m} 1.2 Nil : [32m'List 'Int[39m))[K | ||
120 | focus: labEnd (\[34ma[39m ([34mb[39m : [32m'Num a[39m) [34ma[39m:=[32m'Int[39m -> [32mCons 1[39m ([32mCons[39m {\[34mc[39m [34md[39m:[32mc[39m -> \([34me[39m : [32mType~c[39m)->[47m[32md[39m[49m} 1.2 Nil : [32m'List 'Int[39m))[K | ||
121 | focus: labEnd (\[34ma[39m ([34mb[39m : [32m'Num a[39m) [34ma[39m:=[32m'Int[39m -> [32mCons 1[39m ([32mCons[39m {\[34mc[39m [34md[39m:[32mc[39m [34mc[39m:=[32mType[39m -> [47m[32md[39m[49m} 1.2 Nil : [32m'List 'Int[39m))[K | ||
122 | focus: labEnd (\[34ma[39m ([34mb[39m : [32m'Num a[39m) [34ma[39m:=[32m'Int[39m -> [32mCons 1[39m ([32mCons[39m {\[34mc[39m [34mc[39m:=[32mType[39m -> \[34md[39m->[47m[32md[39m[49m} 1.2 Nil : [32m'List 'Int[39m))[K | ||
123 | focus: labEnd (\[34ma[39m ([34mb[39m : [32m'Num a[39m) [34ma[39m:=[32m'Int[39m -> [32mCons 1[39m ([32mCons[39m {\[34mc[39m->[47m[32mc[39m[49m} 1.2 Nil : [32m'List 'Int[39m))[K | ||
124 | focus: labEnd (\[34ma[39m ([34mb[39m : [32m'Num a[39m) [34ma[39m:=[32m'Int[39m -> [32mCons 1[39m ((\[34mc[39m -> [32mCons[39m {[47m[32mc[39m[49m}) 1.2 Nil : [32m'List 'Int[39m))[K | ||
125 | focus: labEnd (\[34ma[39m ([34mb[39m : [32m'Num a[39m) [34ma[39m:=[32m'Int[39m -> [32mCons 1[39m (\[34mc[39m->[47m[32mCons[39m[49m 1.2 Nil : [32m'List 'Int[39m))[K | ||
126 | focus: labEnd (\[34ma[39m ([34mb[39m : [32m'Num a[39m) [34ma[39m:=[32m'Int[39m -> [32mCons 1[39m ((\[34mc[39m -> [47m[32mCons[39m[49m 1.2) Nil : [32m'List 'Int[39m))[K | ||
127 | check: labEnd (\[34ma[39m ([34mb[39m : [32m'Num a[39m) [34ma[39m:=[32m'Int[39m -> [32mCons 1[39m ((\[34mc[39m -> [32mCons[39m [47m1.2::[32mc[39m[49m) Nil : [32m'List 'Int[39m))[K | ||
128 | infer: labEnd (\[34ma[39m ([34mb[39m : [32m'Num a[39m) [34ma[39m:=[32m'Int[39m -> [32mCons 1[39m ((\[34mc[39m -> [32mCons[39m [47m1.2[49m:[32mc[39m) Nil : [32m'List 'Int[39m))[K | ||
129 | focus: labEnd (\[34ma[39m ([34mb[39m : [32m'Num a[39m) [34ma[39m:=[32m'Int[39m -> [32mCons 1[39m ((\[34mc[39m -> [32mCons[39m [47m[32m1.2[39m[49m:[32mc[39m) Nil : [32m'List 'Int[39m))[K | ||
130 | focus: labEnd (\[34ma[39m ([34mb[39m : [32m'Num a[39m) [34ma[39m:=[32m'Int[39m -> [32mCons 1[39m ((\[34mc[39m -> [32mCons[39m \([34md[39m : [32mc~'Float[39m)->[47m[32m1.2[39m[49m) Nil : [32m'List 'Int[39m))[K | ||
131 | focus: labEnd (\[34ma[39m ([34mb[39m : [32m'Num a[39m) [34ma[39m:=[32m'Int[39m -> [32mCons 1[39m ((\[34mc[39m -> [32mCons[39m (\[34mc[39m:=[32m'Float[39m -> [47m[32m1.2[39m[49m)) Nil : [32m'List 'Int[39m))[K | ||
132 | focus: labEnd (\[34ma[39m ([34mb[39m : [32m'Num a[39m) [34ma[39m:=[32m'Int[39m -> [32mCons 1[39m ((\[34mc[39m [34mc[39m:=[32m'Float[39m -> [32mCons[39m [47m[32m1.2[39m[49m) Nil : [32m'List 'Int[39m))[K | ||
133 | focus: labEnd (\[34ma[39m ([34mb[39m : [32m'Num a[39m) [34ma[39m:=[32m'Int[39m -> [32mCons 1[39m ((\[34mc[39m [34mc[39m:=[32m'Float[39m -> [47m[32mCons 1.2[39m[49m) Nil : [32m'List 'Int[39m))[K | ||
134 | focus: labEnd (\[34ma[39m ([34mb[39m : [32m'Num a[39m) [34ma[39m:=[32m'Int[39m -> [32mCons 1[39m ([47m[32mCons 1.2[39m[49m Nil : [32m'List 'Int[39m))[K | ||
135 | focus: labEnd (\[34ma[39m ([34mb[39m : [32m'Num a[39m) [34ma[39m:=[32m'Int[39m -> [32mCons 1[39m ((\([34mc[39m : [32m'Empty "can not unify\n\ESC[32m'Int\ESC[m\nwith\n\ESC[32m'Float\ESC[m\n"[39m) -> [47m[32mCons 1.2[39m[49m) Nil))[K | ||
136 | !type error: can not unify | ||
137 | [32m'Int[m | ||
138 | with | ||
139 | [32m'Float[m | ||
140 | |||
141 | in builtin Nil | ||
142 | |||
143 | ------------ tooltips | ||
144 | testdata/language-features/basic-list/list10.reject.lc 1:10-1:11 V1 | ||
145 | testdata/language-features/basic-list/list10.reject.lc 1:12-1:15 Float | ||
146 | testdata/language-features/basic-list/list10.reject.lc 1:20-1:25 Type | ||
147 | testdata/language-features/basic-list/list10.reject.lc 1:21-1:24 Type | ||
diff --git a/testdata/language-features/basic-list/list11.out b/testdata/language-features/basic-list/list11.out index a9ddb798..f447dd7c 100644 --- a/testdata/language-features/basic-list/list11.out +++ b/testdata/language-features/basic-list/list11.out | |||
@@ -1,4 +1,6 @@ | |||
1 | main is not found | 1 | main is not found |
2 | ------------ trace | ||
3 | value :: [32m{a} -> {b : 'Num a} -> 'List a[39m[K | ||
2 | ------------ tooltips | 4 | ------------ tooltips |
3 | testdata/language-features/basic-list/list11.lc 1:1-1:6 {a} -> {b : Num a} -> List a | 5 | testdata/language-features/basic-list/list11.lc 1:1-1:6 {a} -> {b : Num a} -> List a |
4 | testdata/language-features/basic-list/list11.lc 1:9-1:10 V1 | 6 | testdata/language-features/basic-list/list11.lc 1:9-1:10 V1 |
diff --git a/testdata/language-features/basic-list/list12.out b/testdata/language-features/basic-list/list12.out index 840ebd6a..fb253041 100644 --- a/testdata/language-features/basic-list/list12.out +++ b/testdata/language-features/basic-list/list12.out | |||
@@ -1,4 +1,6 @@ | |||
1 | main is not found | 1 | main is not found |
2 | ------------ trace | ||
3 | value :: [32m{a} -> {b : 'Num a} -> 'List a[39m[K | ||
2 | ------------ tooltips | 4 | ------------ tooltips |
3 | testdata/language-features/basic-list/list12.lc 1:1-1:6 {a} -> {b : Num a} -> List a | 5 | testdata/language-features/basic-list/list12.lc 1:1-1:6 {a} -> {b : Num a} -> List a |
4 | testdata/language-features/basic-list/list12.lc 1:9-1:10 V1 | 6 | testdata/language-features/basic-list/list12.lc 1:9-1:10 V1 |
diff --git a/testdata/language-features/basic-list/list13.out b/testdata/language-features/basic-list/list13.out index cc92303b..b3a4a01b 100644 --- a/testdata/language-features/basic-list/list13.out +++ b/testdata/language-features/basic-list/list13.out | |||
@@ -1,4 +1,6 @@ | |||
1 | main is not found | 1 | main is not found |
2 | ------------ trace | ||
3 | value :: [32m'List 'Char[39m[K | ||
2 | ------------ tooltips | 4 | ------------ tooltips |
3 | testdata/language-features/basic-list/list13.lc 1:1-1:6 List Char | 5 | testdata/language-features/basic-list/list13.lc 1:1-1:6 List Char |
4 | testdata/language-features/basic-list/list13.lc 1:9-1:12 Char | 6 | testdata/language-features/basic-list/list13.lc 1:9-1:12 Char |
diff --git a/testdata/language-features/basic-list/list14.reject.out b/testdata/language-features/basic-list/list14.reject.out index befa6180..85d77268 100644 --- a/testdata/language-features/basic-list/list14.reject.out +++ b/testdata/language-features/basic-list/list14.reject.out | |||
@@ -6,3 +6,89 @@ with | |||
6 | in testdata/language-features/basic-list/list14.reject.lc:1:17: | 6 | in testdata/language-features/basic-list/list14.reject.lc:1:17: |
7 | value = 'h':'i':() | 7 | value = 'h':'i':() |
8 | ^^ | 8 | ^^ |
9 | |||
10 | ------------ trace | ||
11 | infer: [47mlabelend (Cons 'h' (Cons 'i' Tuple0))[49m[K | ||
12 | infer: labEnd ([47mCons 'h' (Cons 'i' Tuple0)[49m)[K | ||
13 | infer: labEnd ([47mCons 'h'[49m (Cons 'i' Tuple0))[K | ||
14 | infer: labEnd ([47mCons[49m 'h' (Cons 'i' Tuple0))[K | ||
15 | focus: labEnd ([47m[32mCons[39m[49m 'h' (Cons 'i' Tuple0))[K | ||
16 | focus: labEnd ([47m[32mCons[39m[49m {_ : _:'Type} 'h' (Cons 'i' Tuple0))[K | ||
17 | check: labEnd ([32mCons[39m {[47m(_ : _:'Type) :: [32mType[39m[49m} 'h' (Cons 'i' Tuple0))[K | ||
18 | infer: labEnd ([32mCons[39m {([47m_ : _:'Type[49m) : [32mType[39m} 'h' (Cons 'i' Tuple0))[K | ||
19 | infer: labEnd ([32mCons[39m {\([34ma[39m : [47m_:'Type[49m)->a : [32mType[39m} 'h' (Cons 'i' Tuple0))[K | ||
20 | infer: labEnd ([32mCons[39m {\([34mb[39m : (\[34ma[39m:[47m'Type[49m -> a))->b : [32mType[39m} 'h' (Cons 'i' Tuple0))[K | ||
21 | focus: labEnd ([32mCons[39m {\([34mb[39m : (\[34ma[39m:[47m[32mType[39m[49m -> a))->b : [32mType[39m} 'h' (Cons 'i' Tuple0))[K | ||
22 | infer: labEnd ([32mCons[39m {\([34mb[39m : \[34ma[39m->[47ma[49m)->b : [32mType[39m} 'h' (Cons 'i' Tuple0))[K | ||
23 | focus: labEnd ([32mCons[39m {\([34mb[39m : \[34ma[39m->[47m[32ma[39m[49m)->b : [32mType[39m} 'h' (Cons 'i' Tuple0))[K | ||
24 | focus: labEnd ([32mCons[39m {(\[34ma[39m [34mb[39m:[47m[32ma[39m[49m -> b) : [32mType[39m} 'h' (Cons 'i' Tuple0))[K | ||
25 | infer: labEnd ([32mCons[39m {(\[34ma[39m [34mb[39m:[32ma[39m -> [47mb[49m) : [32mType[39m} 'h' (Cons 'i' Tuple0))[K | ||
26 | focus: labEnd ([32mCons[39m {(\[34ma[39m [34mb[39m:[32ma[39m -> [47m[32mb[39m[49m) : [32mType[39m} 'h' (Cons 'i' Tuple0))[K | ||
27 | focus: labEnd ([32mCons[39m {\[34ma[39m [34mb[39m:[32ma[39m -> [47m[32mb[39m[49m:[32mType[39m} 'h' (Cons 'i' Tuple0))[K | ||
28 | focus: labEnd ([32mCons[39m {\[34ma[39m [34mb[39m:[32ma[39m -> \([34mc[39m : [32mType~a[39m)->[47m[32mb[39m[49m} 'h' (Cons 'i' Tuple0))[K | ||
29 | focus: labEnd ([32mCons[39m {\[34ma[39m [34mb[39m:[32ma[39m [34ma[39m:=[32mType[39m -> [47m[32mb[39m[49m} 'h' (Cons 'i' Tuple0))[K | ||
30 | focus: labEnd ([32mCons[39m {\[34ma[39m [34ma[39m:=[32mType[39m -> \[34mb[39m->[47m[32mb[39m[49m} 'h' (Cons 'i' Tuple0))[K | ||
31 | focus: labEnd ([32mCons[39m {\[34ma[39m->[47m[32ma[39m[49m} 'h' (Cons 'i' Tuple0))[K | ||
32 | focus: labEnd ((\[34ma[39m -> [32mCons[39m {[47m[32ma[39m[49m}) 'h' (Cons 'i' Tuple0))[K | ||
33 | focus: labEnd (\[34ma[39m->[47m[32mCons[39m[49m 'h' (Cons 'i' Tuple0))[K | ||
34 | focus: labEnd ((\[34ma[39m -> [47m[32mCons[39m[49m 'h') (Cons 'i' Tuple0))[K | ||
35 | check: labEnd ((\[34ma[39m -> [32mCons[39m [47m'h'::[32ma[39m[49m) (Cons 'i' Tuple0))[K | ||
36 | infer: labEnd ((\[34ma[39m -> [32mCons[39m [47m'h'[49m:[32ma[39m) (Cons 'i' Tuple0))[K | ||
37 | focus: labEnd ((\[34ma[39m -> [32mCons[39m [47m[32m'h'[39m[49m:[32ma[39m) (Cons 'i' Tuple0))[K | ||
38 | focus: labEnd ((\[34ma[39m -> [32mCons[39m \([34mb[39m : [32ma~'Char[39m)->[47m[32m'h'[39m[49m) (Cons 'i' Tuple0))[K | ||
39 | focus: labEnd ((\[34ma[39m -> [32mCons[39m (\[34ma[39m:=[32m'Char[39m -> [47m[32m'h'[39m[49m)) (Cons 'i' Tuple0))[K | ||
40 | focus: labEnd ((\[34ma[39m [34ma[39m:=[32m'Char[39m -> [32mCons[39m [47m[32m'h'[39m[49m) (Cons 'i' Tuple0))[K | ||
41 | focus: labEnd ((\[34ma[39m [34ma[39m:=[32m'Char[39m -> [47m[32mCons 'h'[39m[49m) (Cons 'i' Tuple0))[K | ||
42 | focus: labEnd ([47m[32mCons 'h'[39m[49m (Cons 'i' Tuple0))[K | ||
43 | check: labEnd ([32mCons 'h'[39m ([47mCons 'i' Tuple0 :: [32m'List 'Char[39m[49m))[K | ||
44 | infer: labEnd ([32mCons 'h'[39m ([47mCons 'i'[49m Tuple0 : [32m'List 'Char[39m))[K | ||
45 | infer: labEnd ([32mCons 'h'[39m ([47mCons[49m 'i' Tuple0 : [32m'List 'Char[39m))[K | ||
46 | focus: labEnd ([32mCons 'h'[39m ([47m[32mCons[39m[49m 'i' Tuple0 : [32m'List 'Char[39m))[K | ||
47 | focus: labEnd ([32mCons 'h'[39m ([47m[32mCons[39m[49m {_ : _:'Type} 'i' Tuple0 : [32m'List 'Char[39m))[K | ||
48 | check: labEnd ([32mCons 'h'[39m ([32mCons[39m {[47m(_ : _:'Type) :: [32mType[39m[49m} 'i' Tuple0 : [32m'List 'Char[39m))[K | ||
49 | infer: labEnd ([32mCons 'h'[39m ([32mCons[39m {([47m_ : _:'Type[49m) : [32mType[39m} 'i' Tuple0 : [32m'List 'Char[39m))[K | ||
50 | infer: labEnd ([32mCons 'h'[39m ([32mCons[39m {\([34ma[39m : [47m_:'Type[49m)->a : [32mType[39m} 'i' Tuple0 : [32m'List 'Char[39m))[K | ||
51 | infer: labEnd ([32mCons 'h'[39m ([32mCons[39m {\([34mb[39m : (\[34ma[39m:[47m'Type[49m -> a))->b : [32mType[39m} 'i' Tuple0 : [32m'List 'Char[39m))[K | ||
52 | focus: labEnd ([32mCons 'h'[39m ([32mCons[39m {\([34mb[39m : (\[34ma[39m:[47m[32mType[39m[49m -> a))->b : [32mType[39m} 'i' Tuple0 : [32m'List 'Char[39m))[K | ||
53 | infer: labEnd ([32mCons 'h'[39m ([32mCons[39m {\([34mb[39m : \[34ma[39m->[47ma[49m)->b : [32mType[39m} 'i' Tuple0 : [32m'List 'Char[39m))[K | ||
54 | focus: labEnd ([32mCons 'h'[39m ([32mCons[39m {\([34mb[39m : \[34ma[39m->[47m[32ma[39m[49m)->b : [32mType[39m} 'i' Tuple0 : [32m'List 'Char[39m))[K | ||
55 | focus: labEnd ([32mCons 'h'[39m ([32mCons[39m {(\[34ma[39m [34mb[39m:[47m[32ma[39m[49m -> b) : [32mType[39m} 'i' Tuple0 : [32m'List 'Char[39m))[K | ||
56 | infer: labEnd ([32mCons 'h'[39m ([32mCons[39m {(\[34ma[39m [34mb[39m:[32ma[39m -> [47mb[49m) : [32mType[39m} 'i' Tuple0 : [32m'List 'Char[39m))[K | ||
57 | focus: labEnd ([32mCons 'h'[39m ([32mCons[39m {(\[34ma[39m [34mb[39m:[32ma[39m -> [47m[32mb[39m[49m) : [32mType[39m} 'i' Tuple0 : [32m'List 'Char[39m))[K | ||
58 | focus: labEnd ([32mCons 'h'[39m ([32mCons[39m {\[34ma[39m [34mb[39m:[32ma[39m -> [47m[32mb[39m[49m:[32mType[39m} 'i' Tuple0 : [32m'List 'Char[39m))[K | ||
59 | focus: labEnd ([32mCons 'h'[39m ([32mCons[39m {\[34ma[39m [34mb[39m:[32ma[39m -> \([34mc[39m : [32mType~a[39m)->[47m[32mb[39m[49m} 'i' Tuple0 : [32m'List 'Char[39m))[K | ||
60 | focus: labEnd ([32mCons 'h'[39m ([32mCons[39m {\[34ma[39m [34mb[39m:[32ma[39m [34ma[39m:=[32mType[39m -> [47m[32mb[39m[49m} 'i' Tuple0 : [32m'List 'Char[39m))[K | ||
61 | focus: labEnd ([32mCons 'h'[39m ([32mCons[39m {\[34ma[39m [34ma[39m:=[32mType[39m -> \[34mb[39m->[47m[32mb[39m[49m} 'i' Tuple0 : [32m'List 'Char[39m))[K | ||
62 | focus: labEnd ([32mCons 'h'[39m ([32mCons[39m {\[34ma[39m->[47m[32ma[39m[49m} 'i' Tuple0 : [32m'List 'Char[39m))[K | ||
63 | focus: labEnd ([32mCons 'h'[39m ((\[34ma[39m -> [32mCons[39m {[47m[32ma[39m[49m}) 'i' Tuple0 : [32m'List 'Char[39m))[K | ||
64 | focus: labEnd ([32mCons 'h'[39m (\[34ma[39m->[47m[32mCons[39m[49m 'i' Tuple0 : [32m'List 'Char[39m))[K | ||
65 | focus: labEnd ([32mCons 'h'[39m ((\[34ma[39m -> [47m[32mCons[39m[49m 'i') Tuple0 : [32m'List 'Char[39m))[K | ||
66 | check: labEnd ([32mCons 'h'[39m ((\[34ma[39m -> [32mCons[39m [47m'i'::[32ma[39m[49m) Tuple0 : [32m'List 'Char[39m))[K | ||
67 | infer: labEnd ([32mCons 'h'[39m ((\[34ma[39m -> [32mCons[39m [47m'i'[49m:[32ma[39m) Tuple0 : [32m'List 'Char[39m))[K | ||
68 | focus: labEnd ([32mCons 'h'[39m ((\[34ma[39m -> [32mCons[39m [47m[32m'i'[39m[49m:[32ma[39m) Tuple0 : [32m'List 'Char[39m))[K | ||
69 | focus: labEnd ([32mCons 'h'[39m ((\[34ma[39m -> [32mCons[39m \([34mb[39m : [32ma~'Char[39m)->[47m[32m'i'[39m[49m) Tuple0 : [32m'List 'Char[39m))[K | ||
70 | focus: labEnd ([32mCons 'h'[39m ((\[34ma[39m -> [32mCons[39m (\[34ma[39m:=[32m'Char[39m -> [47m[32m'i'[39m[49m)) Tuple0 : [32m'List 'Char[39m))[K | ||
71 | focus: labEnd ([32mCons 'h'[39m ((\[34ma[39m [34ma[39m:=[32m'Char[39m -> [32mCons[39m [47m[32m'i'[39m[49m) Tuple0 : [32m'List 'Char[39m))[K | ||
72 | focus: labEnd ([32mCons 'h'[39m ((\[34ma[39m [34ma[39m:=[32m'Char[39m -> [47m[32mCons 'i'[39m[49m) Tuple0 : [32m'List 'Char[39m))[K | ||
73 | focus: labEnd ([32mCons 'h'[39m ([47m[32mCons 'i'[39m[49m Tuple0 : [32m'List 'Char[39m))[K | ||
74 | focus: labEnd ([32mCons 'h'[39m ((\[34ma[39m:[32m'Unit[39m -> [47m[32mCons 'i'[39m[49m) Tuple0))[K | ||
75 | focus: labEnd ([32mCons 'h'[39m ([47m[32mCons 'i'[39m[49m Tuple0))[K | ||
76 | check: labEnd ([32mCons 'h'[39m ([32mCons 'i'[39m ([47mTuple0 :: [32m'List 'Char[39m[49m)))[K | ||
77 | infer: labEnd ([32mCons 'h'[39m ([32mCons 'i'[39m ([47mTuple0[49m : [32m'List 'Char[39m)))[K | ||
78 | focus: labEnd ([32mCons 'h'[39m ([32mCons 'i'[39m ([47m[32mTuple0[39m[49m : [32m'List 'Char[39m)))[K | ||
79 | focus: labEnd ([32mCons 'h'[39m ([32mCons 'i'[39m \([34ma[39m : [32m'Empty "can not unify\n\ESC[32m'List 'Char\ESC[m\nwith\n\ESC[32m'Tuple0\ESC[m\n"[39m)->[47m[32mTuple0[39m[49m))[K | ||
80 | !type error: can not unify | ||
81 | [32m'List 'Char[m | ||
82 | with | ||
83 | [32m'Tuple0[m | ||
84 | |||
85 | in testdata/language-features/basic-list/list14.reject.lc:1:17 | ||
86 | |||
87 | ------------ tooltips | ||
88 | testdata/language-features/basic-list/list14.reject.lc 1:9-1:12 Char | ||
89 | testdata/language-features/basic-list/list14.reject.lc 1:9-1:13 List Char -> List Char | ||
90 | testdata/language-features/basic-list/list14.reject.lc 1:12-1:13 {a} -> a -> List a -> List a | ||
91 | testdata/language-features/basic-list/list14.reject.lc 1:13-1:16 Char | ||
92 | testdata/language-features/basic-list/list14.reject.lc 1:13-1:17 List Char -> List Char | ||
93 | testdata/language-features/basic-list/list14.reject.lc 1:16-1:17 {a} -> a -> List a -> List a | ||
94 | testdata/language-features/basic-list/list14.reject.lc 1:17-1:19 Tuple0 | ||
diff --git a/testdata/language-features/basic-list/list15.reject.out b/testdata/language-features/basic-list/list15.reject.out index 7491f8e8..518ab256 100644 --- a/testdata/language-features/basic-list/list15.reject.out +++ b/testdata/language-features/basic-list/list15.reject.out | |||
@@ -6,3 +6,119 @@ with | |||
6 | in testdata/language-features/basic-list/list15.reject.lc:1:20: | 6 | in testdata/language-features/basic-list/list15.reject.lc:1:20: |
7 | value = 'h':'i':():[] | 7 | value = 'h':'i':():[] |
8 | ^^ | 8 | ^^ |
9 | |||
10 | ------------ trace | ||
11 | infer: [47mlabelend (Cons 'h' (Cons 'i' (Cons Tuple0 Nil)))[49m[K | ||
12 | infer: labEnd ([47mCons 'h' (Cons 'i' (Cons Tuple0 Nil))[49m)[K | ||
13 | infer: labEnd ([47mCons 'h'[49m (Cons 'i' (Cons Tuple0 Nil)))[K | ||
14 | infer: labEnd ([47mCons[49m 'h' (Cons 'i' (Cons Tuple0 Nil)))[K | ||
15 | focus: labEnd ([47m[32mCons[39m[49m 'h' (Cons 'i' (Cons Tuple0 Nil)))[K | ||
16 | focus: labEnd ([47m[32mCons[39m[49m {_ : _:'Type} 'h' (Cons 'i' (Cons Tuple0 Nil)))[K | ||
17 | check: labEnd ([32mCons[39m {[47m(_ : _:'Type) :: [32mType[39m[49m} 'h' (Cons 'i' (Cons Tuple0 Nil)))[K | ||
18 | infer: labEnd ([32mCons[39m {([47m_ : _:'Type[49m) : [32mType[39m} 'h' (Cons 'i' (Cons Tuple0 Nil)))[K | ||
19 | infer: labEnd ([32mCons[39m {\([34ma[39m : [47m_:'Type[49m)->a : [32mType[39m} 'h' (Cons 'i' (Cons Tuple0 Nil)))[K | ||
20 | infer: labEnd ([32mCons[39m {\([34mb[39m : (\[34ma[39m:[47m'Type[49m -> a))->b : [32mType[39m} 'h' (Cons 'i' (Cons Tuple0 Nil)))[K | ||
21 | focus: labEnd ([32mCons[39m {\([34mb[39m : (\[34ma[39m:[47m[32mType[39m[49m -> a))->b : [32mType[39m} 'h' (Cons 'i' (Cons Tuple0 Nil)))[K | ||
22 | infer: labEnd ([32mCons[39m {\([34mb[39m : \[34ma[39m->[47ma[49m)->b : [32mType[39m} 'h' (Cons 'i' (Cons Tuple0 Nil)))[K | ||
23 | focus: labEnd ([32mCons[39m {\([34mb[39m : \[34ma[39m->[47m[32ma[39m[49m)->b : [32mType[39m} 'h' (Cons 'i' (Cons Tuple0 Nil)))[K | ||
24 | focus: labEnd ([32mCons[39m {(\[34ma[39m [34mb[39m:[47m[32ma[39m[49m -> b) : [32mType[39m} 'h' (Cons 'i' (Cons Tuple0 Nil)))[K | ||
25 | infer: labEnd ([32mCons[39m {(\[34ma[39m [34mb[39m:[32ma[39m -> [47mb[49m) : [32mType[39m} 'h' (Cons 'i' (Cons Tuple0 Nil)))[K | ||
26 | focus: labEnd ([32mCons[39m {(\[34ma[39m [34mb[39m:[32ma[39m -> [47m[32mb[39m[49m) : [32mType[39m} 'h' (Cons 'i' (Cons Tuple0 Nil)))[K | ||
27 | focus: labEnd ([32mCons[39m {\[34ma[39m [34mb[39m:[32ma[39m -> [47m[32mb[39m[49m:[32mType[39m} 'h' (Cons 'i' (Cons Tuple0 Nil)))[K | ||
28 | focus: labEnd ([32mCons[39m {\[34ma[39m [34mb[39m:[32ma[39m -> \([34mc[39m : [32mType~a[39m)->[47m[32mb[39m[49m} 'h' (Cons 'i' (Cons Tuple0 Nil)))[K | ||
29 | focus: labEnd ([32mCons[39m {\[34ma[39m [34mb[39m:[32ma[39m [34ma[39m:=[32mType[39m -> [47m[32mb[39m[49m} 'h' (Cons 'i' (Cons Tuple0 Nil)))[K | ||
30 | focus: labEnd ([32mCons[39m {\[34ma[39m [34ma[39m:=[32mType[39m -> \[34mb[39m->[47m[32mb[39m[49m} 'h' (Cons 'i' (Cons Tuple0 Nil)))[K | ||
31 | focus: labEnd ([32mCons[39m {\[34ma[39m->[47m[32ma[39m[49m} 'h' (Cons 'i' (Cons Tuple0 Nil)))[K | ||
32 | focus: labEnd ((\[34ma[39m -> [32mCons[39m {[47m[32ma[39m[49m}) 'h' (Cons 'i' (Cons Tuple0 Nil)))[K | ||
33 | focus: labEnd (\[34ma[39m->[47m[32mCons[39m[49m 'h' (Cons 'i' (Cons Tuple0 Nil)))[K | ||
34 | focus: labEnd ((\[34ma[39m -> [47m[32mCons[39m[49m 'h') (Cons 'i' (Cons Tuple0 Nil)))[K | ||
35 | check: labEnd ((\[34ma[39m -> [32mCons[39m [47m'h'::[32ma[39m[49m) (Cons 'i' (Cons Tuple0 Nil)))[K | ||
36 | infer: labEnd ((\[34ma[39m -> [32mCons[39m [47m'h'[49m:[32ma[39m) (Cons 'i' (Cons Tuple0 Nil)))[K | ||
37 | focus: labEnd ((\[34ma[39m -> [32mCons[39m [47m[32m'h'[39m[49m:[32ma[39m) (Cons 'i' (Cons Tuple0 Nil)))[K | ||
38 | focus: labEnd ((\[34ma[39m -> [32mCons[39m \([34mb[39m : [32ma~'Char[39m)->[47m[32m'h'[39m[49m) (Cons 'i' (Cons Tuple0 Nil)))[K | ||
39 | focus: labEnd ((\[34ma[39m -> [32mCons[39m (\[34ma[39m:=[32m'Char[39m -> [47m[32m'h'[39m[49m)) (Cons 'i' (Cons Tuple0 Nil)))[K | ||
40 | focus: labEnd ((\[34ma[39m [34ma[39m:=[32m'Char[39m -> [32mCons[39m [47m[32m'h'[39m[49m) (Cons 'i' (Cons Tuple0 Nil)))[K | ||
41 | focus: labEnd ((\[34ma[39m [34ma[39m:=[32m'Char[39m -> [47m[32mCons 'h'[39m[49m) (Cons 'i' (Cons Tuple0 Nil)))[K | ||
42 | focus: labEnd ([47m[32mCons 'h'[39m[49m (Cons 'i' (Cons Tuple0 Nil)))[K | ||
43 | check: labEnd ([32mCons 'h'[39m ([47mCons 'i' (Cons Tuple0 Nil) :: [32m'List 'Char[39m[49m))[K | ||
44 | infer: labEnd ([32mCons 'h'[39m ([47mCons 'i'[49m (Cons Tuple0 Nil) : [32m'List 'Char[39m))[K | ||
45 | infer: labEnd ([32mCons 'h'[39m ([47mCons[49m 'i' (Cons Tuple0 Nil) : [32m'List 'Char[39m))[K | ||
46 | focus: labEnd ([32mCons 'h'[39m ([47m[32mCons[39m[49m 'i' (Cons Tuple0 Nil) : [32m'List 'Char[39m))[K | ||
47 | focus: labEnd ([32mCons 'h'[39m ([47m[32mCons[39m[49m {_ : _:'Type} 'i' (Cons Tuple0 Nil) : [32m'List 'Char[39m))[K | ||
48 | check: labEnd ([32mCons 'h'[39m ([32mCons[39m {[47m(_ : _:'Type) :: [32mType[39m[49m} 'i' (Cons Tuple0 Nil) : [32m'List 'Char[39m))[K | ||
49 | infer: labEnd ([32mCons 'h'[39m ([32mCons[39m {([47m_ : _:'Type[49m) : [32mType[39m} 'i' (Cons Tuple0 Nil) : [32m'List 'Char[39m))[K | ||
50 | infer: labEnd ([32mCons 'h'[39m ([32mCons[39m {\([34ma[39m : [47m_:'Type[49m)->a : [32mType[39m} 'i' (Cons Tuple0 Nil) : [32m'List 'Char[39m))[K | ||
51 | infer: labEnd ([32mCons 'h'[39m ([32mCons[39m {\([34mb[39m : (\[34ma[39m:[47m'Type[49m -> a))->b : [32mType[39m} 'i' (Cons Tuple0 Nil) : [32m'List 'Char[39m))[K | ||
52 | focus: labEnd ([32mCons 'h'[39m ([32mCons[39m {\([34mb[39m : (\[34ma[39m:[47m[32mType[39m[49m -> a))->b : [32mType[39m} 'i' (Cons Tuple0 Nil) : [32m'List 'Char[39m))[K | ||
53 | infer: labEnd ([32mCons 'h'[39m ([32mCons[39m {\([34mb[39m : \[34ma[39m->[47ma[49m)->b : [32mType[39m} 'i' (Cons Tuple0 Nil) : [32m'List 'Char[39m))[K | ||
54 | focus: labEnd ([32mCons 'h'[39m ([32mCons[39m {\([34mb[39m : \[34ma[39m->[47m[32ma[39m[49m)->b : [32mType[39m} 'i' (Cons Tuple0 Nil) : [32m'List 'Char[39m))[K | ||
55 | focus: labEnd ([32mCons 'h'[39m ([32mCons[39m {(\[34ma[39m [34mb[39m:[47m[32ma[39m[49m -> b) : [32mType[39m} 'i' (Cons Tuple0 Nil) : [32m'List 'Char[39m))[K | ||
56 | infer: labEnd ([32mCons 'h'[39m ([32mCons[39m {(\[34ma[39m [34mb[39m:[32ma[39m -> [47mb[49m) : [32mType[39m} 'i' (Cons Tuple0 Nil) : [32m'List 'Char[39m))[K | ||
57 | focus: labEnd ([32mCons 'h'[39m ([32mCons[39m {(\[34ma[39m [34mb[39m:[32ma[39m -> [47m[32mb[39m[49m) : [32mType[39m} 'i' (Cons Tuple0 Nil) : [32m'List 'Char[39m))[K | ||
58 | focus: labEnd ([32mCons 'h'[39m ([32mCons[39m {\[34ma[39m [34mb[39m:[32ma[39m -> [47m[32mb[39m[49m:[32mType[39m} 'i' (Cons Tuple0 Nil) : [32m'List 'Char[39m))[K | ||
59 | focus: labEnd ([32mCons 'h'[39m ([32mCons[39m {\[34ma[39m [34mb[39m:[32ma[39m -> \([34mc[39m : [32mType~a[39m)->[47m[32mb[39m[49m} 'i' (Cons Tuple0 Nil) : [32m'List 'Char[39m))[K | ||
60 | focus: labEnd ([32mCons 'h'[39m ([32mCons[39m {\[34ma[39m [34mb[39m:[32ma[39m [34ma[39m:=[32mType[39m -> [47m[32mb[39m[49m} 'i' (Cons Tuple0 Nil) : [32m'List 'Char[39m))[K | ||
61 | focus: labEnd ([32mCons 'h'[39m ([32mCons[39m {\[34ma[39m [34ma[39m:=[32mType[39m -> \[34mb[39m->[47m[32mb[39m[49m} 'i' (Cons Tuple0 Nil) : [32m'List 'Char[39m))[K | ||
62 | focus: labEnd ([32mCons 'h'[39m ([32mCons[39m {\[34ma[39m->[47m[32ma[39m[49m} 'i' (Cons Tuple0 Nil) : [32m'List 'Char[39m))[K | ||
63 | focus: labEnd ([32mCons 'h'[39m ((\[34ma[39m -> [32mCons[39m {[47m[32ma[39m[49m}) 'i' (Cons Tuple0 Nil) : [32m'List 'Char[39m))[K | ||
64 | focus: labEnd ([32mCons 'h'[39m (\[34ma[39m->[47m[32mCons[39m[49m 'i' (Cons Tuple0 Nil) : [32m'List 'Char[39m))[K | ||
65 | focus: labEnd ([32mCons 'h'[39m ((\[34ma[39m -> [47m[32mCons[39m[49m 'i') (Cons Tuple0 Nil) : [32m'List 'Char[39m))[K | ||
66 | check: labEnd ([32mCons 'h'[39m ((\[34ma[39m -> [32mCons[39m [47m'i'::[32ma[39m[49m) (Cons Tuple0 Nil) : [32m'List 'Char[39m))[K | ||
67 | infer: labEnd ([32mCons 'h'[39m ((\[34ma[39m -> [32mCons[39m [47m'i'[49m:[32ma[39m) (Cons Tuple0 Nil) : [32m'List 'Char[39m))[K | ||
68 | focus: labEnd ([32mCons 'h'[39m ((\[34ma[39m -> [32mCons[39m [47m[32m'i'[39m[49m:[32ma[39m) (Cons Tuple0 Nil) : [32m'List 'Char[39m))[K | ||
69 | focus: labEnd ([32mCons 'h'[39m ((\[34ma[39m -> [32mCons[39m \([34mb[39m : [32ma~'Char[39m)->[47m[32m'i'[39m[49m) (Cons Tuple0 Nil) : [32m'List 'Char[39m))[K | ||
70 | focus: labEnd ([32mCons 'h'[39m ((\[34ma[39m -> [32mCons[39m (\[34ma[39m:=[32m'Char[39m -> [47m[32m'i'[39m[49m)) (Cons Tuple0 Nil) : [32m'List 'Char[39m))[K | ||
71 | focus: labEnd ([32mCons 'h'[39m ((\[34ma[39m [34ma[39m:=[32m'Char[39m -> [32mCons[39m [47m[32m'i'[39m[49m) (Cons Tuple0 Nil) : [32m'List 'Char[39m))[K | ||
72 | focus: labEnd ([32mCons 'h'[39m ((\[34ma[39m [34ma[39m:=[32m'Char[39m -> [47m[32mCons 'i'[39m[49m) (Cons Tuple0 Nil) : [32m'List 'Char[39m))[K | ||
73 | focus: labEnd ([32mCons 'h'[39m ([47m[32mCons 'i'[39m[49m (Cons Tuple0 Nil) : [32m'List 'Char[39m))[K | ||
74 | focus: labEnd ([32mCons 'h'[39m ((\[34ma[39m:[32m'Unit[39m -> [47m[32mCons 'i'[39m[49m) (Cons Tuple0 Nil)))[K | ||
75 | focus: labEnd ([32mCons 'h'[39m ([47m[32mCons 'i'[39m[49m (Cons Tuple0 Nil)))[K | ||
76 | check: labEnd ([32mCons 'h'[39m ([32mCons 'i'[39m ([47mCons Tuple0 Nil :: [32m'List 'Char[39m[49m)))[K | ||
77 | infer: labEnd ([32mCons 'h'[39m ([32mCons 'i'[39m ([47mCons Tuple0[49m Nil : [32m'List 'Char[39m)))[K | ||
78 | infer: labEnd ([32mCons 'h'[39m ([32mCons 'i'[39m ([47mCons[49m Tuple0 Nil : [32m'List 'Char[39m)))[K | ||
79 | focus: labEnd ([32mCons 'h'[39m ([32mCons 'i'[39m ([47m[32mCons[39m[49m Tuple0 Nil : [32m'List 'Char[39m)))[K | ||
80 | focus: labEnd ([32mCons 'h'[39m ([32mCons 'i'[39m ([47m[32mCons[39m[49m {_ : _:'Type} Tuple0 Nil : [32m'List 'Char[39m)))[K | ||
81 | check: labEnd ([32mCons 'h'[39m ([32mCons 'i'[39m ([32mCons[39m {[47m(_ : _:'Type) :: [32mType[39m[49m} Tuple0 Nil : [32m'List 'Char[39m)))[K | ||
82 | infer: labEnd ([32mCons 'h'[39m ([32mCons 'i'[39m ([32mCons[39m {([47m_ : _:'Type[49m) : [32mType[39m} Tuple0 Nil : [32m'List 'Char[39m)))[K | ||
83 | infer: labEnd ([32mCons 'h'[39m ([32mCons 'i'[39m ([32mCons[39m {\([34ma[39m : [47m_:'Type[49m)->a : [32mType[39m} Tuple0 Nil : [32m'List 'Char[39m)))[K | ||
84 | infer: labEnd ([32mCons 'h'[39m ([32mCons 'i'[39m ([32mCons[39m {\([34mb[39m : (\[34ma[39m:[47m'Type[49m -> a))->b : [32mType[39m} Tuple0 Nil : [32m'List 'Char[39m)))[K | ||
85 | focus: labEnd ([32mCons 'h'[39m ([32mCons 'i'[39m ([32mCons[39m {\([34mb[39m : (\[34ma[39m:[47m[32mType[39m[49m -> a))->b : [32mType[39m} Tuple0 Nil : [32m'List 'Char[39m)))[K | ||
86 | infer: labEnd ([32mCons 'h'[39m ([32mCons 'i'[39m ([32mCons[39m {\([34mb[39m : \[34ma[39m->[47ma[49m)->b : [32mType[39m} Tuple0 Nil : [32m'List 'Char[39m)))[K | ||
87 | focus: labEnd ([32mCons 'h'[39m ([32mCons 'i'[39m ([32mCons[39m {\([34mb[39m : \[34ma[39m->[47m[32ma[39m[49m)->b : [32mType[39m} Tuple0 Nil : [32m'List 'Char[39m)))[K | ||
88 | focus: labEnd ([32mCons 'h'[39m ([32mCons 'i'[39m ([32mCons[39m {(\[34ma[39m [34mb[39m:[47m[32ma[39m[49m -> b) : [32mType[39m} Tuple0 Nil : [32m'List 'Char[39m)))[K | ||
89 | infer: labEnd ([32mCons 'h'[39m ([32mCons 'i'[39m ([32mCons[39m {(\[34ma[39m [34mb[39m:[32ma[39m -> [47mb[49m) : [32mType[39m} Tuple0 Nil : [32m'List 'Char[39m)))[K | ||
90 | focus: labEnd ([32mCons 'h'[39m ([32mCons 'i'[39m ([32mCons[39m {(\[34ma[39m [34mb[39m:[32ma[39m -> [47m[32mb[39m[49m) : [32mType[39m} Tuple0 Nil : [32m'List 'Char[39m)))[K | ||
91 | focus: labEnd ([32mCons 'h'[39m ([32mCons 'i'[39m ([32mCons[39m {\[34ma[39m [34mb[39m:[32ma[39m -> [47m[32mb[39m[49m:[32mType[39m} Tuple0 Nil : [32m'List 'Char[39m)))[K | ||
92 | focus: labEnd ([32mCons 'h'[39m ([32mCons 'i'[39m ([32mCons[39m {\[34ma[39m [34mb[39m:[32ma[39m -> \([34mc[39m : [32mType~a[39m)->[47m[32mb[39m[49m} Tuple0 Nil : [32m'List 'Char[39m)))[K | ||
93 | focus: labEnd ([32mCons 'h'[39m ([32mCons 'i'[39m ([32mCons[39m {\[34ma[39m [34mb[39m:[32ma[39m [34ma[39m:=[32mType[39m -> [47m[32mb[39m[49m} Tuple0 Nil : [32m'List 'Char[39m)))[K | ||
94 | focus: labEnd ([32mCons 'h'[39m ([32mCons 'i'[39m ([32mCons[39m {\[34ma[39m [34ma[39m:=[32mType[39m -> \[34mb[39m->[47m[32mb[39m[49m} Tuple0 Nil : [32m'List 'Char[39m)))[K | ||
95 | focus: labEnd ([32mCons 'h'[39m ([32mCons 'i'[39m ([32mCons[39m {\[34ma[39m->[47m[32ma[39m[49m} Tuple0 Nil : [32m'List 'Char[39m)))[K | ||
96 | focus: labEnd ([32mCons 'h'[39m ([32mCons 'i'[39m ((\[34ma[39m -> [32mCons[39m {[47m[32ma[39m[49m}) Tuple0 Nil : [32m'List 'Char[39m)))[K | ||
97 | focus: labEnd ([32mCons 'h'[39m ([32mCons 'i'[39m (\[34ma[39m->[47m[32mCons[39m[49m Tuple0 Nil : [32m'List 'Char[39m)))[K | ||
98 | focus: labEnd ([32mCons 'h'[39m ([32mCons 'i'[39m ((\[34ma[39m -> [47m[32mCons[39m[49m Tuple0) Nil : [32m'List 'Char[39m)))[K | ||
99 | check: labEnd ([32mCons 'h'[39m ([32mCons 'i'[39m ((\[34ma[39m -> [32mCons[39m [47mTuple0::[32ma[39m[49m) Nil : [32m'List 'Char[39m)))[K | ||
100 | infer: labEnd ([32mCons 'h'[39m ([32mCons 'i'[39m ((\[34ma[39m -> [32mCons[39m [47mTuple0[49m:[32ma[39m) Nil : [32m'List 'Char[39m)))[K | ||
101 | focus: labEnd ([32mCons 'h'[39m ([32mCons 'i'[39m ((\[34ma[39m -> [32mCons[39m [47m[32mTuple0[39m[49m:[32ma[39m) Nil : [32m'List 'Char[39m)))[K | ||
102 | focus: labEnd ([32mCons 'h'[39m ([32mCons 'i'[39m ((\[34ma[39m -> [32mCons[39m \([34mb[39m : [32ma~'Tuple0[39m)->[47m[32mTuple0[39m[49m) Nil : [32m'List 'Char[39m)))[K | ||
103 | focus: labEnd ([32mCons 'h'[39m ([32mCons 'i'[39m ((\[34ma[39m -> [32mCons[39m (\[34ma[39m:=[32m'Tuple0[39m -> [47m[32mTuple0[39m[49m)) Nil : [32m'List 'Char[39m)))[K | ||
104 | focus: labEnd ([32mCons 'h'[39m ([32mCons 'i'[39m ((\[34ma[39m [34ma[39m:=[32m'Tuple0[39m -> [32mCons[39m [47m[32mTuple0[39m[49m) Nil : [32m'List 'Char[39m)))[K | ||
105 | focus: labEnd ([32mCons 'h'[39m ([32mCons 'i'[39m ((\[34ma[39m [34ma[39m:=[32m'Tuple0[39m -> [47m[32mCons Tuple0[39m[49m) Nil : [32m'List 'Char[39m)))[K | ||
106 | focus: labEnd ([32mCons 'h'[39m ([32mCons 'i'[39m ([47m[32mCons Tuple0[39m[49m Nil : [32m'List 'Char[39m)))[K | ||
107 | focus: labEnd ([32mCons 'h'[39m ([32mCons 'i'[39m ((\([34ma[39m : [32m'Empty "can not unify\n\ESC[32m'Char\ESC[m\nwith\n\ESC[32m'Tuple0\ESC[m\n"[39m) -> [47m[32mCons Tuple0[39m[49m) Nil)))[K | ||
108 | !type error: can not unify | ||
109 | [32m'Char[m | ||
110 | with | ||
111 | [32m'Tuple0[m | ||
112 | |||
113 | in testdata/language-features/basic-list/list15.reject.lc:1:20 | ||
114 | |||
115 | ------------ tooltips | ||
116 | testdata/language-features/basic-list/list15.reject.lc 1:9-1:12 Char | ||
117 | testdata/language-features/basic-list/list15.reject.lc 1:9-1:13 List Char -> List Char | ||
118 | testdata/language-features/basic-list/list15.reject.lc 1:12-1:13 {a} -> a -> List a -> List a | ||
119 | testdata/language-features/basic-list/list15.reject.lc 1:13-1:16 Char | ||
120 | testdata/language-features/basic-list/list15.reject.lc 1:13-1:17 List Char -> List Char | ||
121 | testdata/language-features/basic-list/list15.reject.lc 1:16-1:17 {a} -> a -> List a -> List a | ||
122 | testdata/language-features/basic-list/list15.reject.lc 1:17-1:19 Tuple0 | ||
123 | testdata/language-features/basic-list/list15.reject.lc 1:17-1:20 List Tuple0 -> List Tuple0 | ||
124 | testdata/language-features/basic-list/list15.reject.lc 1:19-1:20 {a} -> a -> List a -> List a | ||
diff --git a/testdata/language-features/basic-list/list16.reject.out b/testdata/language-features/basic-list/list16.reject.out index 5f26cbf1..6c99607b 100644 --- a/testdata/language-features/basic-list/list16.reject.out +++ b/testdata/language-features/basic-list/list16.reject.out | |||
@@ -6,3 +6,53 @@ with | |||
6 | in testdata/language-features/basic-list/list16.reject.lc:1:13: | 6 | in testdata/language-features/basic-list/list16.reject.lc:1:13: |
7 | value = 'h':'i' | 7 | value = 'h':'i' |
8 | ^^^ | 8 | ^^^ |
9 | |||
10 | ------------ trace | ||
11 | infer: [47mlabelend (Cons 'h' 'i')[49m[K | ||
12 | infer: labEnd ([47mCons 'h' 'i'[49m)[K | ||
13 | infer: labEnd ([47mCons 'h'[49m 'i')[K | ||
14 | infer: labEnd ([47mCons[49m 'h' 'i')[K | ||
15 | focus: labEnd ([47m[32mCons[39m[49m 'h' 'i')[K | ||
16 | focus: labEnd ([47m[32mCons[39m[49m {_ : _:'Type} 'h' 'i')[K | ||
17 | check: labEnd ([32mCons[39m {[47m(_ : _:'Type) :: [32mType[39m[49m} 'h' 'i')[K | ||
18 | infer: labEnd ([32mCons[39m {([47m_ : _:'Type[49m) : [32mType[39m} 'h' 'i')[K | ||
19 | infer: labEnd ([32mCons[39m {\([34ma[39m : [47m_:'Type[49m)->a : [32mType[39m} 'h' 'i')[K | ||
20 | infer: labEnd ([32mCons[39m {\([34mb[39m : (\[34ma[39m:[47m'Type[49m -> a))->b : [32mType[39m} 'h' 'i')[K | ||
21 | focus: labEnd ([32mCons[39m {\([34mb[39m : (\[34ma[39m:[47m[32mType[39m[49m -> a))->b : [32mType[39m} 'h' 'i')[K | ||
22 | infer: labEnd ([32mCons[39m {\([34mb[39m : \[34ma[39m->[47ma[49m)->b : [32mType[39m} 'h' 'i')[K | ||
23 | focus: labEnd ([32mCons[39m {\([34mb[39m : \[34ma[39m->[47m[32ma[39m[49m)->b : [32mType[39m} 'h' 'i')[K | ||
24 | focus: labEnd ([32mCons[39m {(\[34ma[39m [34mb[39m:[47m[32ma[39m[49m -> b) : [32mType[39m} 'h' 'i')[K | ||
25 | infer: labEnd ([32mCons[39m {(\[34ma[39m [34mb[39m:[32ma[39m -> [47mb[49m) : [32mType[39m} 'h' 'i')[K | ||
26 | focus: labEnd ([32mCons[39m {(\[34ma[39m [34mb[39m:[32ma[39m -> [47m[32mb[39m[49m) : [32mType[39m} 'h' 'i')[K | ||
27 | focus: labEnd ([32mCons[39m {\[34ma[39m [34mb[39m:[32ma[39m -> [47m[32mb[39m[49m:[32mType[39m} 'h' 'i')[K | ||
28 | focus: labEnd ([32mCons[39m {\[34ma[39m [34mb[39m:[32ma[39m -> \([34mc[39m : [32mType~a[39m)->[47m[32mb[39m[49m} 'h' 'i')[K | ||
29 | focus: labEnd ([32mCons[39m {\[34ma[39m [34mb[39m:[32ma[39m [34ma[39m:=[32mType[39m -> [47m[32mb[39m[49m} 'h' 'i')[K | ||
30 | focus: labEnd ([32mCons[39m {\[34ma[39m [34ma[39m:=[32mType[39m -> \[34mb[39m->[47m[32mb[39m[49m} 'h' 'i')[K | ||
31 | focus: labEnd ([32mCons[39m {\[34ma[39m->[47m[32ma[39m[49m} 'h' 'i')[K | ||
32 | focus: labEnd ((\[34ma[39m -> [32mCons[39m {[47m[32ma[39m[49m}) 'h' 'i')[K | ||
33 | focus: labEnd (\[34ma[39m->[47m[32mCons[39m[49m 'h' 'i')[K | ||
34 | focus: labEnd ((\[34ma[39m -> [47m[32mCons[39m[49m 'h') 'i')[K | ||
35 | check: labEnd ((\[34ma[39m -> [32mCons[39m [47m'h'::[32ma[39m[49m) 'i')[K | ||
36 | infer: labEnd ((\[34ma[39m -> [32mCons[39m [47m'h'[49m:[32ma[39m) 'i')[K | ||
37 | focus: labEnd ((\[34ma[39m -> [32mCons[39m [47m[32m'h'[39m[49m:[32ma[39m) 'i')[K | ||
38 | focus: labEnd ((\[34ma[39m -> [32mCons[39m \([34mb[39m : [32ma~'Char[39m)->[47m[32m'h'[39m[49m) 'i')[K | ||
39 | focus: labEnd ((\[34ma[39m -> [32mCons[39m (\[34ma[39m:=[32m'Char[39m -> [47m[32m'h'[39m[49m)) 'i')[K | ||
40 | focus: labEnd ((\[34ma[39m [34ma[39m:=[32m'Char[39m -> [32mCons[39m [47m[32m'h'[39m[49m) 'i')[K | ||
41 | focus: labEnd ((\[34ma[39m [34ma[39m:=[32m'Char[39m -> [47m[32mCons 'h'[39m[49m) 'i')[K | ||
42 | focus: labEnd ([47m[32mCons 'h'[39m[49m 'i')[K | ||
43 | check: labEnd ([32mCons 'h'[39m ([47m'i' :: [32m'List 'Char[39m[49m))[K | ||
44 | infer: labEnd ([32mCons 'h'[39m ([47m'i'[49m : [32m'List 'Char[39m))[K | ||
45 | focus: labEnd ([32mCons 'h'[39m ([47m[32m'i'[39m[49m : [32m'List 'Char[39m))[K | ||
46 | focus: labEnd ([32mCons 'h'[39m \([34ma[39m : [32m'Empty "can not unify\n\ESC[32m'List 'Char\ESC[m\nwith\n\ESC[32m'Char\ESC[m\n"[39m)->[47m[32m'i'[39m[49m)[K | ||
47 | !type error: can not unify | ||
48 | [32m'List 'Char[m | ||
49 | with | ||
50 | [32m'Char[m | ||
51 | |||
52 | in testdata/language-features/basic-list/list16.reject.lc:1:13 | ||
53 | |||
54 | ------------ tooltips | ||
55 | testdata/language-features/basic-list/list16.reject.lc 1:9-1:12 Char | ||
56 | testdata/language-features/basic-list/list16.reject.lc 1:9-1:13 List Char -> List Char | ||
57 | testdata/language-features/basic-list/list16.reject.lc 1:12-1:13 {a} -> a -> List a -> List a | ||
58 | testdata/language-features/basic-list/list16.reject.lc 1:13-1:16 Char | ||
diff --git a/testdata/language-features/basic-list/listcomp01.out b/testdata/language-features/basic-list/listcomp01.out index f9053dd2..e5d0ba2d 100644 --- a/testdata/language-features/basic-list/listcomp01.out +++ b/testdata/language-features/basic-list/listcomp01.out | |||
@@ -1,4 +1,6 @@ | |||
1 | main is not found | 1 | main is not found |
2 | ------------ trace | ||
3 | value :: [32m'List 'Tuple0[39m[K | ||
2 | ------------ tooltips | 4 | ------------ tooltips |
3 | testdata/language-features/basic-list/listcomp01.lc 1:1-1:6 List Tuple0 | 5 | testdata/language-features/basic-list/listcomp01.lc 1:1-1:6 List Tuple0 |
4 | testdata/language-features/basic-list/listcomp01.lc 1:9-1:34 List Tuple0 | 6 | testdata/language-features/basic-list/listcomp01.lc 1:9-1:34 List Tuple0 |
diff --git a/testdata/language-features/basic-list/listcomp02.out b/testdata/language-features/basic-list/listcomp02.out index 4ade3a2f..a2835375 100644 --- a/testdata/language-features/basic-list/listcomp02.out +++ b/testdata/language-features/basic-list/listcomp02.out | |||
@@ -1,4 +1,7 @@ | |||
1 | main is not found | 1 | main is not found |
2 | ------------ trace | ||
3 | l :: [32m'List 'Tuple0[39m[K | ||
4 | value :: [32m'List 'Tuple0[39m[K | ||
2 | ------------ tooltips | 5 | ------------ tooltips |
3 | testdata/language-features/basic-list/listcomp02.lc 1:1-1:2 List Tuple0 | 6 | testdata/language-features/basic-list/listcomp02.lc 1:1-1:2 List Tuple0 |
4 | testdata/language-features/basic-list/listcomp02.lc 1:5-1:18 List Tuple0 | 7 | testdata/language-features/basic-list/listcomp02.lc 1:5-1:18 List Tuple0 |
diff --git a/testdata/language-features/basic-list/listcomp03.out b/testdata/language-features/basic-list/listcomp03.out index 001484be..9d31c0b3 100644 --- a/testdata/language-features/basic-list/listcomp03.out +++ b/testdata/language-features/basic-list/listcomp03.out | |||
@@ -1,4 +1,6 @@ | |||
1 | main is not found | 1 | main is not found |
2 | ------------ trace | ||
3 | value :: [32m'List 'Tuple0[39m[K | ||
2 | ------------ tooltips | 4 | ------------ tooltips |
3 | testdata/language-features/basic-list/listcomp03.lc 1:1-1:6 List Tuple0 | 5 | testdata/language-features/basic-list/listcomp03.lc 1:1-1:6 List Tuple0 |
4 | testdata/language-features/basic-list/listcomp03.lc 1:9-1:41 List Tuple0 | 6 | testdata/language-features/basic-list/listcomp03.lc 1:9-1:41 List Tuple0 |
diff --git a/testdata/language-features/basic-list/listcomp04.out b/testdata/language-features/basic-list/listcomp04.out index ebf9b00a..87bebdaf 100644 --- a/testdata/language-features/basic-list/listcomp04.out +++ b/testdata/language-features/basic-list/listcomp04.out | |||
@@ -1,4 +1,7 @@ | |||
1 | main is not found | 1 | main is not found |
2 | ------------ trace | ||
3 | l :: [32m'List 'Tuple0[39m[K | ||
4 | value :: [32m'List 'Tuple0[39m[K | ||
2 | ------------ tooltips | 5 | ------------ tooltips |
3 | testdata/language-features/basic-list/listcomp04.lc 1:1-1:2 List Tuple0 | 6 | testdata/language-features/basic-list/listcomp04.lc 1:1-1:2 List Tuple0 |
4 | testdata/language-features/basic-list/listcomp04.lc 1:5-1:18 List Tuple0 | 7 | testdata/language-features/basic-list/listcomp04.lc 1:5-1:18 List Tuple0 |
diff --git a/testdata/language-features/basic-list/listcomp05.out b/testdata/language-features/basic-list/listcomp05.out index c4c03e58..8163ffcc 100644 --- a/testdata/language-features/basic-list/listcomp05.out +++ b/testdata/language-features/basic-list/listcomp05.out | |||
@@ -1,4 +1,6 @@ | |||
1 | main is not found | 1 | main is not found |
2 | ------------ trace | ||
3 | value :: [32m'List 'Tuple0[39m[K | ||
2 | ------------ tooltips | 4 | ------------ tooltips |
3 | testdata/language-features/basic-list/listcomp05.lc 1:1-1:6 List Tuple0 | 5 | testdata/language-features/basic-list/listcomp05.lc 1:1-1:6 List Tuple0 |
4 | testdata/language-features/basic-list/listcomp05.lc 1:9-1:39 List Tuple0 | 6 | testdata/language-features/basic-list/listcomp05.lc 1:9-1:39 List Tuple0 |
diff --git a/testdata/language-features/basic-list/listcomp06.out b/testdata/language-features/basic-list/listcomp06.out index 02b0300a..1231475f 100644 --- a/testdata/language-features/basic-list/listcomp06.out +++ b/testdata/language-features/basic-list/listcomp06.out | |||
@@ -1,4 +1,7 @@ | |||
1 | main is not found | 1 | main is not found |
2 | ------------ trace | ||
3 | value1 :: [32m'List 'Tuple0[39m[K | ||
4 | value2 :: [32m'List 'Tuple0[39m[K | ||
2 | ------------ tooltips | 5 | ------------ tooltips |
3 | testdata/language-features/basic-list/listcomp06.lc 1:1-1:7 List Tuple0 | 6 | testdata/language-features/basic-list/listcomp06.lc 1:1-1:7 List Tuple0 |
4 | testdata/language-features/basic-list/listcomp06.lc 1:10-1:46 List Tuple0 | 7 | testdata/language-features/basic-list/listcomp06.lc 1:10-1:46 List Tuple0 |
diff --git a/testdata/language-features/basic-list/listcomp07.out b/testdata/language-features/basic-list/listcomp07.out index 9721ad28..f753d50a 100644 --- a/testdata/language-features/basic-list/listcomp07.out +++ b/testdata/language-features/basic-list/listcomp07.out | |||
@@ -1,4 +1,8 @@ | |||
1 | main is not found | 1 | main is not found |
2 | ------------ trace | ||
3 | value1 :: [32m'List 'Tuple0[39m[K | ||
4 | value2 :: [32m'List 'Tuple0[39m[K | ||
5 | value3 :: [32m'List 'Tuple0[39m[K | ||
2 | ------------ tooltips | 6 | ------------ tooltips |
3 | testdata/language-features/basic-list/listcomp07.lc 1:1-1:7 List Tuple0 | 7 | testdata/language-features/basic-list/listcomp07.lc 1:1-1:7 List Tuple0 |
4 | testdata/language-features/basic-list/listcomp07.lc 1:10-6:11 List Tuple0 | 8 | testdata/language-features/basic-list/listcomp07.lc 1:10-6:11 List Tuple0 |
diff --git a/testdata/language-features/basic-list/listcomp08.reject.out b/testdata/language-features/basic-list/listcomp08.reject.out index 3c21bdc9..8cde0e3b 100644 --- a/testdata/language-features/basic-list/listcomp08.reject.out +++ b/testdata/language-features/basic-list/listcomp08.reject.out | |||
@@ -6,3 +6,87 @@ with | |||
6 | in testdata/language-features/basic-list/listcomp08.reject.lc:1:23: | 6 | in testdata/language-features/basic-list/listcomp08.reject.lc:1:23: |
7 | value = [x | x <- [], "not Bool"] | 7 | value = [x | x <- [], "not Bool"] |
8 | ^^^^^^^^^^ | 8 | ^^^^^^^^^^ |
9 | |||
10 | ------------ trace | ||
11 | infer: [47mlabelend (concatMap (\([32ma[39m : _:'Type) -> primIfThenElse "not Bool" (Cons a Nil) Nil) Nil)[49m[K | ||
12 | infer: labEnd ([47mconcatMap (\([32ma[39m : _:'Type) -> primIfThenElse "not Bool" (Cons a Nil) Nil) Nil[49m)[K | ||
13 | infer: labEnd ([47mconcatMap (\([32ma[39m : _:'Type) -> primIfThenElse "not Bool" (Cons a Nil) Nil)[49m Nil)[K | ||
14 | infer: labEnd ([47mconcatMap[49m (\([32ma[39m : _:'Type) -> primIfThenElse "not Bool" (Cons a Nil) Nil) Nil)[K | ||
15 | focus: labEnd ([47m[32mconcatMap[39m[49m (\([32ma[39m : _:'Type) -> primIfThenElse "not Bool" (Cons a Nil) Nil) Nil)[K | ||
16 | focus: labEnd ([47m[32mconcatMap[39m[49m {_ : _:'Type} (\([32ma[39m : _:'Type) -> primIfThenElse "not Bool" (Cons a Nil) Nil) Nil)[K | ||
17 | check: labEnd ([32mconcatMap[39m {[47m(_ : _:'Type) :: [32mType[39m[49m} (\([32ma[39m : _:'Type) -> primIfThenElse "not Bool" (Cons a Nil) Nil) Nil)[K | ||
18 | infer: labEnd ([32mconcatMap[39m {([47m_ : _:'Type[49m) : [32mType[39m} (\([32ma[39m : _:'Type) -> primIfThenElse "not Bool" (Cons a Nil) Nil) Nil)[K | ||
19 | infer: labEnd ([32mconcatMap[39m {\([34ma[39m : [47m_:'Type[49m)->a : [32mType[39m} (\([32mb[39m : _:'Type) -> primIfThenElse "not Bool" (Cons b Nil) Nil) Nil)[K | ||
20 | infer: labEnd ([32mconcatMap[39m {\([34mb[39m : (\[34ma[39m:[47m'Type[49m -> a))->b : [32mType[39m} (\([32mc[39m : _:'Type) -> primIfThenElse "not Bool" (Cons c Nil) Nil) Nil)[K | ||
21 | focus: labEnd ([32mconcatMap[39m {\([34mb[39m : (\[34ma[39m:[47m[32mType[39m[49m -> a))->b : [32mType[39m} (\([32mc[39m : _:'Type) -> primIfThenElse "not Bool" (Cons c Nil) Nil) Nil)[K | ||
22 | infer: labEnd ([32mconcatMap[39m {\([34mb[39m : \[34ma[39m->[47ma[49m)->b : [32mType[39m} (\([32mc[39m : _:'Type) -> primIfThenElse "not Bool" (Cons c Nil) Nil) Nil)[K | ||
23 | focus: labEnd ([32mconcatMap[39m {\([34mb[39m : \[34ma[39m->[47m[32ma[39m[49m)->b : [32mType[39m} (\([32mc[39m : _:'Type) -> primIfThenElse "not Bool" (Cons c Nil) Nil) Nil)[K | ||
24 | focus: labEnd ([32mconcatMap[39m {(\[34ma[39m [34mb[39m:[47m[32ma[39m[49m -> b) : [32mType[39m} (\([32mc[39m : _:'Type) -> primIfThenElse "not Bool" (Cons c Nil) Nil) Nil)[K | ||
25 | infer: labEnd ([32mconcatMap[39m {(\[34ma[39m [34mb[39m:[32ma[39m -> [47mb[49m) : [32mType[39m} (\([32mc[39m : _:'Type) -> primIfThenElse "not Bool" (Cons c Nil) Nil) Nil)[K | ||
26 | focus: labEnd ([32mconcatMap[39m {(\[34ma[39m [34mb[39m:[32ma[39m -> [47m[32mb[39m[49m) : [32mType[39m} (\([32mc[39m : _:'Type) -> primIfThenElse "not Bool" (Cons c Nil) Nil) Nil)[K | ||
27 | focus: labEnd ([32mconcatMap[39m {\[34ma[39m [34mb[39m:[32ma[39m -> [47m[32mb[39m[49m:[32mType[39m} (\([32mc[39m : _:'Type) -> primIfThenElse "not Bool" (Cons c Nil) Nil) Nil)[K | ||
28 | focus: labEnd ([32mconcatMap[39m {\[34ma[39m [34mb[39m:[32ma[39m -> \([34mc[39m : [32mType~a[39m)->[47m[32mb[39m[49m} (\([32md[39m : _:'Type) -> primIfThenElse "not Bool" (Cons d Nil) Nil) Nil)[K | ||
29 | focus: labEnd ([32mconcatMap[39m {\[34ma[39m [34mb[39m:[32ma[39m [34ma[39m:=[32mType[39m -> [47m[32mb[39m[49m} (\([32mc[39m : _:'Type) -> primIfThenElse "not Bool" (Cons c Nil) Nil) Nil)[K | ||
30 | focus: labEnd ([32mconcatMap[39m {\[34ma[39m [34ma[39m:=[32mType[39m -> \[34mb[39m->[47m[32mb[39m[49m} (\([32mc[39m : _:'Type) -> primIfThenElse "not Bool" (Cons c Nil) Nil) Nil)[K | ||
31 | focus: labEnd ([32mconcatMap[39m {\[34ma[39m->[47m[32ma[39m[49m} (\([32mb[39m : _:'Type) -> primIfThenElse "not Bool" (Cons b Nil) Nil) Nil)[K | ||
32 | focus: labEnd ((\[34ma[39m -> [32mconcatMap[39m {[47m[32ma[39m[49m}) (\([32mb[39m : _:'Type) -> primIfThenElse "not Bool" (Cons b Nil) Nil) Nil)[K | ||
33 | focus: labEnd ((\[34ma[39m -> [47m[32mconcatMap a[39m[49m) (\([32mb[39m : _:'Type) -> primIfThenElse "not Bool" (Cons b Nil) Nil) Nil)[K | ||
34 | focus: labEnd ((\[34ma[39m -> [47m[32mconcatMap a[39m[49m (\([32mb[39m : _:'Type) -> primIfThenElse "not Bool" (Cons b Nil) Nil)) Nil)[K | ||
35 | focus: labEnd ((\[34ma[39m -> [47m[32mconcatMap a[39m[49m {_ : _:'Type} (\([32mb[39m : _:'Type) -> primIfThenElse "not Bool" (Cons b Nil) Nil)) Nil)[K | ||
36 | check: labEnd ((\[34ma[39m -> [32mconcatMap a[39m {[47m(_ : _:'Type) :: [32mType[39m[49m} (\([32mb[39m : _:'Type) -> primIfThenElse "not Bool" (Cons b Nil) Nil)) Nil)[K | ||
37 | infer: labEnd ((\[34ma[39m -> [32mconcatMap a[39m {([47m_ : _:'Type[49m) : [32mType[39m} (\([32mb[39m : _:'Type) -> primIfThenElse "not Bool" (Cons b Nil) Nil)) Nil)[K | ||
38 | infer: labEnd ((\[34ma[39m -> [32mconcatMap a[39m {\([34mb[39m : [47m_:'Type[49m)->b : [32mType[39m} (\([32mc[39m : _:'Type) -> primIfThenElse "not Bool" (Cons c Nil) Nil)) Nil)[K | ||
39 | infer: labEnd ((\[34ma[39m -> [32mconcatMap a[39m {\([34mc[39m : (\[34mb[39m:[47m'Type[49m -> b))->c : [32mType[39m} (\([32md[39m : _:'Type) -> primIfThenElse "not Bool" (Cons d Nil) Nil)) Nil)[K | ||
40 | focus: labEnd ((\[34ma[39m -> [32mconcatMap a[39m {\([34mc[39m : (\[34mb[39m:[47m[32mType[39m[49m -> b))->c : [32mType[39m} (\([32md[39m : _:'Type) -> primIfThenElse "not Bool" (Cons d Nil) Nil)) Nil)[K | ||
41 | infer: labEnd ((\[34ma[39m -> [32mconcatMap a[39m {\([34mc[39m : \[34mb[39m->[47mb[49m)->c : [32mType[39m} (\([32md[39m : _:'Type) -> primIfThenElse "not Bool" (Cons d Nil) Nil)) Nil)[K | ||
42 | focus: labEnd ((\[34ma[39m -> [32mconcatMap a[39m {\([34mc[39m : \[34mb[39m->[47m[32mb[39m[49m)->c : [32mType[39m} (\([32md[39m : _:'Type) -> primIfThenElse "not Bool" (Cons d Nil) Nil)) Nil)[K | ||
43 | focus: labEnd ((\[34ma[39m -> [32mconcatMap a[39m {(\[34mb[39m [34mc[39m:[47m[32mb[39m[49m -> c) : [32mType[39m} (\([32md[39m : _:'Type) -> primIfThenElse "not Bool" (Cons d Nil) Nil)) Nil)[K | ||
44 | infer: labEnd ((\[34ma[39m -> [32mconcatMap a[39m {(\[34mb[39m [34mc[39m:[32mb[39m -> [47mc[49m) : [32mType[39m} (\([32md[39m : _:'Type) -> primIfThenElse "not Bool" (Cons d Nil) Nil)) Nil)[K | ||
45 | focus: labEnd ((\[34ma[39m -> [32mconcatMap a[39m {(\[34mb[39m [34mc[39m:[32mb[39m -> [47m[32mc[39m[49m) : [32mType[39m} (\([32md[39m : _:'Type) -> primIfThenElse "not Bool" (Cons d Nil) Nil)) Nil)[K | ||
46 | focus: labEnd ((\[34ma[39m -> [32mconcatMap a[39m {\[34mb[39m [34mc[39m:[32mb[39m -> [47m[32mc[39m[49m:[32mType[39m} (\([32md[39m : _:'Type) -> primIfThenElse "not Bool" (Cons d Nil) Nil)) Nil)[K | ||
47 | focus: labEnd ((\[34ma[39m -> [32mconcatMap a[39m {\[34mb[39m [34mc[39m:[32mb[39m -> \([34md[39m : [32mType~b[39m)->[47m[32mc[39m[49m} (\([32me[39m : _:'Type) -> primIfThenElse "not Bool" (Cons e Nil) Nil)) Nil)[K | ||
48 | focus: labEnd ((\[34ma[39m -> [32mconcatMap a[39m {\[34mb[39m [34mc[39m:[32mb[39m [34mb[39m:=[32mType[39m -> [47m[32mc[39m[49m} (\([32md[39m : _:'Type) -> primIfThenElse "not Bool" (Cons d Nil) Nil)) Nil)[K | ||
49 | focus: labEnd ((\[34ma[39m -> [32mconcatMap a[39m {\[34mb[39m [34mb[39m:=[32mType[39m -> \[34mc[39m->[47m[32mc[39m[49m} (\([32md[39m : _:'Type) -> primIfThenElse "not Bool" (Cons d Nil) Nil)) Nil)[K | ||
50 | focus: labEnd ((\[34ma[39m -> [32mconcatMap a[39m {\[34mb[39m->[47m[32mb[39m[49m} (\([32mc[39m : _:'Type) -> primIfThenElse "not Bool" (Cons c Nil) Nil)) Nil)[K | ||
51 | focus: labEnd ((\[34ma[39m -> (\[34mb[39m -> [32mconcatMap a[39m {[47m[32mb[39m[49m}) (\([32mc[39m : _:'Type) -> primIfThenElse "not Bool" (Cons c Nil) Nil)) Nil)[K | ||
52 | focus: labEnd ((\[34ma[39m -> (\[34mb[39m -> [47m[32mconcatMap a b[39m[49m) (\([32mc[39m : _:'Type) -> primIfThenElse "not Bool" (Cons c Nil) Nil)) Nil)[K | ||
53 | focus: labEnd ((\[34ma[39m [34mb[39m -> [47m[32mconcatMap a b[39m[49m (\([32mc[39m : _:'Type) -> primIfThenElse "not Bool" (Cons c Nil) Nil)) Nil)[K | ||
54 | check: labEnd ((\[34ma[39m [34mb[39m -> [32mconcatMap a b[39m ([47m(\([32mc[39m : _:'Type) -> primIfThenElse "not Bool" (Cons c Nil) Nil) :: [32ma -> 'List b[39m[49m)) Nil)[K | ||
55 | check: labEnd ((\[34ma[39m [34mb[39m -> [32mconcatMap a b[39m (\[32mc[39m:[32ma[39m -> [47mprimIfThenElse "not Bool" (Cons c Nil) Nil :: [32m'List b[39m[49m)) Nil)[K | ||
56 | infer: labEnd ((\[34ma[39m [34mb[39m -> [32mconcatMap a b[39m (\[32mc[39m:[32ma[39m -> [47mprimIfThenElse "not Bool" (Cons c Nil)[49m Nil : [32m'List b[39m)) Nil)[K | ||
57 | infer: labEnd ((\[34ma[39m [34mb[39m -> [32mconcatMap a b[39m (\[32mc[39m:[32ma[39m -> [47mprimIfThenElse "not Bool"[49m (Cons c Nil) Nil : [32m'List b[39m)) Nil)[K | ||
58 | infer: labEnd ((\[34ma[39m [34mb[39m -> [32mconcatMap a b[39m (\[32mc[39m:[32ma[39m -> [47mprimIfThenElse[49m "not Bool" (Cons c Nil) Nil : [32m'List b[39m)) Nil)[K | ||
59 | focus: labEnd ((\[34ma[39m [34mb[39m -> [32mconcatMap a b[39m (\[32mc[39m:[32ma[39m -> [47m[32mprimIfThenElse[39m[49m "not Bool" (Cons c Nil) Nil : [32m'List b[39m)) Nil)[K | ||
60 | focus: labEnd ((\[34ma[39m [34mb[39m -> [32mconcatMap a b[39m (\[32mc[39m:[32ma[39m -> [47m[32mprimIfThenElse[39m[49m {_ : _:'Type} "not Bool" (Cons c Nil) Nil : [32m'List b[39m)) Nil)[K | ||
61 | check: labEnd ((\[34ma[39m [34mb[39m -> [32mconcatMap a b[39m (\[32mc[39m:[32ma[39m -> [32mprimIfThenElse[39m {[47m(_ : _:'Type) :: [32mType[39m[49m} "not Bool" (Cons c Nil) Nil : [32m'List b[39m)) Nil)[K | ||
62 | infer: labEnd ((\[34ma[39m [34mb[39m -> [32mconcatMap a b[39m (\[32mc[39m:[32ma[39m -> [32mprimIfThenElse[39m {([47m_ : _:'Type[49m) : [32mType[39m} "not Bool" (Cons c Nil) Nil : [32m'List b[39m)) Nil)[K | ||
63 | infer: labEnd ((\[34ma[39m [34mb[39m -> [32mconcatMap a b[39m (\[32mc[39m:[32ma[39m -> [32mprimIfThenElse[39m {\([34md[39m : [47m_:'Type[49m)->d : [32mType[39m} "not Bool" (Cons c Nil) Nil : [32m'List b[39m)) Nil)[K | ||
64 | infer: labEnd ((\[34ma[39m [34mb[39m -> [32mconcatMap a b[39m (\[32mc[39m:[32ma[39m -> [32mprimIfThenElse[39m {\([34me[39m : (\[34md[39m:[47m'Type[49m -> d))->e : [32mType[39m} "not Bool" (Cons c Nil) Nil : [32m'List b[39m)) Nil)[K | ||
65 | focus: labEnd ((\[34ma[39m [34mb[39m -> [32mconcatMap a b[39m (\[32mc[39m:[32ma[39m -> [32mprimIfThenElse[39m {\([34me[39m : (\[34md[39m:[47m[32mType[39m[49m -> d))->e : [32mType[39m} "not Bool" (Cons c Nil) Nil : [32m'List b[39m)) Nil)[K | ||
66 | infer: labEnd ((\[34ma[39m [34mb[39m -> [32mconcatMap a b[39m (\[32mc[39m:[32ma[39m -> [32mprimIfThenElse[39m {\([34me[39m : \[34md[39m->[47md[49m)->e : [32mType[39m} "not Bool" (Cons c Nil) Nil : [32m'List b[39m)) Nil)[K | ||
67 | focus: labEnd ((\[34ma[39m [34mb[39m -> [32mconcatMap a b[39m (\[32mc[39m:[32ma[39m -> [32mprimIfThenElse[39m {\([34me[39m : \[34md[39m->[47m[32md[39m[49m)->e : [32mType[39m} "not Bool" (Cons c Nil) Nil : [32m'List b[39m)) Nil)[K | ||
68 | focus: labEnd ((\[34ma[39m [34mb[39m -> [32mconcatMap a b[39m (\[32mc[39m:[32ma[39m -> [32mprimIfThenElse[39m {(\[34md[39m [34me[39m:[47m[32md[39m[49m -> e) : [32mType[39m} "not Bool" (Cons c Nil) Nil : [32m'List b[39m)) Nil)[K | ||
69 | infer: labEnd ((\[34ma[39m [34mb[39m -> [32mconcatMap a b[39m (\[32mc[39m:[32ma[39m -> [32mprimIfThenElse[39m {(\[34md[39m [34me[39m:[32md[39m -> [47me[49m) : [32mType[39m} "not Bool" (Cons c Nil) Nil : [32m'List b[39m)) Nil)[K | ||
70 | focus: labEnd ((\[34ma[39m [34mb[39m -> [32mconcatMap a b[39m (\[32mc[39m:[32ma[39m -> [32mprimIfThenElse[39m {(\[34md[39m [34me[39m:[32md[39m -> [47m[32me[39m[49m) : [32mType[39m} "not Bool" (Cons c Nil) Nil : [32m'List b[39m)) Nil)[K | ||
71 | focus: labEnd ((\[34ma[39m [34mb[39m -> [32mconcatMap a b[39m (\[32mc[39m:[32ma[39m -> [32mprimIfThenElse[39m {\[34md[39m [34me[39m:[32md[39m -> [47m[32me[39m[49m:[32mType[39m} "not Bool" (Cons c Nil) Nil : [32m'List b[39m)) Nil)[K | ||
72 | focus: labEnd ((\[34ma[39m [34mb[39m -> [32mconcatMap a b[39m (\[32mc[39m:[32ma[39m -> [32mprimIfThenElse[39m {\[34md[39m [34me[39m:[32md[39m -> \([34mf[39m : [32mType~d[39m)->[47m[32me[39m[49m} "not Bool" (Cons c Nil) Nil : [32m'List b[39m)) Nil)[K | ||
73 | focus: labEnd ((\[34ma[39m [34mb[39m -> [32mconcatMap a b[39m (\[32mc[39m:[32ma[39m -> [32mprimIfThenElse[39m {\[34md[39m [34me[39m:[32md[39m [34md[39m:=[32mType[39m -> [47m[32me[39m[49m} "not Bool" (Cons c Nil) Nil : [32m'List b[39m)) Nil)[K | ||
74 | focus: labEnd ((\[34ma[39m [34mb[39m -> [32mconcatMap a b[39m (\[32mc[39m:[32ma[39m -> [32mprimIfThenElse[39m {\[34md[39m [34md[39m:=[32mType[39m -> \[34me[39m->[47m[32me[39m[49m} "not Bool" (Cons c Nil) Nil : [32m'List b[39m)) Nil)[K | ||
75 | focus: labEnd ((\[34ma[39m [34mb[39m -> [32mconcatMap a b[39m (\[32mc[39m:[32ma[39m -> [32mprimIfThenElse[39m {\[34md[39m->[47m[32md[39m[49m} "not Bool" (Cons c Nil) Nil : [32m'List b[39m)) Nil)[K | ||
76 | focus: labEnd ((\[34ma[39m [34mb[39m -> [32mconcatMap a b[39m (\[32mc[39m:[32ma[39m -> (\[34md[39m -> [32mprimIfThenElse[39m {[47m[32md[39m[49m}) "not Bool" (Cons c Nil) Nil : [32m'List b[39m)) Nil)[K | ||
77 | focus: labEnd ((\[34ma[39m [34mb[39m -> [32mconcatMap a b[39m (\[32mc[39m:[32ma[39m -> (\[34md[39m -> [47m[32mprimIfThenElse d[39m[49m) "not Bool" (Cons c Nil) Nil : [32m'List b[39m)) Nil)[K | ||
78 | focus: labEnd ((\[34ma[39m [34mb[39m -> [32mconcatMap a b[39m (\[32mc[39m:[32ma[39m -> (\[34md[39m -> [47m[32mprimIfThenElse d[39m[49m "not Bool") (Cons c Nil) Nil : [32m'List b[39m)) Nil)[K | ||
79 | check: labEnd ((\[34ma[39m [34mb[39m -> [32mconcatMap a b[39m (\[32mc[39m:[32ma[39m -> (\[34md[39m -> [32mprimIfThenElse d[39m [47m"not Bool"::[32m'Bool[39m[49m) (Cons c Nil) Nil : [32m'List b[39m)) Nil)[K | ||
80 | infer: labEnd ((\[34ma[39m [34mb[39m -> [32mconcatMap a b[39m (\[32mc[39m:[32ma[39m -> (\[34md[39m -> [32mprimIfThenElse d[39m [47m"not Bool"[49m:[32m'Bool[39m) (Cons c Nil) Nil : [32m'List b[39m)) Nil)[K | ||
81 | focus: labEnd ((\[34ma[39m [34mb[39m -> [32mconcatMap a b[39m (\[32mc[39m:[32ma[39m -> (\[34md[39m -> [32mprimIfThenElse d[39m [47m[32m"not Bool"[39m[49m:[32m'Bool[39m) (Cons c Nil) Nil : [32m'List b[39m)) Nil)[K | ||
82 | focus: labEnd ((\[34ma[39m [34mb[39m -> [32mconcatMap a b[39m (\[32mc[39m:[32ma[39m -> (\[34md[39m -> [32mprimIfThenElse d[39m \([34me[39m : [32m'Empty "can not unify\n\ESC[32m'Bool\ESC[m\nwith\n\ESC[32m'String\ESC[m\n"[39m)->[47m[32m"not Bool"[39m[49m) (Cons c Nil) Nil : [32m'List b[39m)) Nil)[K | ||
83 | !type error: can not unify | ||
84 | [32m'Bool[m | ||
85 | with | ||
86 | [32m'String[m | ||
87 | |||
88 | in testdata/language-features/basic-list/listcomp08.reject.lc:1:23 | ||
89 | |||
90 | ------------ tooltips | ||
91 | testdata/language-features/basic-list/listcomp08.reject.lc 1:10-1:33 V1 -> List V1 | ||
92 | testdata/language-features/basic-list/listcomp08.reject.lc 1:23-1:33 String | ||
diff --git a/testdata/language-features/basic-list/listcomp09.out b/testdata/language-features/basic-list/listcomp09.out index dfb10524..91ad2305 100644 --- a/testdata/language-features/basic-list/listcomp09.out +++ b/testdata/language-features/basic-list/listcomp09.out | |||
@@ -1,4 +1,6 @@ | |||
1 | main is not found | 1 | main is not found |
2 | ------------ trace | ||
3 | value1 :: [32m{a} -> 'List 'Tuple0->'String[39m[K | ||
2 | ------------ tooltips | 4 | ------------ tooltips |
3 | testdata/language-features/basic-list/listcomp09.lc 1:1-1:7 {a} -> List Tuple0->String | 5 | testdata/language-features/basic-list/listcomp09.lc 1:1-1:7 {a} -> List Tuple0->String |
4 | testdata/language-features/basic-list/listcomp09.lc 1:10-1:36 List Tuple0->String | 6 | testdata/language-features/basic-list/listcomp09.lc 1:10-1:36 List Tuple0->String |
diff --git a/testdata/language-features/basic-values/bool01.out b/testdata/language-features/basic-values/bool01.out index 0acc9e27..5e43b4e6 100644 --- a/testdata/language-features/basic-values/bool01.out +++ b/testdata/language-features/basic-values/bool01.out | |||
@@ -1,4 +1,7 @@ | |||
1 | main is not found | 1 | main is not found |
2 | ------------ trace | ||
3 | value1 :: [32m'Bool[39m[K | ||
4 | value2 :: [32m'Bool[39m[K | ||
2 | ------------ tooltips | 5 | ------------ tooltips |
3 | testdata/language-features/basic-values/bool01.lc 1:1-1:7 Bool | 6 | testdata/language-features/basic-values/bool01.lc 1:1-1:7 Bool |
4 | testdata/language-features/basic-values/bool01.lc 1:10-1:14 Bool | 7 | testdata/language-features/basic-values/bool01.lc 1:10-1:14 Bool |
diff --git a/testdata/language-features/basic-values/case01.out b/testdata/language-features/basic-values/case01.out index c312ad05..70d58b87 100644 --- a/testdata/language-features/basic-values/case01.out +++ b/testdata/language-features/basic-values/case01.out | |||
@@ -1,4 +1,11 @@ | |||
1 | main is not found | 1 | main is not found |
2 | ------------ trace | ||
3 | value1 :: [32m'Tuple0[39m[K | ||
4 | value2 :: [32m'Tuple0[39m[K | ||
5 | value3 :: [32m'Tuple0[39m[K | ||
6 | value4 :: [32m'Tuple0[39m[K | ||
7 | value5 :: [32m'Tuple0[39m[K | ||
8 | value6 :: [32m'Tuple0[39m[K | ||
2 | ------------ tooltips | 9 | ------------ tooltips |
3 | testdata/language-features/basic-values/case01.lc 1:1-1:7 Tuple0 | 10 | testdata/language-features/basic-values/case01.lc 1:1-1:7 Tuple0 |
4 | testdata/language-features/basic-values/case01.lc 1:10-1:29 Tuple0 | 11 | testdata/language-features/basic-values/case01.lc 1:10-1:29 Tuple0 |
diff --git a/testdata/language-features/basic-values/case02.out b/testdata/language-features/basic-values/case02.out index 6758ca71..f58893ee 100644 --- a/testdata/language-features/basic-values/case02.out +++ b/testdata/language-features/basic-values/case02.out | |||
@@ -1,4 +1,7 @@ | |||
1 | main is not found | 1 | main is not found |
2 | ------------ trace | ||
3 | value1 :: [32m{a} -> {b : 'Eq a} -> {c : 'Num a}->'Tuple0[39m[K | ||
4 | value2 :: [32m{a} -> {b : 'Eq a} -> {c : 'Num a} -> {d : 'Eq a} -> {e : 'Num a}->'String[39m[K | ||
2 | ------------ tooltips | 5 | ------------ tooltips |
3 | testdata/language-features/basic-values/case02.lc 1:1-1:7 {a} -> {b : Eq a} -> {c : Num a}->Tuple0 | 6 | testdata/language-features/basic-values/case02.lc 1:1-1:7 {a} -> {b : Eq a} -> {c : Num a}->Tuple0 |
4 | testdata/language-features/basic-values/case02.lc 1:10-3:10 Tuple0 | 7 | testdata/language-features/basic-values/case02.lc 1:10-3:10 Tuple0 |
diff --git a/testdata/language-features/basic-values/case03.reject.out b/testdata/language-features/basic-values/case03.reject.out index fae6e385..6c701d13 100644 --- a/testdata/language-features/basic-values/case03.reject.out +++ b/testdata/language-features/basic-values/case03.reject.out | |||
@@ -3,3 +3,184 @@ in testdata/language-features/basic-values/case03.reject.lc:1:10: | |||
3 | value1 = case () of | 3 | value1 = case () of |
4 | 1 -> () | 4 | 1 -> () |
5 | _ -> () | 5 | _ -> () |
6 | |||
7 | ------------ trace | ||
8 | infer: [47mlabelend ((\([32ma[39m : _:'Type) -> 'BoolCase (\_:'Type -> _:'Type) Tuple0 Tuple0 (== (fromInt 1) a)) Tuple0)[49m[K | ||
9 | infer: labEnd ([47m(\([32ma[39m : _:'Type) -> 'BoolCase (\_:'Type -> _:'Type) Tuple0 Tuple0 (== (fromInt 1) a)) Tuple0[49m)[K | ||
10 | infer: labEnd (([47m\([32ma[39m : _:'Type) -> 'BoolCase (\_:'Type -> _:'Type) Tuple0 Tuple0 (== (fromInt 1) a)[49m) Tuple0)[K | ||
11 | infer: labEnd ((\([32ma[39m : [47m_:'Type[49m : [32mType[39m) -> 'BoolCase (\_:'Type -> _:'Type) Tuple0 Tuple0 (== (fromInt 1) a)) Tuple0)[K | ||
12 | infer: labEnd ((\([32mb[39m : (\[34ma[39m:[47m'Type[49m -> a) : [32mType[39m) -> 'BoolCase (\_:'Type -> _:'Type) Tuple0 Tuple0 (== (fromInt 1) b)) Tuple0)[K | ||
13 | focus: labEnd ((\([32mb[39m : (\[34ma[39m:[47m[32mType[39m[49m -> a) : [32mType[39m) -> 'BoolCase (\_:'Type -> _:'Type) Tuple0 Tuple0 (== (fromInt 1) b)) Tuple0)[K | ||
14 | infer: labEnd ((\([32mb[39m : \[34ma[39m->[47ma[49m : [32mType[39m) -> 'BoolCase (\_:'Type -> _:'Type) Tuple0 Tuple0 (== (fromInt 1) b)) Tuple0)[K | ||
15 | focus: labEnd ((\([32mb[39m : \[34ma[39m->[47m[32ma[39m[49m : [32mType[39m) -> 'BoolCase (\_:'Type -> _:'Type) Tuple0 Tuple0 (== (fromInt 1) b)) Tuple0)[K | ||
16 | focus: labEnd ((\([32mb[39m : (\[34ma[39m -> [47m[32ma[39m[49m:[32mType[39m)) -> 'BoolCase (\_:'Type -> _:'Type) Tuple0 Tuple0 (== (fromInt 1) b)) Tuple0)[K | ||
17 | focus: labEnd ((\([32mc[39m : (\[34ma[39m [34mb[39m:[32m'Unit[39m -> [47m[32ma[39m[49m)) -> 'BoolCase (\_:'Type -> _:'Type) Tuple0 Tuple0 (== (fromInt 1) c)) Tuple0)[K | ||
18 | focus: labEnd ((\([32mb[39m : \[34ma[39m->[47m[32ma[39m[49m) -> 'BoolCase (\_:'Type -> _:'Type) Tuple0 Tuple0 (== (fromInt 1) b)) Tuple0)[K | ||
19 | focus: labEnd ((\[34ma[39m [32mb[39m:[47m[32ma[39m[49m -> 'BoolCase (\_:'Type -> _:'Type) Tuple0 Tuple0 (== (fromInt 1) b)) Tuple0)[K | ||
20 | infer: labEnd ((\[34ma[39m [32mb[39m:[32ma[39m -> [47m'BoolCase (\_:'Type -> _:'Type) Tuple0 Tuple0 (== (fromInt 1) b)[49m) Tuple0)[K | ||
21 | infer: labEnd ((\[34ma[39m [32mb[39m:[32ma[39m -> [47m'BoolCase (\_:'Type -> _:'Type) Tuple0 Tuple0[49m (== (fromInt 1) b)) Tuple0)[K | ||
22 | infer: labEnd ((\[34ma[39m [32mb[39m:[32ma[39m -> [47m'BoolCase (\_:'Type -> _:'Type) Tuple0[49m Tuple0 (== (fromInt 1) b)) Tuple0)[K | ||
23 | infer: labEnd ((\[34ma[39m [32mb[39m:[32ma[39m -> [47m'BoolCase (\_:'Type -> _:'Type)[49m Tuple0 Tuple0 (== (fromInt 1) b)) Tuple0)[K | ||
24 | infer: labEnd ((\[34ma[39m [32mb[39m:[32ma[39m -> [47m'BoolCase[49m (\_:'Type -> _:'Type) Tuple0 Tuple0 (== (fromInt 1) b)) Tuple0)[K | ||
25 | focus: labEnd ((\[34ma[39m [32mb[39m:[32ma[39m -> ([47m[32m\c:Type d:Type e:Type f:Type -> 'BoolCase c d e f[39m[49m) (\_:'Type -> _:'Type) Tuple0 Tuple0 (== (fromInt 1) b)) Tuple0)[K | ||
26 | check: labEnd ((\[34ma[39m [32mb[39m:[32ma[39m -> ([32m\c:Type d:Type e:Type f:Type -> 'BoolCase c d e f[39m) ([47m(\_:'Type -> _:'Type) :: [32m'Bool->Type[39m[49m) Tuple0 Tuple0 (== (fromInt 1) b)) Tuple0)[K | ||
27 | check: labEnd ((\[34ma[39m [32mb[39m:[32ma[39m -> ([32m\c:Type d:Type e:Type f:Type -> 'BoolCase c d e f[39m) (\[32mg[39m:[32m'Bool[39m -> [47m_:'Type :: [32mType[39m[49m) Tuple0 Tuple0 (== (fromInt 1) b)) Tuple0)[K | ||
28 | infer: labEnd ((\[34ma[39m [32mb[39m:[32ma[39m -> ([32m\c:Type d:Type e:Type f:Type -> 'BoolCase c d e f[39m) (\[32mg[39m:[32m'Bool[39m -> [47m_:'Type[49m : [32mType[39m) Tuple0 Tuple0 (== (fromInt 1) b)) Tuple0)[K | ||
29 | infer: labEnd ((\[34ma[39m [32mb[39m:[32ma[39m -> ([32m\c:Type d:Type e:Type f:Type -> 'BoolCase c d e f[39m) (\[32mg[39m:[32m'Bool[39m -> (\[34mh[39m:[47m'Type[49m -> h) : [32mType[39m) Tuple0 Tuple0 (== (fromInt 1) b)) Tuple0)[K | ||
30 | focus: labEnd ((\[34ma[39m [32mb[39m:[32ma[39m -> ([32m\c:Type d:Type e:Type f:Type -> 'BoolCase c d e f[39m) (\[32mg[39m:[32m'Bool[39m -> (\[34mh[39m:[47m[32mType[39m[49m -> h) : [32mType[39m) Tuple0 Tuple0 (== (fromInt 1) b)) Tuple0)[K | ||
31 | infer: labEnd ((\[34ma[39m [32mb[39m:[32ma[39m -> ([32m\c:Type d:Type e:Type f:Type -> 'BoolCase c d e f[39m) (\[32mg[39m:[32m'Bool[39m -> \[34mh[39m->[47mh[49m : [32mType[39m) Tuple0 Tuple0 (== (fromInt 1) b)) Tuple0)[K | ||
32 | focus: labEnd ((\[34ma[39m [32mb[39m:[32ma[39m -> ([32m\c:Type d:Type e:Type f:Type -> 'BoolCase c d e f[39m) (\[32mg[39m:[32m'Bool[39m -> \[34mh[39m->[47m[32mh[39m[49m : [32mType[39m) Tuple0 Tuple0 (== (fromInt 1) b)) Tuple0)[K | ||
33 | focus: labEnd ((\[34ma[39m [32mb[39m:[32ma[39m -> ([32m\c:Type d:Type e:Type f:Type -> 'BoolCase c d e f[39m) (\[32mg[39m:[32m'Bool[39m [34mh[39m -> [47m[32mh[39m[49m:[32mType[39m) Tuple0 Tuple0 (== (fromInt 1) b)) Tuple0)[K | ||
34 | focus: labEnd ((\[34ma[39m [32mb[39m:[32ma[39m -> ([32m\c:Type d:Type e:Type f:Type -> 'BoolCase c d e f[39m) (\[32mg[39m:[32m'Bool[39m [34mh[39m [34mi[39m:[32m'Unit[39m -> [47m[32mh[39m[49m) Tuple0 Tuple0 (== (fromInt 1) b)) Tuple0)[K | ||
35 | focus: labEnd ((\[34ma[39m [32mb[39m:[32ma[39m -> ([32m\c:Type d:Type e:Type f:Type -> 'BoolCase c d e f[39m) (\[32mg[39m:[32m'Bool[39m -> \[34mh[39m->[47m[32mh[39m[49m) Tuple0 Tuple0 (== (fromInt 1) b)) Tuple0)[K | ||
36 | focus: labEnd ((\[34ma[39m [32mb[39m:[32ma[39m -> ([32m\c:Type d:Type e:Type f:Type -> 'BoolCase c d e f[39m) (\[34mg[39m [32mh[39m:[32m'Bool[39m -> [47m[32mg[39m[49m) Tuple0 Tuple0 (== (fromInt 1) b)) Tuple0)[K | ||
37 | focus: labEnd ((\[34ma[39m [32mb[39m:[32ma[39m -> ([32m\c:Type d:Type e:Type f:Type -> 'BoolCase c d e f[39m) (\[34mg[39m [47m[32mh:Type -> g[39m[49m) Tuple0 Tuple0 (== (fromInt 1) b)) Tuple0)[K | ||
38 | focus: labEnd ((\[34ma[39m [32mb[39m:[32ma[39m -> (\[34mc[39m -> ([32m\d:Type e:Type f:Type g:Type -> 'BoolCase d e f g[39m) ([47m[32m\h:Type -> c[39m[49m)) Tuple0 Tuple0 (== (fromInt 1) b)) Tuple0)[K | ||
39 | focus: labEnd ((\[34ma[39m [32mb[39m:[32ma[39m -> (\[34mc[39m [47m[32md:Type e:Type f:Type -> 'BoolCase (\g:Type -> c) d e f[39m[49m) Tuple0 Tuple0 (== (fromInt 1) b)) Tuple0)[K | ||
40 | focus: labEnd ((\[34ma[39m [32mb[39m:[32ma[39m -> (\[34mc[39m -> ([47m[32m\d:Type e:Type f:Type -> 'BoolCase (\g:Type -> c) d e f[39m[49m) Tuple0) Tuple0 (== (fromInt 1) b)) Tuple0)[K | ||
41 | check: labEnd ((\[34ma[39m [32mb[39m:[32ma[39m -> (\[34mc[39m -> ([32m\d:Type e:Type f:Type -> 'BoolCase (\g:Type -> c) d e f[39m) [47mTuple0::[32mc[39m[49m) Tuple0 (== (fromInt 1) b)) Tuple0)[K | ||
42 | infer: labEnd ((\[34ma[39m [32mb[39m:[32ma[39m -> (\[34mc[39m -> ([32m\d:Type e:Type f:Type -> 'BoolCase (\g:Type -> c) d e f[39m) [47mTuple0[49m:[32mc[39m) Tuple0 (== (fromInt 1) b)) Tuple0)[K | ||
43 | focus: labEnd ((\[34ma[39m [32mb[39m:[32ma[39m -> (\[34mc[39m -> ([32m\d:Type e:Type f:Type -> 'BoolCase (\g:Type -> c) d e f[39m) [47m[32mTuple0[39m[49m:[32mc[39m) Tuple0 (== (fromInt 1) b)) Tuple0)[K | ||
44 | focus: labEnd ((\[34ma[39m [32mb[39m:[32ma[39m -> (\[34mc[39m -> ([32m\d:Type e:Type f:Type -> 'BoolCase (\g:Type -> c) d e f[39m) \([34mh[39m : [32mc~'Tuple0[39m)->[47m[32mTuple0[39m[49m) Tuple0 (== (fromInt 1) b)) Tuple0)[K | ||
45 | focus: labEnd ((\[34ma[39m [32mb[39m:[32ma[39m -> (\[34mc[39m -> ([32m\d:Type e:Type f:Type -> 'BoolCase (\g:Type -> c) d e f[39m) (\[34mc[39m:=[32m'Tuple0[39m -> [47m[32mTuple0[39m[49m)) Tuple0 (== (fromInt 1) b)) Tuple0)[K | ||
46 | focus: labEnd ((\[34ma[39m [32mb[39m:[32ma[39m -> (\[34mc[39m [34mc[39m:=[32m'Tuple0[39m -> ([32m\d:Type e:Type f:Type -> 'BoolCase (\g:Type -> 'Tuple0) d e f[39m) [47m[32mTuple0[39m[49m) Tuple0 (== (fromInt 1) b)) Tuple0)[K | ||
47 | focus: labEnd ((\[34ma[39m [32mb[39m:[32ma[39m -> (\[34mc[39m [34mc[39m:=[32m'Tuple0[39m [47m[32md:Type e:Type -> 'BoolCase (\f:Type -> 'Tuple0) Tuple0 d e[39m[49m) Tuple0 (== (fromInt 1) b)) Tuple0)[K | ||
48 | focus: labEnd ((\[34ma[39m [32mb[39m:[32ma[39m -> ([47m[32m\c:Type d:Type -> 'BoolCase (\e:Type -> 'Tuple0) Tuple0 c d[39m[49m) Tuple0 (== (fromInt 1) b)) Tuple0)[K | ||
49 | check: labEnd ((\[34ma[39m [32mb[39m:[32ma[39m -> ([32m\c:Type d:Type -> 'BoolCase (\e:Type -> 'Tuple0) Tuple0 c d[39m) [47mTuple0::[32m'Tuple0[39m[49m (== (fromInt 1) b)) Tuple0)[K | ||
50 | infer: labEnd ((\[34ma[39m [32mb[39m:[32ma[39m -> ([32m\c:Type d:Type -> 'BoolCase (\e:Type -> 'Tuple0) Tuple0 c d[39m) [47mTuple0[49m:[32m'Tuple0[39m (== (fromInt 1) b)) Tuple0)[K | ||
51 | focus: labEnd ((\[34ma[39m [32mb[39m:[32ma[39m -> ([32m\c:Type d:Type -> 'BoolCase (\e:Type -> 'Tuple0) Tuple0 c d[39m) [47m[32mTuple0[39m[49m:[32m'Tuple0[39m (== (fromInt 1) b)) Tuple0)[K | ||
52 | focus: labEnd ((\[34ma[39m [32mb[39m:[32ma[39m -> ([32m\c:Type d:Type -> 'BoolCase (\e:Type -> 'Tuple0) Tuple0 c d[39m) (\[34mf[39m:[32m'Unit[39m -> [47m[32mTuple0[39m[49m) (== (fromInt 1) b)) Tuple0)[K | ||
53 | focus: labEnd ((\[34ma[39m [32mb[39m:[32ma[39m -> ([32m\c:Type d:Type -> 'BoolCase (\e:Type -> 'Tuple0) Tuple0 c d[39m) [47m[32mTuple0[39m[49m (== (fromInt 1) b)) Tuple0)[K | ||
54 | focus: labEnd ((\[34ma[39m [32mb[39m:[32ma[39m -> ([47m[32m\c:Type -> 'BoolCase (\d:Type -> 'Tuple0) Tuple0 Tuple0 c[39m[49m) (== (fromInt 1) b)) Tuple0)[K | ||
55 | check: labEnd ((\[34ma[39m [32mb[39m:[32ma[39m -> ([32m\c:Type -> 'BoolCase (\d:Type -> 'Tuple0) Tuple0 Tuple0 c[39m) ([47m== (fromInt 1) b :: [32m'Bool[39m[49m)) Tuple0)[K | ||
56 | infer: labEnd ((\[34ma[39m [32mb[39m:[32ma[39m -> ([32m\c:Type -> 'BoolCase (\d:Type -> 'Tuple0) Tuple0 Tuple0 c[39m) ([47m== (fromInt 1)[49m b : [32m'Bool[39m)) Tuple0)[K | ||
57 | infer: labEnd ((\[34ma[39m [32mb[39m:[32ma[39m -> ([32m\c:Type -> 'BoolCase (\d:Type -> 'Tuple0) Tuple0 Tuple0 c[39m) ([47m==[49m (fromInt 1) b : [32m'Bool[39m)) Tuple0)[K | ||
58 | focus: labEnd ((\[34ma[39m [32mb[39m:[32ma[39m -> ([32m\c:Type -> 'BoolCase (\d:Type -> 'Tuple0) Tuple0 Tuple0 c[39m) ([47m[32m==[39m[49m (fromInt 1) b : [32m'Bool[39m)) Tuple0)[K | ||
59 | focus: labEnd ((\[34ma[39m [32mb[39m:[32ma[39m -> ([32m\c:Type -> 'BoolCase (\d:Type -> 'Tuple0) Tuple0 Tuple0 c[39m) ([47m[32m==[39m[49m {_ : _:'Type} (fromInt 1) b : [32m'Bool[39m)) Tuple0)[K | ||
60 | check: labEnd ((\[34ma[39m [32mb[39m:[32ma[39m -> ([32m\c:Type -> 'BoolCase (\d:Type -> 'Tuple0) Tuple0 Tuple0 c[39m) ([32m==[39m {[47m(_ : _:'Type) :: [32mType[39m[49m} (fromInt 1) b : [32m'Bool[39m)) Tuple0)[K | ||
61 | infer: labEnd ((\[34ma[39m [32mb[39m:[32ma[39m -> ([32m\c:Type -> 'BoolCase (\d:Type -> 'Tuple0) Tuple0 Tuple0 c[39m) ([32m==[39m {([47m_ : _:'Type[49m) : [32mType[39m} (fromInt 1) b : [32m'Bool[39m)) Tuple0)[K | ||
62 | infer: labEnd ((\[34ma[39m [32mb[39m:[32ma[39m -> ([32m\c:Type -> 'BoolCase (\d:Type -> 'Tuple0) Tuple0 Tuple0 c[39m) ([32m==[39m {\([34me[39m : [47m_:'Type[49m)->e : [32mType[39m} (fromInt 1) b : [32m'Bool[39m)) Tuple0)[K | ||
63 | infer: labEnd ((\[34ma[39m [32mb[39m:[32ma[39m -> ([32m\c:Type -> 'BoolCase (\d:Type -> 'Tuple0) Tuple0 Tuple0 c[39m) ([32m==[39m {\([34mf[39m : (\[34me[39m:[47m'Type[49m -> e))->f : [32mType[39m} (fromInt 1) b : [32m'Bool[39m)) Tuple0)[K | ||
64 | focus: labEnd ((\[34ma[39m [32mb[39m:[32ma[39m -> ([32m\c:Type -> 'BoolCase (\d:Type -> 'Tuple0) Tuple0 Tuple0 c[39m) ([32m==[39m {\([34mf[39m : (\[34me[39m:[47m[32mType[39m[49m -> e))->f : [32mType[39m} (fromInt 1) b : [32m'Bool[39m)) Tuple0)[K | ||
65 | infer: labEnd ((\[34ma[39m [32mb[39m:[32ma[39m -> ([32m\c:Type -> 'BoolCase (\d:Type -> 'Tuple0) Tuple0 Tuple0 c[39m) ([32m==[39m {\([34mf[39m : \[34me[39m->[47me[49m)->f : [32mType[39m} (fromInt 1) b : [32m'Bool[39m)) Tuple0)[K | ||
66 | focus: labEnd ((\[34ma[39m [32mb[39m:[32ma[39m -> ([32m\c:Type -> 'BoolCase (\d:Type -> 'Tuple0) Tuple0 Tuple0 c[39m) ([32m==[39m {\([34mf[39m : \[34me[39m->[47m[32me[39m[49m)->f : [32mType[39m} (fromInt 1) b : [32m'Bool[39m)) Tuple0)[K | ||
67 | focus: labEnd ((\[34ma[39m [32mb[39m:[32ma[39m -> ([32m\c:Type -> 'BoolCase (\d:Type -> 'Tuple0) Tuple0 Tuple0 c[39m) ([32m==[39m {(\[34me[39m [34mf[39m:[47m[32me[39m[49m -> f) : [32mType[39m} (fromInt 1) b : [32m'Bool[39m)) Tuple0)[K | ||
68 | infer: labEnd ((\[34ma[39m [32mb[39m:[32ma[39m -> ([32m\c:Type -> 'BoolCase (\d:Type -> 'Tuple0) Tuple0 Tuple0 c[39m) ([32m==[39m {(\[34me[39m [34mf[39m:[32me[39m -> [47mf[49m) : [32mType[39m} (fromInt 1) b : [32m'Bool[39m)) Tuple0)[K | ||
69 | focus: labEnd ((\[34ma[39m [32mb[39m:[32ma[39m -> ([32m\c:Type -> 'BoolCase (\d:Type -> 'Tuple0) Tuple0 Tuple0 c[39m) ([32m==[39m {(\[34me[39m [34mf[39m:[32me[39m -> [47m[32mf[39m[49m) : [32mType[39m} (fromInt 1) b : [32m'Bool[39m)) Tuple0)[K | ||
70 | focus: labEnd ((\[34ma[39m [32mb[39m:[32ma[39m -> ([32m\c:Type -> 'BoolCase (\d:Type -> 'Tuple0) Tuple0 Tuple0 c[39m) ([32m==[39m {\[34me[39m [34mf[39m:[32me[39m -> [47m[32mf[39m[49m:[32mType[39m} (fromInt 1) b : [32m'Bool[39m)) Tuple0)[K | ||
71 | focus: labEnd ((\[34ma[39m [32mb[39m:[32ma[39m -> ([32m\c:Type -> 'BoolCase (\d:Type -> 'Tuple0) Tuple0 Tuple0 c[39m) ([32m==[39m {\[34me[39m [34mf[39m:[32me[39m -> \([34mg[39m : [32mType~e[39m)->[47m[32mf[39m[49m} (fromInt 1) b : [32m'Bool[39m)) Tuple0)[K | ||
72 | focus: labEnd ((\[34ma[39m [32mb[39m:[32ma[39m -> ([32m\c:Type -> 'BoolCase (\d:Type -> 'Tuple0) Tuple0 Tuple0 c[39m) ([32m==[39m {\[34me[39m [34mf[39m:[32me[39m [34me[39m:=[32mType[39m -> [47m[32mf[39m[49m} (fromInt 1) b : [32m'Bool[39m)) Tuple0)[K | ||
73 | focus: labEnd ((\[34ma[39m [32mb[39m:[32ma[39m -> ([32m\c:Type -> 'BoolCase (\d:Type -> 'Tuple0) Tuple0 Tuple0 c[39m) ([32m==[39m {\[34me[39m [34me[39m:=[32mType[39m -> \[34mf[39m->[47m[32mf[39m[49m} (fromInt 1) b : [32m'Bool[39m)) Tuple0)[K | ||
74 | focus: labEnd ((\[34ma[39m [32mb[39m:[32ma[39m -> ([32m\c:Type -> 'BoolCase (\d:Type -> 'Tuple0) Tuple0 Tuple0 c[39m) ([32m==[39m {\[34me[39m->[47m[32me[39m[49m} (fromInt 1) b : [32m'Bool[39m)) Tuple0)[K | ||
75 | focus: labEnd ((\[34ma[39m [32mb[39m:[32ma[39m -> ([32m\c:Type -> 'BoolCase (\d:Type -> 'Tuple0) Tuple0 Tuple0 c[39m) ((\[34me[39m -> [32m==[39m {[47m[32me[39m[49m}) (fromInt 1) b : [32m'Bool[39m)) Tuple0)[K | ||
76 | focus: labEnd ((\[34ma[39m [32mb[39m:[32ma[39m -> ([32m\c:Type -> 'BoolCase (\d:Type -> 'Tuple0) Tuple0 Tuple0 c[39m) ((\[34me[39m -> [47m[32m== e[39m[49m) (fromInt 1) b : [32m'Bool[39m)) Tuple0)[K | ||
77 | focus: labEnd ((\[34ma[39m [32mb[39m:[32ma[39m -> ([32m\c:Type -> 'BoolCase (\d:Type -> 'Tuple0) Tuple0 Tuple0 c[39m) ((\[34me[39m -> [47m[32m== e[39m[49m (fromInt 1)) b : [32m'Bool[39m)) Tuple0)[K | ||
78 | focus: labEnd ((\[34ma[39m [32mb[39m:[32ma[39m -> ([32m\c:Type -> 'BoolCase (\d:Type -> 'Tuple0) Tuple0 Tuple0 c[39m) ((\[34me[39m -> [47m[32m== e[39m[49m {_ : _:'Type} (fromInt 1)) b : [32m'Bool[39m)) Tuple0)[K | ||
79 | check: labEnd ((\[34ma[39m [32mb[39m:[32ma[39m -> ([32m\c:Type -> 'BoolCase (\d:Type -> 'Tuple0) Tuple0 Tuple0 c[39m) ((\[34me[39m -> [32m== e[39m {[47m(_ : _:'Type) :: [32m'Eq e[39m[49m} (fromInt 1)) b : [32m'Bool[39m)) Tuple0)[K | ||
80 | infer: labEnd ((\[34ma[39m [32mb[39m:[32ma[39m -> ([32m\c:Type -> 'BoolCase (\d:Type -> 'Tuple0) Tuple0 Tuple0 c[39m) ((\[34me[39m -> [32m== e[39m {([47m_ : _:'Type[49m) : [32m'Eq e[39m} (fromInt 1)) b : [32m'Bool[39m)) Tuple0)[K | ||
81 | infer: labEnd ((\[34ma[39m [32mb[39m:[32ma[39m -> ([32m\c:Type -> 'BoolCase (\d:Type -> 'Tuple0) Tuple0 Tuple0 c[39m) ((\[34me[39m -> [32m== e[39m {\([34mf[39m : [47m_:'Type[49m)->f : [32m'Eq e[39m} (fromInt 1)) b : [32m'Bool[39m)) Tuple0)[K | ||
82 | infer: labEnd ((\[34ma[39m [32mb[39m:[32ma[39m -> ([32m\c:Type -> 'BoolCase (\d:Type -> 'Tuple0) Tuple0 Tuple0 c[39m) ((\[34me[39m -> [32m== e[39m {\([34mg[39m : (\[34mf[39m:[47m'Type[49m -> f))->g : [32m'Eq e[39m} (fromInt 1)) b : [32m'Bool[39m)) Tuple0)[K | ||
83 | focus: labEnd ((\[34ma[39m [32mb[39m:[32ma[39m -> ([32m\c:Type -> 'BoolCase (\d:Type -> 'Tuple0) Tuple0 Tuple0 c[39m) ((\[34me[39m -> [32m== e[39m {\([34mg[39m : (\[34mf[39m:[47m[32mType[39m[49m -> f))->g : [32m'Eq e[39m} (fromInt 1)) b : [32m'Bool[39m)) Tuple0)[K | ||
84 | infer: labEnd ((\[34ma[39m [32mb[39m:[32ma[39m -> ([32m\c:Type -> 'BoolCase (\d:Type -> 'Tuple0) Tuple0 Tuple0 c[39m) ((\[34me[39m -> [32m== e[39m {\([34mg[39m : \[34mf[39m->[47mf[49m)->g : [32m'Eq e[39m} (fromInt 1)) b : [32m'Bool[39m)) Tuple0)[K | ||
85 | focus: labEnd ((\[34ma[39m [32mb[39m:[32ma[39m -> ([32m\c:Type -> 'BoolCase (\d:Type -> 'Tuple0) Tuple0 Tuple0 c[39m) ((\[34me[39m -> [32m== e[39m {\([34mg[39m : \[34mf[39m->[47m[32mf[39m[49m)->g : [32m'Eq e[39m} (fromInt 1)) b : [32m'Bool[39m)) Tuple0)[K | ||
86 | focus: labEnd ((\[34ma[39m [32mb[39m:[32ma[39m -> ([32m\c:Type -> 'BoolCase (\d:Type -> 'Tuple0) Tuple0 Tuple0 c[39m) ((\[34me[39m -> [32m== e[39m {(\[34mf[39m [34mg[39m:[47m[32mf[39m[49m -> g) : [32m'Eq e[39m} (fromInt 1)) b : [32m'Bool[39m)) Tuple0)[K | ||
87 | infer: labEnd ((\[34ma[39m [32mb[39m:[32ma[39m -> ([32m\c:Type -> 'BoolCase (\d:Type -> 'Tuple0) Tuple0 Tuple0 c[39m) ((\[34me[39m -> [32m== e[39m {(\[34mf[39m [34mg[39m:[32mf[39m -> [47mg[49m) : [32m'Eq e[39m} (fromInt 1)) b : [32m'Bool[39m)) Tuple0)[K | ||
88 | focus: labEnd ((\[34ma[39m [32mb[39m:[32ma[39m -> ([32m\c:Type -> 'BoolCase (\d:Type -> 'Tuple0) Tuple0 Tuple0 c[39m) ((\[34me[39m -> [32m== e[39m {(\[34mf[39m [34mg[39m:[32mf[39m -> [47m[32mg[39m[49m) : [32m'Eq e[39m} (fromInt 1)) b : [32m'Bool[39m)) Tuple0)[K | ||
89 | focus: labEnd ((\[34ma[39m [32mb[39m:[32ma[39m -> ([32m\c:Type -> 'BoolCase (\d:Type -> 'Tuple0) Tuple0 Tuple0 c[39m) ((\[34me[39m -> [32m== e[39m {\[34mf[39m [34mg[39m:[32mf[39m -> [47m[32mg[39m[49m : [32m'Eq e[39m} (fromInt 1)) b : [32m'Bool[39m)) Tuple0)[K | ||
90 | focus: labEnd ((\[34ma[39m [32mb[39m:[32ma[39m -> ([32m\c:Type -> 'BoolCase (\d:Type -> 'Tuple0) Tuple0 Tuple0 c[39m) ((\[34me[39m -> [32m== e[39m {\[34mf[39m [34mg[39m:[32mf[39m -> \([34mh[39m : [32m'Eq e ~ f[39m)->[47m[32mg[39m[49m} (fromInt 1)) b : [32m'Bool[39m)) Tuple0)[K | ||
91 | focus: labEnd ((\[34ma[39m [32mb[39m:[32ma[39m -> ([32m\c:Type -> 'BoolCase (\d:Type -> 'Tuple0) Tuple0 Tuple0 c[39m) ((\[34me[39m -> [32m== e[39m {\[34mf[39m [34mg[39m:[32mf[39m -> \([34mf[39m := [32m'Eq e[39m)->[47m[32mg[39m[49m} (fromInt 1)) b : [32m'Bool[39m)) Tuple0)[K | ||
92 | focus: labEnd ((\[34ma[39m [32mb[39m:[32ma[39m -> ([32m\c:Type -> 'BoolCase (\d:Type -> 'Tuple0) Tuple0 Tuple0 c[39m) ((\[34me[39m -> [32m== e[39m {\[34mf[39m ([34mf[39m := [32m'Eq e[39m) -> \([34mg[39m : [32m'Eq e[39m)->[47m[32mg[39m[49m} (fromInt 1)) b : [32m'Bool[39m)) Tuple0)[K | ||
93 | focus: labEnd ((\[34ma[39m [32mb[39m:[32ma[39m -> ([32m\c:Type -> 'BoolCase (\d:Type -> 'Tuple0) Tuple0 Tuple0 c[39m) ((\[34me[39m -> [32m== e[39m {\([34mf[39m : [32m'Eq e[39m)->[47m[32mf[39m[49m} (fromInt 1)) b : [32m'Bool[39m)) Tuple0)[K | ||
94 | focus: labEnd ((\[34ma[39m [32mb[39m:[32ma[39m -> ([32m\c:Type -> 'BoolCase (\d:Type -> 'Tuple0) Tuple0 Tuple0 c[39m) ((\[34me[39m -> (\([34mf[39m : [32m'Eq e[39m) -> [32m== e[39m {[47m[32mf[39m[49m}) (fromInt 1)) b : [32m'Bool[39m)) Tuple0)[K | ||
95 | focus: labEnd ((\[34ma[39m [32mb[39m:[32ma[39m -> ([32m\c:Type -> 'BoolCase (\d:Type -> 'Tuple0) Tuple0 Tuple0 c[39m) ((\[34me[39m -> (\([34mf[39m : [32m'Eq e[39m) -> [47m[32m== e f[39m[49m) (fromInt 1)) b : [32m'Bool[39m)) Tuple0)[K | ||
96 | focus: labEnd ((\[34ma[39m [32mb[39m:[32ma[39m -> ([32m\c:Type -> 'BoolCase (\d:Type -> 'Tuple0) Tuple0 Tuple0 c[39m) ((\[34me[39m ([34mf[39m : [32m'Eq e[39m) -> [47m[32m== e f[39m[49m (fromInt 1)) b : [32m'Bool[39m)) Tuple0)[K | ||
97 | check: labEnd ((\[34ma[39m [32mb[39m:[32ma[39m -> ([32m\c:Type -> 'BoolCase (\d:Type -> 'Tuple0) Tuple0 Tuple0 c[39m) ((\[34me[39m ([34mf[39m : [32m'Eq e[39m) -> [32m== e f[39m ([47mfromInt 1 :: [32me[39m[49m)) b : [32m'Bool[39m)) Tuple0)[K | ||
98 | infer: labEnd ((\[34ma[39m [32mb[39m:[32ma[39m -> ([32m\c:Type -> 'BoolCase (\d:Type -> 'Tuple0) Tuple0 Tuple0 c[39m) ((\[34me[39m ([34mf[39m : [32m'Eq e[39m) -> [32m== e f[39m ([47mfromInt[49m 1 : [32me[39m)) b : [32m'Bool[39m)) Tuple0)[K | ||
99 | focus: labEnd ((\[34ma[39m [32mb[39m:[32ma[39m -> ([32m\c:Type -> 'BoolCase (\d:Type -> 'Tuple0) Tuple0 Tuple0 c[39m) ((\[34me[39m ([34mf[39m : [32m'Eq e[39m) -> [32m== e f[39m ([47m[32mfromInt[39m[49m 1 : [32me[39m)) b : [32m'Bool[39m)) Tuple0)[K | ||
100 | focus: labEnd ((\[34ma[39m [32mb[39m:[32ma[39m -> ([32m\c:Type -> 'BoolCase (\d:Type -> 'Tuple0) Tuple0 Tuple0 c[39m) ((\[34me[39m ([34mf[39m : [32m'Eq e[39m) -> [32m== e f[39m ([47m[32mfromInt[39m[49m 1 : [32me[39m)) b : [32m'Bool[39m)) Tuple0)[K | ||
101 | focus: labEnd ((\[34ma[39m [32mb[39m:[32ma[39m -> ([32m\c:Type -> 'BoolCase (\d:Type -> 'Tuple0) Tuple0 Tuple0 c[39m) ((\[34me[39m ([34mf[39m : [32m'Eq e[39m) -> [32m== e f[39m ([47m[32mfromInt[39m[49m {_ : _:'Type} 1 : [32me[39m)) b : [32m'Bool[39m)) Tuple0)[K | ||
102 | check: labEnd ((\[34ma[39m [32mb[39m:[32ma[39m -> ([32m\c:Type -> 'BoolCase (\d:Type -> 'Tuple0) Tuple0 Tuple0 c[39m) ((\[34me[39m ([34mf[39m : [32m'Eq e[39m) -> [32m== e f[39m ([32mfromInt[39m {[47m(_ : _:'Type) :: [32mType[39m[49m} 1 : [32me[39m)) b : [32m'Bool[39m)) Tuple0)[K | ||
103 | infer: labEnd ((\[34ma[39m [32mb[39m:[32ma[39m -> ([32m\c:Type -> 'BoolCase (\d:Type -> 'Tuple0) Tuple0 Tuple0 c[39m) ((\[34me[39m ([34mf[39m : [32m'Eq e[39m) -> [32m== e f[39m ([32mfromInt[39m {([47m_ : _:'Type[49m) : [32mType[39m} 1 : [32me[39m)) b : [32m'Bool[39m)) Tuple0)[K | ||
104 | infer: labEnd ((\[34ma[39m [32mb[39m:[32ma[39m -> ([32m\c:Type -> 'BoolCase (\d:Type -> 'Tuple0) Tuple0 Tuple0 c[39m) ((\[34me[39m ([34mf[39m : [32m'Eq e[39m) -> [32m== e f[39m ([32mfromInt[39m {\([34mg[39m : [47m_:'Type[49m)->g : [32mType[39m} 1 : [32me[39m)) b : [32m'Bool[39m)) Tuple0)[K | ||
105 | infer: labEnd ((\[34ma[39m [32mb[39m:[32ma[39m -> ([32m\c:Type -> 'BoolCase (\d:Type -> 'Tuple0) Tuple0 Tuple0 c[39m) ((\[34me[39m ([34mf[39m : [32m'Eq e[39m) -> [32m== e f[39m ([32mfromInt[39m {\([34mh[39m : (\[34mg[39m:[47m'Type[49m -> g))->h : [32mType[39m} 1 : [32me[39m)) b : [32m'Bool[39m)) Tuple0)[K | ||
106 | focus: labEnd ((\[34ma[39m [32mb[39m:[32ma[39m -> ([32m\c:Type -> 'BoolCase (\d:Type -> 'Tuple0) Tuple0 Tuple0 c[39m) ((\[34me[39m ([34mf[39m : [32m'Eq e[39m) -> [32m== e f[39m ([32mfromInt[39m {\([34mh[39m : (\[34mg[39m:[47m[32mType[39m[49m -> g))->h : [32mType[39m} 1 : [32me[39m)) b : [32m'Bool[39m)) Tuple0)[K | ||
107 | infer: labEnd ((\[34ma[39m [32mb[39m:[32ma[39m -> ([32m\c:Type -> 'BoolCase (\d:Type -> 'Tuple0) Tuple0 Tuple0 c[39m) ((\[34me[39m ([34mf[39m : [32m'Eq e[39m) -> [32m== e f[39m ([32mfromInt[39m {\([34mh[39m : \[34mg[39m->[47mg[49m)->h : [32mType[39m} 1 : [32me[39m)) b : [32m'Bool[39m)) Tuple0)[K | ||
108 | focus: labEnd ((\[34ma[39m [32mb[39m:[32ma[39m -> ([32m\c:Type -> 'BoolCase (\d:Type -> 'Tuple0) Tuple0 Tuple0 c[39m) ((\[34me[39m ([34mf[39m : [32m'Eq e[39m) -> [32m== e f[39m ([32mfromInt[39m {\([34mh[39m : \[34mg[39m->[47m[32mg[39m[49m)->h : [32mType[39m} 1 : [32me[39m)) b : [32m'Bool[39m)) Tuple0)[K | ||
109 | focus: labEnd ((\[34ma[39m [32mb[39m:[32ma[39m -> ([32m\c:Type -> 'BoolCase (\d:Type -> 'Tuple0) Tuple0 Tuple0 c[39m) ((\[34me[39m ([34mf[39m : [32m'Eq e[39m) -> [32m== e f[39m ([32mfromInt[39m {(\[34mg[39m [34mh[39m:[47m[32mg[39m[49m -> h) : [32mType[39m} 1 : [32me[39m)) b : [32m'Bool[39m)) Tuple0)[K | ||
110 | infer: labEnd ((\[34ma[39m [32mb[39m:[32ma[39m -> ([32m\c:Type -> 'BoolCase (\d:Type -> 'Tuple0) Tuple0 Tuple0 c[39m) ((\[34me[39m ([34mf[39m : [32m'Eq e[39m) -> [32m== e f[39m ([32mfromInt[39m {(\[34mg[39m [34mh[39m:[32mg[39m -> [47mh[49m) : [32mType[39m} 1 : [32me[39m)) b : [32m'Bool[39m)) Tuple0)[K | ||
111 | focus: labEnd ((\[34ma[39m [32mb[39m:[32ma[39m -> ([32m\c:Type -> 'BoolCase (\d:Type -> 'Tuple0) Tuple0 Tuple0 c[39m) ((\[34me[39m ([34mf[39m : [32m'Eq e[39m) -> [32m== e f[39m ([32mfromInt[39m {(\[34mg[39m [34mh[39m:[32mg[39m -> [47m[32mh[39m[49m) : [32mType[39m} 1 : [32me[39m)) b : [32m'Bool[39m)) Tuple0)[K | ||
112 | focus: labEnd ((\[34ma[39m [32mb[39m:[32ma[39m -> ([32m\c:Type -> 'BoolCase (\d:Type -> 'Tuple0) Tuple0 Tuple0 c[39m) ((\[34me[39m ([34mf[39m : [32m'Eq e[39m) -> [32m== e f[39m ([32mfromInt[39m {\[34mg[39m [34mh[39m:[32mg[39m -> [47m[32mh[39m[49m:[32mType[39m} 1 : [32me[39m)) b : [32m'Bool[39m)) Tuple0)[K | ||
113 | focus: labEnd ((\[34ma[39m [32mb[39m:[32ma[39m -> ([32m\c:Type -> 'BoolCase (\d:Type -> 'Tuple0) Tuple0 Tuple0 c[39m) ((\[34me[39m ([34mf[39m : [32m'Eq e[39m) -> [32m== e f[39m ([32mfromInt[39m {\[34mg[39m [34mh[39m:[32mg[39m -> \([34mi[39m : [32mType~g[39m)->[47m[32mh[39m[49m} 1 : [32me[39m)) b : [32m'Bool[39m)) Tuple0)[K | ||
114 | focus: labEnd ((\[34ma[39m [32mb[39m:[32ma[39m -> ([32m\c:Type -> 'BoolCase (\d:Type -> 'Tuple0) Tuple0 Tuple0 c[39m) ((\[34me[39m ([34mf[39m : [32m'Eq e[39m) -> [32m== e f[39m ([32mfromInt[39m {\[34mg[39m [34mh[39m:[32mg[39m [34mg[39m:=[32mType[39m -> [47m[32mh[39m[49m} 1 : [32me[39m)) b : [32m'Bool[39m)) Tuple0)[K | ||
115 | focus: labEnd ((\[34ma[39m [32mb[39m:[32ma[39m -> ([32m\c:Type -> 'BoolCase (\d:Type -> 'Tuple0) Tuple0 Tuple0 c[39m) ((\[34me[39m ([34mf[39m : [32m'Eq e[39m) -> [32m== e f[39m ([32mfromInt[39m {\[34mg[39m [34mg[39m:=[32mType[39m -> \[34mh[39m->[47m[32mh[39m[49m} 1 : [32me[39m)) b : [32m'Bool[39m)) Tuple0)[K | ||
116 | focus: labEnd ((\[34ma[39m [32mb[39m:[32ma[39m -> ([32m\c:Type -> 'BoolCase (\d:Type -> 'Tuple0) Tuple0 Tuple0 c[39m) ((\[34me[39m ([34mf[39m : [32m'Eq e[39m) -> [32m== e f[39m ([32mfromInt[39m {\[34mg[39m->[47m[32mg[39m[49m} 1 : [32me[39m)) b : [32m'Bool[39m)) Tuple0)[K | ||
117 | focus: labEnd ((\[34ma[39m [32mb[39m:[32ma[39m -> ([32m\c:Type -> 'BoolCase (\d:Type -> 'Tuple0) Tuple0 Tuple0 c[39m) ((\[34me[39m ([34mf[39m : [32m'Eq e[39m) -> [32m== e f[39m ((\[34mg[39m -> [32mfromInt[39m {[47m[32mg[39m[49m}) 1 : [32me[39m)) b : [32m'Bool[39m)) Tuple0)[K | ||
118 | focus: labEnd ((\[34ma[39m [32mb[39m:[32ma[39m -> ([32m\c:Type -> 'BoolCase (\d:Type -> 'Tuple0) Tuple0 Tuple0 c[39m) ((\[34me[39m ([34mf[39m : [32m'Eq e[39m) -> [32m== e f[39m ((\[34mg[39m -> [47m[32mfromInt g[39m[49m) 1 : [32me[39m)) b : [32m'Bool[39m)) Tuple0)[K | ||
119 | focus: labEnd ((\[34ma[39m [32mb[39m:[32ma[39m -> ([32m\c:Type -> 'BoolCase (\d:Type -> 'Tuple0) Tuple0 Tuple0 c[39m) ((\[34me[39m ([34mf[39m : [32m'Eq e[39m) -> [32m== e f[39m ((\[34mg[39m -> [47m[32mfromInt g[39m[49m 1) : [32me[39m)) b : [32m'Bool[39m)) Tuple0)[K | ||
120 | focus: labEnd ((\[34ma[39m [32mb[39m:[32ma[39m -> ([32m\c:Type -> 'BoolCase (\d:Type -> 'Tuple0) Tuple0 Tuple0 c[39m) ((\[34me[39m ([34mf[39m : [32m'Eq e[39m) -> [32m== e f[39m ((\[34mg[39m -> [47m[32mfromInt g[39m[49m {_ : _:'Type} 1) : [32me[39m)) b : [32m'Bool[39m)) Tuple0)[K | ||
121 | check: labEnd ((\[34ma[39m [32mb[39m:[32ma[39m -> ([32m\c:Type -> 'BoolCase (\d:Type -> 'Tuple0) Tuple0 Tuple0 c[39m) ((\[34me[39m ([34mf[39m : [32m'Eq e[39m) -> [32m== e f[39m ((\[34mg[39m -> [32mfromInt g[39m {[47m(_ : _:'Type) :: [32m'Num g[39m[49m} 1) : [32me[39m)) b : [32m'Bool[39m)) Tuple0)[K | ||
122 | infer: labEnd ((\[34ma[39m [32mb[39m:[32ma[39m -> ([32m\c:Type -> 'BoolCase (\d:Type -> 'Tuple0) Tuple0 Tuple0 c[39m) ((\[34me[39m ([34mf[39m : [32m'Eq e[39m) -> [32m== e f[39m ((\[34mg[39m -> [32mfromInt g[39m {([47m_ : _:'Type[49m) : [32m'Num g[39m} 1) : [32me[39m)) b : [32m'Bool[39m)) Tuple0)[K | ||
123 | infer: labEnd ((\[34ma[39m [32mb[39m:[32ma[39m -> ([32m\c:Type -> 'BoolCase (\d:Type -> 'Tuple0) Tuple0 Tuple0 c[39m) ((\[34me[39m ([34mf[39m : [32m'Eq e[39m) -> [32m== e f[39m ((\[34mg[39m -> [32mfromInt g[39m {\([34mh[39m : [47m_:'Type[49m)->h : [32m'Num g[39m} 1) : [32me[39m)) b : [32m'Bool[39m)) Tuple0)[K | ||
124 | infer: labEnd ((\[34ma[39m [32mb[39m:[32ma[39m -> ([32m\c:Type -> 'BoolCase (\d:Type -> 'Tuple0) Tuple0 Tuple0 c[39m) ((\[34me[39m ([34mf[39m : [32m'Eq e[39m) -> [32m== e f[39m ((\[34mg[39m -> [32mfromInt g[39m {\([34mi[39m : (\[34mh[39m:[47m'Type[49m -> h))->i : [32m'Num g[39m} 1) : [32me[39m)) b : [32m'Bool[39m)) Tuple0)[K | ||
125 | focus: labEnd ((\[34ma[39m [32mb[39m:[32ma[39m -> ([32m\c:Type -> 'BoolCase (\d:Type -> 'Tuple0) Tuple0 Tuple0 c[39m) ((\[34me[39m ([34mf[39m : [32m'Eq e[39m) -> [32m== e f[39m ((\[34mg[39m -> [32mfromInt g[39m {\([34mi[39m : (\[34mh[39m:[47m[32mType[39m[49m -> h))->i : [32m'Num g[39m} 1) : [32me[39m)) b : [32m'Bool[39m)) Tuple0)[K | ||
126 | infer: labEnd ((\[34ma[39m [32mb[39m:[32ma[39m -> ([32m\c:Type -> 'BoolCase (\d:Type -> 'Tuple0) Tuple0 Tuple0 c[39m) ((\[34me[39m ([34mf[39m : [32m'Eq e[39m) -> [32m== e f[39m ((\[34mg[39m -> [32mfromInt g[39m {\([34mi[39m : \[34mh[39m->[47mh[49m)->i : [32m'Num g[39m} 1) : [32me[39m)) b : [32m'Bool[39m)) Tuple0)[K | ||
127 | focus: labEnd ((\[34ma[39m [32mb[39m:[32ma[39m -> ([32m\c:Type -> 'BoolCase (\d:Type -> 'Tuple0) Tuple0 Tuple0 c[39m) ((\[34me[39m ([34mf[39m : [32m'Eq e[39m) -> [32m== e f[39m ((\[34mg[39m -> [32mfromInt g[39m {\([34mi[39m : \[34mh[39m->[47m[32mh[39m[49m)->i : [32m'Num g[39m} 1) : [32me[39m)) b : [32m'Bool[39m)) Tuple0)[K | ||
128 | focus: labEnd ((\[34ma[39m [32mb[39m:[32ma[39m -> ([32m\c:Type -> 'BoolCase (\d:Type -> 'Tuple0) Tuple0 Tuple0 c[39m) ((\[34me[39m ([34mf[39m : [32m'Eq e[39m) -> [32m== e f[39m ((\[34mg[39m -> [32mfromInt g[39m {(\[34mh[39m [34mi[39m:[47m[32mh[39m[49m -> i) : [32m'Num g[39m} 1) : [32me[39m)) b : [32m'Bool[39m)) Tuple0)[K | ||
129 | infer: labEnd ((\[34ma[39m [32mb[39m:[32ma[39m -> ([32m\c:Type -> 'BoolCase (\d:Type -> 'Tuple0) Tuple0 Tuple0 c[39m) ((\[34me[39m ([34mf[39m : [32m'Eq e[39m) -> [32m== e f[39m ((\[34mg[39m -> [32mfromInt g[39m {(\[34mh[39m [34mi[39m:[32mh[39m -> [47mi[49m) : [32m'Num g[39m} 1) : [32me[39m)) b : [32m'Bool[39m)) Tuple0)[K | ||
130 | focus: labEnd ((\[34ma[39m [32mb[39m:[32ma[39m -> ([32m\c:Type -> 'BoolCase (\d:Type -> 'Tuple0) Tuple0 Tuple0 c[39m) ((\[34me[39m ([34mf[39m : [32m'Eq e[39m) -> [32m== e f[39m ((\[34mg[39m -> [32mfromInt g[39m {(\[34mh[39m [34mi[39m:[32mh[39m -> [47m[32mi[39m[49m) : [32m'Num g[39m} 1) : [32me[39m)) b : [32m'Bool[39m)) Tuple0)[K | ||
131 | focus: labEnd ((\[34ma[39m [32mb[39m:[32ma[39m -> ([32m\c:Type -> 'BoolCase (\d:Type -> 'Tuple0) Tuple0 Tuple0 c[39m) ((\[34me[39m ([34mf[39m : [32m'Eq e[39m) -> [32m== e f[39m ((\[34mg[39m -> [32mfromInt g[39m {\[34mh[39m [34mi[39m:[32mh[39m -> [47m[32mi[39m[49m : [32m'Num g[39m} 1) : [32me[39m)) b : [32m'Bool[39m)) Tuple0)[K | ||
132 | focus: labEnd ((\[34ma[39m [32mb[39m:[32ma[39m -> ([32m\c:Type -> 'BoolCase (\d:Type -> 'Tuple0) Tuple0 Tuple0 c[39m) ((\[34me[39m ([34mf[39m : [32m'Eq e[39m) -> [32m== e f[39m ((\[34mg[39m -> [32mfromInt g[39m {\[34mh[39m [34mi[39m:[32mh[39m -> \([34mj[39m : [32m'Num g ~ h[39m)->[47m[32mi[39m[49m} 1) : [32me[39m)) b : [32m'Bool[39m)) Tuple0)[K | ||
133 | focus: labEnd ((\[34ma[39m [32mb[39m:[32ma[39m -> ([32m\c:Type -> 'BoolCase (\d:Type -> 'Tuple0) Tuple0 Tuple0 c[39m) ((\[34me[39m ([34mf[39m : [32m'Eq e[39m) -> [32m== e f[39m ((\[34mg[39m -> [32mfromInt g[39m {\[34mh[39m [34mi[39m:[32mh[39m -> \([34mh[39m := [32m'Num g[39m)->[47m[32mi[39m[49m} 1) : [32me[39m)) b : [32m'Bool[39m)) Tuple0)[K | ||
134 | focus: labEnd ((\[34ma[39m [32mb[39m:[32ma[39m -> ([32m\c:Type -> 'BoolCase (\d:Type -> 'Tuple0) Tuple0 Tuple0 c[39m) ((\[34me[39m ([34mf[39m : [32m'Eq e[39m) -> [32m== e f[39m ((\[34mg[39m -> [32mfromInt g[39m {\[34mh[39m ([34mh[39m := [32m'Num g[39m) -> \([34mi[39m : [32m'Num g[39m)->[47m[32mi[39m[49m} 1) : [32me[39m)) b : [32m'Bool[39m)) Tuple0)[K | ||
135 | focus: labEnd ((\[34ma[39m [32mb[39m:[32ma[39m -> ([32m\c:Type -> 'BoolCase (\d:Type -> 'Tuple0) Tuple0 Tuple0 c[39m) ((\[34me[39m ([34mf[39m : [32m'Eq e[39m) -> [32m== e f[39m ((\[34mg[39m -> [32mfromInt g[39m {\([34mh[39m : [32m'Num g[39m)->[47m[32mh[39m[49m} 1) : [32me[39m)) b : [32m'Bool[39m)) Tuple0)[K | ||
136 | focus: labEnd ((\[34ma[39m [32mb[39m:[32ma[39m -> ([32m\c:Type -> 'BoolCase (\d:Type -> 'Tuple0) Tuple0 Tuple0 c[39m) ((\[34me[39m ([34mf[39m : [32m'Eq e[39m) -> [32m== e f[39m ((\[34mg[39m -> (\([34mh[39m : [32m'Num g[39m) -> [32mfromInt g[39m {[47m[32mh[39m[49m}) 1) : [32me[39m)) b : [32m'Bool[39m)) Tuple0)[K | ||
137 | focus: labEnd ((\[34ma[39m [32mb[39m:[32ma[39m -> ([32m\c:Type -> 'BoolCase (\d:Type -> 'Tuple0) Tuple0 Tuple0 c[39m) ((\[34me[39m ([34mf[39m : [32m'Eq e[39m) -> [32m== e f[39m ((\[34mg[39m -> (\([34mh[39m : [32m'Num g[39m) -> [47m[32mfromInt g h[39m[49m) 1) : [32me[39m)) b : [32m'Bool[39m)) Tuple0)[K | ||
138 | focus: labEnd ((\[34ma[39m [32mb[39m:[32ma[39m -> ([32m\c:Type -> 'BoolCase (\d:Type -> 'Tuple0) Tuple0 Tuple0 c[39m) ((\[34me[39m ([34mf[39m : [32m'Eq e[39m) -> [32m== e f[39m ((\[34mg[39m ([34mh[39m : [32m'Num g[39m) -> [47m[32mfromInt g h[39m[49m 1) : [32me[39m)) b : [32m'Bool[39m)) Tuple0)[K | ||
139 | check: labEnd ((\[34ma[39m [32mb[39m:[32ma[39m -> ([32m\c:Type -> 'BoolCase (\d:Type -> 'Tuple0) Tuple0 Tuple0 c[39m) ((\[34me[39m ([34mf[39m : [32m'Eq e[39m) -> [32m== e f[39m ((\[34mg[39m ([34mh[39m : [32m'Num g[39m) -> [32mfromInt g h[39m [47m1::[32m'Int[39m[49m) : [32me[39m)) b : [32m'Bool[39m)) Tuple0)[K | ||
140 | infer: labEnd ((\[34ma[39m [32mb[39m:[32ma[39m -> ([32m\c:Type -> 'BoolCase (\d:Type -> 'Tuple0) Tuple0 Tuple0 c[39m) ((\[34me[39m ([34mf[39m : [32m'Eq e[39m) -> [32m== e f[39m ((\[34mg[39m ([34mh[39m : [32m'Num g[39m) -> [32mfromInt g h[39m [47m1[49m:[32m'Int[39m) : [32me[39m)) b : [32m'Bool[39m)) Tuple0)[K | ||
141 | focus: labEnd ((\[34ma[39m [32mb[39m:[32ma[39m -> ([32m\c:Type -> 'BoolCase (\d:Type -> 'Tuple0) Tuple0 Tuple0 c[39m) ((\[34me[39m ([34mf[39m : [32m'Eq e[39m) -> [32m== e f[39m ((\[34mg[39m ([34mh[39m : [32m'Num g[39m) -> [32mfromInt g h[39m [47m[32m1[39m[49m:[32m'Int[39m) : [32me[39m)) b : [32m'Bool[39m)) Tuple0)[K | ||
142 | focus: labEnd ((\[34ma[39m [32mb[39m:[32ma[39m -> ([32m\c:Type -> 'BoolCase (\d:Type -> 'Tuple0) Tuple0 Tuple0 c[39m) ((\[34me[39m ([34mf[39m : [32m'Eq e[39m) -> [32m== e f[39m ((\[34mg[39m ([34mh[39m : [32m'Num g[39m) -> [32mfromInt g h[39m (\[34mi[39m:[32m'Unit[39m -> [47m[32m1[39m[49m)) : [32me[39m)) b : [32m'Bool[39m)) Tuple0)[K | ||
143 | focus: labEnd ((\[34ma[39m [32mb[39m:[32ma[39m -> ([32m\c:Type -> 'BoolCase (\d:Type -> 'Tuple0) Tuple0 Tuple0 c[39m) ((\[34me[39m ([34mf[39m : [32m'Eq e[39m) -> [32m== e f[39m ((\[34mg[39m ([34mh[39m : [32m'Num g[39m) -> [32mfromInt g h[39m [47m[32m1[39m[49m) : [32me[39m)) b : [32m'Bool[39m)) Tuple0)[K | ||
144 | focus: labEnd ((\[34ma[39m [32mb[39m:[32ma[39m -> ([32m\c:Type -> 'BoolCase (\d:Type -> 'Tuple0) Tuple0 Tuple0 c[39m) ((\[34me[39m ([34mf[39m : [32m'Eq e[39m) -> [32m== e f[39m ((\[34mg[39m ([34mh[39m : [32m'Num g[39m) -> [47m[32mfromInt g h 1[39m[49m) : [32me[39m)) b : [32m'Bool[39m)) Tuple0)[K | ||
145 | focus: labEnd ((\[34ma[39m [32mb[39m:[32ma[39m -> ([32m\c:Type -> 'BoolCase (\d:Type -> 'Tuple0) Tuple0 Tuple0 c[39m) ((\[34me[39m ([34mf[39m : [32m'Eq e[39m) -> [32m== e f[39m (\[34mg[39m ([34mh[39m : [32m'Num g[39m) -> [47m[32mfromInt g h 1[39m[49m : [32me[39m)) b : [32m'Bool[39m)) Tuple0)[K | ||
146 | focus: labEnd ((\[34ma[39m [32mb[39m:[32ma[39m -> ([32m\c:Type -> 'BoolCase (\d:Type -> 'Tuple0) Tuple0 Tuple0 c[39m) ((\[34me[39m ([34mf[39m : [32m'Eq e[39m) -> [32m== e f[39m (\[34mg[39m ([34mh[39m : [32m'Num g[39m) ([34mi[39m : [32me~g[39m) -> [47m[32mfromInt g h 1[39m[49m)) b : [32m'Bool[39m)) Tuple0)[K | ||
147 | focus: labEnd ((\[34ma[39m [32mb[39m:[32ma[39m -> ([32m\c:Type -> 'BoolCase (\d:Type -> 'Tuple0) Tuple0 Tuple0 c[39m) ((\[34me[39m ([34mf[39m : [32m'Eq e[39m) -> [32m== e f[39m (\[34mg[39m ([34mh[39m : [32m'Num g[39m) [34mg[39m:=[32me[39m -> [47m[32mfromInt e h 1[39m[49m)) b : [32m'Bool[39m)) Tuple0)[K | ||
148 | focus: labEnd ((\[34ma[39m [32mb[39m:[32ma[39m -> ([32m\c:Type -> 'BoolCase (\d:Type -> 'Tuple0) Tuple0 Tuple0 c[39m) ((\[34me[39m ([34mf[39m : [32m'Eq e[39m) -> [32m== e f[39m (\[34mg[39m [34mg[39m:=[32me[39m ([34mh[39m : [32m'Num e[39m) -> [47m[32mfromInt e h 1[39m[49m)) b : [32m'Bool[39m)) Tuple0)[K | ||
149 | focus: labEnd ((\[34ma[39m [32mb[39m:[32ma[39m -> ([32m\c:Type -> 'BoolCase (\d:Type -> 'Tuple0) Tuple0 Tuple0 c[39m) ((\[34me[39m ([34mf[39m : [32m'Eq e[39m) -> [32m== e f[39m (\([34mg[39m : [32m'Num e[39m) -> [47m[32mfromInt e g 1[39m[49m)) b : [32m'Bool[39m)) Tuple0)[K | ||
150 | focus: labEnd ((\[34ma[39m [32mb[39m:[32ma[39m -> ([32m\c:Type -> 'BoolCase (\d:Type -> 'Tuple0) Tuple0 Tuple0 c[39m) ((\[34me[39m ([34mf[39m : [32m'Eq e[39m) ([34mg[39m : [32m'Num e[39m) -> [32m== e f[39m ([47m[32mfromInt e g 1[39m[49m)) b : [32m'Bool[39m)) Tuple0)[K | ||
151 | focus: labEnd ((\[34ma[39m [32mb[39m:[32ma[39m -> ([32m\c:Type -> 'BoolCase (\d:Type -> 'Tuple0) Tuple0 Tuple0 c[39m) ((\[34me[39m ([34mf[39m : [32m'Eq e[39m) ([34mg[39m : [32m'Num e[39m) -> [47m[32m== e f (fromInt e g 1)[39m[49m) b : [32m'Bool[39m)) Tuple0)[K | ||
152 | focus: labEnd ((\[34ma[39m [32mb[39m:[32ma[39m -> ([32m\c:Type -> 'BoolCase (\d:Type -> 'Tuple0) Tuple0 Tuple0 c[39m) (\[34me[39m ([34mf[39m : [32m'Eq e[39m) ([34mg[39m : [32m'Num e[39m) -> [47m[32m== e f (fromInt e g 1)[39m[49m b : [32m'Bool[39m)) Tuple0)[K | ||
153 | focus: labEnd ((\[34ma[39m [32mb[39m:[32ma[39m -> ([32m\c:Type -> 'BoolCase (\d:Type -> 'Tuple0) Tuple0 Tuple0 c[39m) (\[34me[39m ([34mf[39m : [32m'Eq e[39m) ([34mg[39m : [32m'Num e[39m) -> (\[34mh[39m:[32m'Unit[39m -> [47m[32m== e f (fromInt e g 1)[39m[49m) b)) Tuple0)[K | ||
154 | focus: labEnd ((\[34ma[39m [32mb[39m:[32ma[39m -> ([32m\c:Type -> 'BoolCase (\d:Type -> 'Tuple0) Tuple0 Tuple0 c[39m) (\[34me[39m ([34mf[39m : [32m'Eq e[39m) ([34mg[39m : [32m'Num e[39m) -> [47m[32m== e f (fromInt e g 1)[39m[49m b)) Tuple0)[K | ||
155 | check: labEnd ((\[34ma[39m [32mb[39m:[32ma[39m -> ([32m\c:Type -> 'BoolCase (\d:Type -> 'Tuple0) Tuple0 Tuple0 c[39m) (\[34me[39m ([34mf[39m : [32m'Eq e[39m) ([34mg[39m : [32m'Num e[39m) -> [32m== e f (fromInt e g 1)[39m [47mb::[32me[39m[49m)) Tuple0)[K | ||
156 | infer: labEnd ((\[34ma[39m [32mb[39m:[32ma[39m -> ([32m\c:Type -> 'BoolCase (\d:Type -> 'Tuple0) Tuple0 Tuple0 c[39m) (\[34me[39m ([34mf[39m : [32m'Eq e[39m) ([34mg[39m : [32m'Num e[39m) -> [32m== e f (fromInt e g 1)[39m [47mb[49m:[32me[39m)) Tuple0)[K | ||
157 | focus: labEnd ((\[34ma[39m [32mb[39m:[32ma[39m -> ([32m\c:Type -> 'BoolCase (\d:Type -> 'Tuple0) Tuple0 Tuple0 c[39m) (\[34me[39m ([34mf[39m : [32m'Eq e[39m) ([34mg[39m : [32m'Num e[39m) -> [32m== e f (fromInt e g 1)[39m [47m[32mb[39m[49m:[32me[39m)) Tuple0)[K | ||
158 | focus: labEnd ((\[34ma[39m [32mb[39m:[32ma[39m -> ([32m\c:Type -> 'BoolCase (\d:Type -> 'Tuple0) Tuple0 Tuple0 c[39m) (\[34me[39m ([34mf[39m : [32m'Eq e[39m) ([34mg[39m : [32m'Num e[39m) -> [32m== e f (fromInt e g 1)[39m \([34mh[39m : [32me~a[39m)->[47m[32mb[39m[49m)) Tuple0)[K | ||
159 | focus: labEnd ((\[34ma[39m [32mb[39m:[32ma[39m -> ([32m\c:Type -> 'BoolCase (\d:Type -> 'Tuple0) Tuple0 Tuple0 c[39m) (\[34me[39m ([34mf[39m : [32m'Eq e[39m) ([34mg[39m : [32m'Num e[39m) -> [32m== e f (fromInt e g 1)[39m (\[34me[39m:=[32ma[39m -> [47m[32mb[39m[49m))) Tuple0)[K | ||
160 | focus: labEnd ((\[34ma[39m [32mb[39m:[32ma[39m -> ([32m\c:Type -> 'BoolCase (\d:Type -> 'Tuple0) Tuple0 Tuple0 c[39m) (\[34me[39m ([34mf[39m : [32m'Eq e[39m) ([34mg[39m : [32m'Num e[39m) [34me[39m:=[32ma[39m -> [32m== a f (fromInt a g 1)[39m [47m[32mb[39m[49m)) Tuple0)[K | ||
161 | focus: labEnd ((\[34ma[39m [32mb[39m:[32ma[39m -> ([32m\c:Type -> 'BoolCase (\d:Type -> 'Tuple0) Tuple0 Tuple0 c[39m) (\[34me[39m ([34mf[39m : [32m'Eq e[39m) ([34mg[39m : [32m'Num e[39m) [34me[39m:=[32ma[39m -> [47m[32m== a f (fromInt a g 1) b[39m[49m)) Tuple0)[K | ||
162 | focus: labEnd ((\[34ma[39m [32mb[39m:[32ma[39m -> ([32m\c:Type -> 'BoolCase (\d:Type -> 'Tuple0) Tuple0 Tuple0 c[39m) (\[34me[39m ([34mf[39m : [32m'Eq e[39m) [34me[39m:=[32ma[39m ([34mg[39m : [32m'Num a[39m) -> [47m[32m== a f (fromInt a g 1) b[39m[49m)) Tuple0)[K | ||
163 | focus: labEnd ((\[34ma[39m [32mb[39m:[32ma[39m -> ([32m\c:Type -> 'BoolCase (\d:Type -> 'Tuple0) Tuple0 Tuple0 c[39m) (\[34me[39m [34me[39m:=[32ma[39m ([34mf[39m : [32m'Eq a[39m) ([34mg[39m : [32m'Num a[39m) -> [47m[32m== a f (fromInt a g 1) b[39m[49m)) Tuple0)[K | ||
164 | focus: labEnd ((\[34ma[39m [32mb[39m:[32ma[39m -> ([32m\c:Type -> 'BoolCase (\d:Type -> 'Tuple0) Tuple0 Tuple0 c[39m) (\([34me[39m : [32m'Eq a[39m) ([34mf[39m : [32m'Num a[39m) -> [47m[32m== a e (fromInt a f 1) b[39m[49m)) Tuple0)[K | ||
165 | focus: labEnd ((\[34ma[39m [32mb[39m:[32ma[39m ([34mc[39m : [32m'Eq a[39m) ([34md[39m : [32m'Num a[39m) -> ([32m\e:Type -> 'BoolCase (\f:Type -> 'Tuple0) Tuple0 Tuple0 e[39m) ([47m[32m== a c (fromInt a d 1) b[39m[49m)) Tuple0)[K | ||
166 | focus: labEnd ((\[34ma[39m [32mb[39m:[32ma[39m ([34mc[39m : [32m'Eq a[39m) ([34md[39m : [32m'Num a[39m) -> [47m[32m'BoolCase (\e:Type -> 'Tuple0) Tuple0 Tuple0 (== a c (fromInt a d 1) b)[39m[49m) Tuple0)[K | ||
167 | focus: labEnd ((\[34ma[39m ([34mb[39m : [32m'Eq a[39m) ([34mc[39m : [32m'Num a[39m) [32md[39m:[32ma[39m -> [47m[32m'BoolCase (\e:Type -> 'Tuple0) Tuple0 Tuple0 (== a b (fromInt a c 1) d)[39m[49m) Tuple0)[K | ||
168 | focus: labEnd ((\[34ma[39m ([34mb[39m : [32m'Eq a[39m) ([34mc[39m : [32m'Num a[39m) [47m[32md:Type -> 'BoolCase (\e:Type -> 'Tuple0) Tuple0 Tuple0 (== a b (fromInt a c 1) d)[39m[49m) Tuple0)[K | ||
169 | focus: labEnd (\[34ma[39m ([34mb[39m : [32m'Eq a[39m) ([34mc[39m : [32m'Num a[39m) -> ([47m[32m\d:Type -> 'BoolCase (\e:Type -> 'Tuple0) Tuple0 Tuple0 (== a b (fromInt a c 1) d)[39m[49m) Tuple0)[K | ||
170 | check: labEnd (\[34ma[39m ([34mb[39m : [32m'Eq a[39m) ([34mc[39m : [32m'Num a[39m) -> ([32m\d:Type -> 'BoolCase (\e:Type -> 'Tuple0) Tuple0 Tuple0 (== a b (fromInt a c 1) d)[39m) [47mTuple0::[32ma[39m[49m)[K | ||
171 | infer: labEnd (\[34ma[39m ([34mb[39m : [32m'Eq a[39m) ([34mc[39m : [32m'Num a[39m) -> ([32m\d:Type -> 'BoolCase (\e:Type -> 'Tuple0) Tuple0 Tuple0 (== a b (fromInt a c 1) d)[39m) [47mTuple0[49m:[32ma[39m)[K | ||
172 | focus: labEnd (\[34ma[39m ([34mb[39m : [32m'Eq a[39m) ([34mc[39m : [32m'Num a[39m) -> ([32m\d:Type -> 'BoolCase (\e:Type -> 'Tuple0) Tuple0 Tuple0 (== a b (fromInt a c 1) d)[39m) [47m[32mTuple0[39m[49m:[32ma[39m)[K | ||
173 | focus: labEnd (\[34ma[39m ([34mb[39m : [32m'Eq a[39m) ([34mc[39m : [32m'Num a[39m) -> ([32m\d:Type -> 'BoolCase (\e:Type -> 'Tuple0) Tuple0 Tuple0 (== a b (fromInt a c 1) d)[39m) \([34mf[39m : [32ma~'Tuple0[39m)->[47m[32mTuple0[39m[49m)[K | ||
174 | focus: labEnd (\[34ma[39m ([34mb[39m : [32m'Eq a[39m) ([34mc[39m : [32m'Num a[39m) -> ([32m\d:Type -> 'BoolCase (\e:Type -> 'Tuple0) Tuple0 Tuple0 (== a b (fromInt a c 1) d)[39m) (\[34ma[39m:=[32m'Tuple0[39m -> [47m[32mTuple0[39m[49m))[K | ||
175 | focus: labEnd (\[34ma[39m ([34mb[39m : [32m'Eq a[39m) ([34mc[39m : [32m'Num a[39m) [34ma[39m:=[32m'Tuple0[39m -> ([32m\d:Type -> 'BoolCase (\e:Type -> 'Tuple0) Tuple0 Tuple0 (undefined ('Tuple0 -> 'Tuple0->'Bool) (undefined 'Int->'Tuple0 1) d)[39m) [47m[32mTuple0[39m[49m)[K | ||
176 | focus: labEnd (\[34ma[39m ([34mb[39m : [32m'Eq a[39m) ([34mc[39m : [32m'Num a[39m) [34ma[39m:=[32m'Tuple0[39m -> [47m[32m'BoolCase (\d:Type -> 'Tuple0) Tuple0 Tuple0 (undefined ('Tuple0 -> 'Tuple0->'Bool) (undefined 'Int->'Tuple0 1) Tuple0)[39m[49m)[K | ||
177 | focus: labEnd (\[34ma[39m ([34mb[39m : [32m'Eq a[39m) [34ma[39m:=[32m'Tuple0[39m ([34mc[39m : [32m'Empty "no instance of 'Num on ???"[39m) -> [47m[32m'BoolCase (\d:Type -> 'Tuple0) Tuple0 Tuple0 (undefined ('Tuple0 -> 'Tuple0->'Bool) (undefined 'Int->'Tuple0 1) Tuple0)[39m[49m)[K | ||
178 | !type error: no instance of 'Num on ??? | ||
179 | in testdata/language-features/basic-values/case03.reject.lc:1:10 | ||
180 | |||
181 | ------------ tooltips | ||
182 | testdata/language-features/basic-values/case03.reject.lc 1:10-3:10 Tuple0 | ||
183 | testdata/language-features/basic-values/case03.reject.lc 1:15-1:17 Tuple0 | ||
184 | testdata/language-features/basic-values/case03.reject.lc 2:8-2:10 Tuple0 | ||
185 | testdata/language-features/basic-values/case03.reject.lc 2:8-3:10 Bool->Tuple0 | ||
186 | testdata/language-features/basic-values/case03.reject.lc 3:8-3:10 Tuple0 | ||
diff --git a/testdata/language-features/basic-values/case04.reject.out b/testdata/language-features/basic-values/case04.reject.out index 357a7f96..86bcc273 100644 --- a/testdata/language-features/basic-values/case04.reject.out +++ b/testdata/language-features/basic-values/case04.reject.out | |||
@@ -6,3 +6,60 @@ with | |||
6 | in testdata/language-features/basic-values/case04.reject.lc:2:8: | 6 | in testdata/language-features/basic-values/case04.reject.lc:2:8: |
7 | 1 -> '1' | 7 | 1 -> '1' |
8 | ^^^ | 8 | ^^^ |
9 | |||
10 | ------------ trace | ||
11 | infer: [47mlabelend ((\([32ma[39m : _:'Type) -> 'BoolCase (\_:'Type -> _:'Type) Tuple0 '1' (== (fromInt 1) a)) (fromInt 1))[49m[K | ||
12 | infer: labEnd ([47m(\([32ma[39m : _:'Type) -> 'BoolCase (\_:'Type -> _:'Type) Tuple0 '1' (== (fromInt 1) a)) (fromInt 1)[49m)[K | ||
13 | infer: labEnd (([47m\([32ma[39m : _:'Type) -> 'BoolCase (\_:'Type -> _:'Type) Tuple0 '1' (== (fromInt 1) a)[49m) (fromInt 1))[K | ||
14 | infer: labEnd ((\([32ma[39m : [47m_:'Type[49m : [32mType[39m) -> 'BoolCase (\_:'Type -> _:'Type) Tuple0 '1' (== (fromInt 1) a)) (fromInt 1))[K | ||
15 | infer: labEnd ((\([32mb[39m : (\[34ma[39m:[47m'Type[49m -> a) : [32mType[39m) -> 'BoolCase (\_:'Type -> _:'Type) Tuple0 '1' (== (fromInt 1) b)) (fromInt 1))[K | ||
16 | focus: labEnd ((\([32mb[39m : (\[34ma[39m:[47m[32mType[39m[49m -> a) : [32mType[39m) -> 'BoolCase (\_:'Type -> _:'Type) Tuple0 '1' (== (fromInt 1) b)) (fromInt 1))[K | ||
17 | infer: labEnd ((\([32mb[39m : \[34ma[39m->[47ma[49m : [32mType[39m) -> 'BoolCase (\_:'Type -> _:'Type) Tuple0 '1' (== (fromInt 1) b)) (fromInt 1))[K | ||
18 | focus: labEnd ((\([32mb[39m : \[34ma[39m->[47m[32ma[39m[49m : [32mType[39m) -> 'BoolCase (\_:'Type -> _:'Type) Tuple0 '1' (== (fromInt 1) b)) (fromInt 1))[K | ||
19 | focus: labEnd ((\([32mb[39m : (\[34ma[39m -> [47m[32ma[39m[49m:[32mType[39m)) -> 'BoolCase (\_:'Type -> _:'Type) Tuple0 '1' (== (fromInt 1) b)) (fromInt 1))[K | ||
20 | focus: labEnd ((\([32mc[39m : (\[34ma[39m [34mb[39m:[32m'Unit[39m -> [47m[32ma[39m[49m)) -> 'BoolCase (\_:'Type -> _:'Type) Tuple0 '1' (== (fromInt 1) c)) (fromInt 1))[K | ||
21 | focus: labEnd ((\([32mb[39m : \[34ma[39m->[47m[32ma[39m[49m) -> 'BoolCase (\_:'Type -> _:'Type) Tuple0 '1' (== (fromInt 1) b)) (fromInt 1))[K | ||
22 | focus: labEnd ((\[34ma[39m [32mb[39m:[47m[32ma[39m[49m -> 'BoolCase (\_:'Type -> _:'Type) Tuple0 '1' (== (fromInt 1) b)) (fromInt 1))[K | ||
23 | infer: labEnd ((\[34ma[39m [32mb[39m:[32ma[39m -> [47m'BoolCase (\_:'Type -> _:'Type) Tuple0 '1' (== (fromInt 1) b)[49m) (fromInt 1))[K | ||
24 | infer: labEnd ((\[34ma[39m [32mb[39m:[32ma[39m -> [47m'BoolCase (\_:'Type -> _:'Type) Tuple0 '1'[49m (== (fromInt 1) b)) (fromInt 1))[K | ||
25 | infer: labEnd ((\[34ma[39m [32mb[39m:[32ma[39m -> [47m'BoolCase (\_:'Type -> _:'Type) Tuple0[49m '1' (== (fromInt 1) b)) (fromInt 1))[K | ||
26 | infer: labEnd ((\[34ma[39m [32mb[39m:[32ma[39m -> [47m'BoolCase (\_:'Type -> _:'Type)[49m Tuple0 '1' (== (fromInt 1) b)) (fromInt 1))[K | ||
27 | infer: labEnd ((\[34ma[39m [32mb[39m:[32ma[39m -> [47m'BoolCase[49m (\_:'Type -> _:'Type) Tuple0 '1' (== (fromInt 1) b)) (fromInt 1))[K | ||
28 | focus: labEnd ((\[34ma[39m [32mb[39m:[32ma[39m -> ([47m[32m\c:Type d:Type e:Type f:Type -> 'BoolCase c d e f[39m[49m) (\_:'Type -> _:'Type) Tuple0 '1' (== (fromInt 1) b)) (fromInt 1))[K | ||
29 | check: labEnd ((\[34ma[39m [32mb[39m:[32ma[39m -> ([32m\c:Type d:Type e:Type f:Type -> 'BoolCase c d e f[39m) ([47m(\_:'Type -> _:'Type) :: [32m'Bool->Type[39m[49m) Tuple0 '1' (== (fromInt 1) b)) (fromInt 1))[K | ||
30 | check: labEnd ((\[34ma[39m [32mb[39m:[32ma[39m -> ([32m\c:Type d:Type e:Type f:Type -> 'BoolCase c d e f[39m) (\[32mg[39m:[32m'Bool[39m -> [47m_:'Type :: [32mType[39m[49m) Tuple0 '1' (== (fromInt 1) b)) (fromInt 1))[K | ||
31 | infer: labEnd ((\[34ma[39m [32mb[39m:[32ma[39m -> ([32m\c:Type d:Type e:Type f:Type -> 'BoolCase c d e f[39m) (\[32mg[39m:[32m'Bool[39m -> [47m_:'Type[49m : [32mType[39m) Tuple0 '1' (== (fromInt 1) b)) (fromInt 1))[K | ||
32 | infer: labEnd ((\[34ma[39m [32mb[39m:[32ma[39m -> ([32m\c:Type d:Type e:Type f:Type -> 'BoolCase c d e f[39m) (\[32mg[39m:[32m'Bool[39m -> (\[34mh[39m:[47m'Type[49m -> h) : [32mType[39m) Tuple0 '1' (== (fromInt 1) b)) (fromInt 1))[K | ||
33 | focus: labEnd ((\[34ma[39m [32mb[39m:[32ma[39m -> ([32m\c:Type d:Type e:Type f:Type -> 'BoolCase c d e f[39m) (\[32mg[39m:[32m'Bool[39m -> (\[34mh[39m:[47m[32mType[39m[49m -> h) : [32mType[39m) Tuple0 '1' (== (fromInt 1) b)) (fromInt 1))[K | ||
34 | infer: labEnd ((\[34ma[39m [32mb[39m:[32ma[39m -> ([32m\c:Type d:Type e:Type f:Type -> 'BoolCase c d e f[39m) (\[32mg[39m:[32m'Bool[39m -> \[34mh[39m->[47mh[49m : [32mType[39m) Tuple0 '1' (== (fromInt 1) b)) (fromInt 1))[K | ||
35 | focus: labEnd ((\[34ma[39m [32mb[39m:[32ma[39m -> ([32m\c:Type d:Type e:Type f:Type -> 'BoolCase c d e f[39m) (\[32mg[39m:[32m'Bool[39m -> \[34mh[39m->[47m[32mh[39m[49m : [32mType[39m) Tuple0 '1' (== (fromInt 1) b)) (fromInt 1))[K | ||
36 | focus: labEnd ((\[34ma[39m [32mb[39m:[32ma[39m -> ([32m\c:Type d:Type e:Type f:Type -> 'BoolCase c d e f[39m) (\[32mg[39m:[32m'Bool[39m [34mh[39m -> [47m[32mh[39m[49m:[32mType[39m) Tuple0 '1' (== (fromInt 1) b)) (fromInt 1))[K | ||
37 | focus: labEnd ((\[34ma[39m [32mb[39m:[32ma[39m -> ([32m\c:Type d:Type e:Type f:Type -> 'BoolCase c d e f[39m) (\[32mg[39m:[32m'Bool[39m [34mh[39m [34mi[39m:[32m'Unit[39m -> [47m[32mh[39m[49m) Tuple0 '1' (== (fromInt 1) b)) (fromInt 1))[K | ||
38 | focus: labEnd ((\[34ma[39m [32mb[39m:[32ma[39m -> ([32m\c:Type d:Type e:Type f:Type -> 'BoolCase c d e f[39m) (\[32mg[39m:[32m'Bool[39m -> \[34mh[39m->[47m[32mh[39m[49m) Tuple0 '1' (== (fromInt 1) b)) (fromInt 1))[K | ||
39 | focus: labEnd ((\[34ma[39m [32mb[39m:[32ma[39m -> ([32m\c:Type d:Type e:Type f:Type -> 'BoolCase c d e f[39m) (\[34mg[39m [32mh[39m:[32m'Bool[39m -> [47m[32mg[39m[49m) Tuple0 '1' (== (fromInt 1) b)) (fromInt 1))[K | ||
40 | focus: labEnd ((\[34ma[39m [32mb[39m:[32ma[39m -> ([32m\c:Type d:Type e:Type f:Type -> 'BoolCase c d e f[39m) (\[34mg[39m [47m[32mh:Type -> g[39m[49m) Tuple0 '1' (== (fromInt 1) b)) (fromInt 1))[K | ||
41 | focus: labEnd ((\[34ma[39m [32mb[39m:[32ma[39m -> (\[34mc[39m -> ([32m\d:Type e:Type f:Type g:Type -> 'BoolCase d e f g[39m) ([47m[32m\h:Type -> c[39m[49m)) Tuple0 '1' (== (fromInt 1) b)) (fromInt 1))[K | ||
42 | focus: labEnd ((\[34ma[39m [32mb[39m:[32ma[39m -> (\[34mc[39m [47m[32md:Type e:Type f:Type -> 'BoolCase (\g:Type -> c) d e f[39m[49m) Tuple0 '1' (== (fromInt 1) b)) (fromInt 1))[K | ||
43 | focus: labEnd ((\[34ma[39m [32mb[39m:[32ma[39m -> (\[34mc[39m -> ([47m[32m\d:Type e:Type f:Type -> 'BoolCase (\g:Type -> c) d e f[39m[49m) Tuple0) '1' (== (fromInt 1) b)) (fromInt 1))[K | ||
44 | check: labEnd ((\[34ma[39m [32mb[39m:[32ma[39m -> (\[34mc[39m -> ([32m\d:Type e:Type f:Type -> 'BoolCase (\g:Type -> c) d e f[39m) [47mTuple0::[32mc[39m[49m) '1' (== (fromInt 1) b)) (fromInt 1))[K | ||
45 | infer: labEnd ((\[34ma[39m [32mb[39m:[32ma[39m -> (\[34mc[39m -> ([32m\d:Type e:Type f:Type -> 'BoolCase (\g:Type -> c) d e f[39m) [47mTuple0[49m:[32mc[39m) '1' (== (fromInt 1) b)) (fromInt 1))[K | ||
46 | focus: labEnd ((\[34ma[39m [32mb[39m:[32ma[39m -> (\[34mc[39m -> ([32m\d:Type e:Type f:Type -> 'BoolCase (\g:Type -> c) d e f[39m) [47m[32mTuple0[39m[49m:[32mc[39m) '1' (== (fromInt 1) b)) (fromInt 1))[K | ||
47 | focus: labEnd ((\[34ma[39m [32mb[39m:[32ma[39m -> (\[34mc[39m -> ([32m\d:Type e:Type f:Type -> 'BoolCase (\g:Type -> c) d e f[39m) \([34mh[39m : [32mc~'Tuple0[39m)->[47m[32mTuple0[39m[49m) '1' (== (fromInt 1) b)) (fromInt 1))[K | ||
48 | focus: labEnd ((\[34ma[39m [32mb[39m:[32ma[39m -> (\[34mc[39m -> ([32m\d:Type e:Type f:Type -> 'BoolCase (\g:Type -> c) d e f[39m) (\[34mc[39m:=[32m'Tuple0[39m -> [47m[32mTuple0[39m[49m)) '1' (== (fromInt 1) b)) (fromInt 1))[K | ||
49 | focus: labEnd ((\[34ma[39m [32mb[39m:[32ma[39m -> (\[34mc[39m [34mc[39m:=[32m'Tuple0[39m -> ([32m\d:Type e:Type f:Type -> 'BoolCase (\g:Type -> 'Tuple0) d e f[39m) [47m[32mTuple0[39m[49m) '1' (== (fromInt 1) b)) (fromInt 1))[K | ||
50 | focus: labEnd ((\[34ma[39m [32mb[39m:[32ma[39m -> (\[34mc[39m [34mc[39m:=[32m'Tuple0[39m [47m[32md:Type e:Type -> 'BoolCase (\f:Type -> 'Tuple0) Tuple0 d e[39m[49m) '1' (== (fromInt 1) b)) (fromInt 1))[K | ||
51 | focus: labEnd ((\[34ma[39m [32mb[39m:[32ma[39m -> ([47m[32m\c:Type d:Type -> 'BoolCase (\e:Type -> 'Tuple0) Tuple0 c d[39m[49m) '1' (== (fromInt 1) b)) (fromInt 1))[K | ||
52 | check: labEnd ((\[34ma[39m [32mb[39m:[32ma[39m -> ([32m\c:Type d:Type -> 'BoolCase (\e:Type -> 'Tuple0) Tuple0 c d[39m) [47m'1'::[32m'Tuple0[39m[49m (== (fromInt 1) b)) (fromInt 1))[K | ||
53 | infer: labEnd ((\[34ma[39m [32mb[39m:[32ma[39m -> ([32m\c:Type d:Type -> 'BoolCase (\e:Type -> 'Tuple0) Tuple0 c d[39m) [47m'1'[49m:[32m'Tuple0[39m (== (fromInt 1) b)) (fromInt 1))[K | ||
54 | focus: labEnd ((\[34ma[39m [32mb[39m:[32ma[39m -> ([32m\c:Type d:Type -> 'BoolCase (\e:Type -> 'Tuple0) Tuple0 c d[39m) [47m[32m'1'[39m[49m:[32m'Tuple0[39m (== (fromInt 1) b)) (fromInt 1))[K | ||
55 | focus: labEnd ((\[34ma[39m [32mb[39m:[32ma[39m -> ([32m\c:Type d:Type -> 'BoolCase (\e:Type -> 'Tuple0) Tuple0 c d[39m) \([34mf[39m : [32m'Empty "can not unify\n\ESC[32m'Tuple0\ESC[m\nwith\n\ESC[32m'Char\ESC[m\n"[39m)->[47m[32m'1'[39m[49m (== (fromInt 1) b)) (fromInt 1))[K | ||
56 | !type error: can not unify | ||
57 | [32m'Tuple0[m | ||
58 | with | ||
59 | [32m'Char[m | ||
60 | |||
61 | in testdata/language-features/basic-values/case04.reject.lc:2:8 | ||
62 | |||
63 | ------------ tooltips | ||
64 | testdata/language-features/basic-values/case04.reject.lc 2:8-2:11 Char | ||
65 | testdata/language-features/basic-values/case04.reject.lc 3:8-3:10 Tuple0 | ||
diff --git a/testdata/language-features/basic-values/case05.out b/testdata/language-features/basic-values/case05.out index d648ca93..21c1f5ee 100644 --- a/testdata/language-features/basic-values/case05.out +++ b/testdata/language-features/basic-values/case05.out | |||
@@ -1,4 +1,6 @@ | |||
1 | main is not found | 1 | main is not found |
2 | ------------ trace | ||
3 | value :: [32m{a} -> {b : 'Eq a} -> {c : 'Num a} -> a->'Char[39m[K | ||
2 | ------------ tooltips | 4 | ------------ tooltips |
3 | testdata/language-features/basic-values/case05.lc 1:1-1:6 {a} -> {b : Eq a} -> {c : Num a} -> a->Char | 5 | testdata/language-features/basic-values/case05.lc 1:1-1:6 {a} -> {b : Eq a} -> {c : Num a} -> a->Char |
4 | testdata/language-features/basic-values/case05.lc 1:11-2:11 Char | 6 | testdata/language-features/basic-values/case05.lc 1:11-2:11 Char |
diff --git a/testdata/language-features/basic-values/case06.out b/testdata/language-features/basic-values/case06.out index 1e0208bb..5c2857a0 100644 --- a/testdata/language-features/basic-values/case06.out +++ b/testdata/language-features/basic-values/case06.out | |||
@@ -1,4 +1,6 @@ | |||
1 | main is not found | 1 | main is not found |
2 | ------------ trace | ||
3 | value :: [32m{a} -> {b : 'Eq a} -> {c : 'Num a} -> a->'Char[39m[K | ||
2 | ------------ tooltips | 4 | ------------ tooltips |
3 | testdata/language-features/basic-values/case06.lc 1:1-1:6 {a} -> {b : Eq a} -> {c : Num a} -> a->Char | 5 | testdata/language-features/basic-values/case06.lc 1:1-1:6 {a} -> {b : Eq a} -> {c : Num a} -> a->Char |
4 | testdata/language-features/basic-values/case06.lc 1:11-3:11 Char | 6 | testdata/language-features/basic-values/case06.lc 1:11-3:11 Char |
diff --git a/testdata/language-features/basic-values/data01.out b/testdata/language-features/basic-values/data01.out index d84b92aa..71e63817 100644 --- a/testdata/language-features/basic-values/data01.out +++ b/testdata/language-features/basic-values/data01.out | |||
@@ -1,4 +1,23 @@ | |||
1 | main is not found | 1 | main is not found |
2 | ------------ trace | ||
3 | 'A :: [32mType[39m[K | ||
4 | B :: [32m'A[39m[K | ||
5 | C :: [32m'A[39m[K | ||
6 | D :: [32m'A[39m[K | ||
7 | 'ACase :: [32m(b : 'A->Type) -> b B -> b C -> b D -> f:'A -> b f[39m[K | ||
8 | match'A :: [32m(b : Type->Type) -> b 'A -> d:Type -> b d -> b d[39m[K | ||
9 | 'E :: [32mType[39m[K | ||
10 | F :: [32m'E[39m[K | ||
11 | G :: [32m'Tuple0->'E[39m[K | ||
12 | H :: [32m'E[39m[K | ||
13 | 'ECase :: [32m(b : 'E->Type) -> b F -> (d:'Tuple0 -> b (G d)) -> b H -> g:'E -> b g[39m[K | ||
14 | match'E :: [32m(b : Type->Type) -> b 'E -> d:Type -> b d -> b d[39m[K | ||
15 | 'D1 :: [32mType[39m[K | ||
16 | C1 :: [32m'D1[39m[K | ||
17 | C2 :: [32m'Tuple0->'D1[39m[K | ||
18 | C3 :: [32m'D1[39m[K | ||
19 | 'D1Case :: [32m(b : 'D1->Type) -> b C1 -> (d:'Tuple0 -> b (C2 d)) -> b C3 -> g:'D1 -> b g[39m[K | ||
20 | match'D1 :: [32m(b : Type->Type) -> b 'D1 -> d:Type -> b d -> b d[39m[K | ||
2 | ------------ tooltips | 21 | ------------ tooltips |
3 | testdata/language-features/basic-values/data01.lc 1:6-1:7 Type | 22 | testdata/language-features/basic-values/data01.lc 1:6-1:7 Type |
4 | testdata/language-features/basic-values/data01.lc 1:6-1:13 Type | 23 | testdata/language-features/basic-values/data01.lc 1:6-1:13 Type |
diff --git a/testdata/language-features/basic-values/data02.reject.out b/testdata/language-features/basic-values/data02.reject.out index 78dbd88f..b5f349a0 100644 --- a/testdata/language-features/basic-values/data02.reject.out +++ b/testdata/language-features/basic-values/data02.reject.out | |||
@@ -1,3 +1,7 @@ | |||
1 | testdata/language-features/basic-values/data02.reject.lc:1:6: | 1 | testdata/language-features/basic-values/data02.reject.lc:1:6: |
2 | unexpected 'd' | 2 | unexpected 'd' |
3 | expecting uppercase ident \ No newline at end of file | 3 | expecting uppercase ident |
4 | ------------ trace | ||
5 | !testdata/language-features/basic-values/data02.reject.lc:1:6: | ||
6 | unexpected 'd' | ||
7 | expecting uppercase ident | ||
diff --git a/testdata/language-features/basic-values/data03.reject.out b/testdata/language-features/basic-values/data03.reject.out index b20af35a..28dd835b 100644 --- a/testdata/language-features/basic-values/data03.reject.out +++ b/testdata/language-features/basic-values/data03.reject.out | |||
@@ -1,3 +1,7 @@ | |||
1 | testdata/language-features/basic-values/data03.reject.lc:1:10: | 1 | testdata/language-features/basic-values/data03.reject.lc:1:10: |
2 | unexpected 'd' | 2 | unexpected 'd' |
3 | expecting uppercase ident \ No newline at end of file | 3 | expecting uppercase ident |
4 | ------------ trace | ||
5 | !testdata/language-features/basic-values/data03.reject.lc:1:10: | ||
6 | unexpected 'd' | ||
7 | expecting uppercase ident | ||
diff --git a/testdata/language-features/basic-values/def01.out b/testdata/language-features/basic-values/def01.out index 1f81f287..8d940c97 100644 --- a/testdata/language-features/basic-values/def01.out +++ b/testdata/language-features/basic-values/def01.out | |||
@@ -1,4 +1,8 @@ | |||
1 | main is not found | 1 | main is not found |
2 | ------------ trace | ||
3 | unit :: [32m'Tuple0[39m[K | ||
4 | fun1 :: [32m{a} -> {b} -> {c : 'Num b} -> a->b[39m[K | ||
5 | fun2 :: [32m{a} -> {b} -> {c} -> {d} -> {e} -> a -> b -> c -> d -> e->'Char[39m[K | ||
2 | ------------ tooltips | 6 | ------------ tooltips |
3 | testdata/language-features/basic-values/def01.lc 1:1-1:5 Tuple0 | 7 | testdata/language-features/basic-values/def01.lc 1:1-1:5 Tuple0 |
4 | testdata/language-features/basic-values/def01.lc 1:8-1:10 Tuple0 | 8 | testdata/language-features/basic-values/def01.lc 1:8-1:10 Tuple0 |
diff --git a/testdata/language-features/basic-values/def02.reject.out b/testdata/language-features/basic-values/def02.reject.out index 51c85026..70ff66c1 100644 --- a/testdata/language-features/basic-values/def02.reject.out +++ b/testdata/language-features/basic-values/def02.reject.out | |||
@@ -1,3 +1,9 @@ | |||
1 | multiple pattern vars: | 1 | multiple pattern vars: |
2 | x is defined at testdata/language-features/basic-values/def02.reject.lc 1:8-1:9 | 2 | x is defined at testdata/language-features/basic-values/def02.reject.lc 1:8-1:9 |
3 | x is defined at testdata/language-features/basic-values/def02.reject.lc 1:6-1:7 | 3 | x is defined at testdata/language-features/basic-values/def02.reject.lc 1:6-1:7 |
4 | |||
5 | ------------ trace | ||
6 | !multiple pattern vars: | ||
7 | x is defined at testdata/language-features/basic-values/def02.reject.lc 1:8-1:9 | ||
8 | x is defined at testdata/language-features/basic-values/def02.reject.lc 1:6-1:7 | ||
9 | |||
diff --git a/testdata/language-features/basic-values/def03.out b/testdata/language-features/basic-values/def03.out index e90abd53..48739e24 100644 --- a/testdata/language-features/basic-values/def03.out +++ b/testdata/language-features/basic-values/def03.out | |||
@@ -1,4 +1,6 @@ | |||
1 | main is not found | 1 | main is not found |
2 | ------------ trace | ||
3 | fun :: [32m{a} -> {b : 'Eq a} -> {c : 'Num a} -> {d : 'Eq a} -> {e : 'Num a} -> a->'Char[39m[K | ||
2 | ------------ tooltips | 4 | ------------ tooltips |
3 | testdata/language-features/basic-values/def03.lc 1:1-1:4 {a} -> {b : Eq a} -> {c : Num a} -> {d : Eq a} -> {e : Num a} -> a->Char | 5 | testdata/language-features/basic-values/def03.lc 1:1-1:4 {a} -> {b : Eq a} -> {c : Num a} -> {d : Eq a} -> {e : Num a} -> a->Char |
4 | testdata/language-features/basic-values/def03.lc 1:9-1:12 Char | 6 | testdata/language-features/basic-values/def03.lc 1:9-1:12 Char |
diff --git a/testdata/language-features/basic-values/def04.out b/testdata/language-features/basic-values/def04.out index 0535096f..8a9dacfe 100644 --- a/testdata/language-features/basic-values/def04.out +++ b/testdata/language-features/basic-values/def04.out | |||
@@ -1,4 +1,7 @@ | |||
1 | main is not found | 1 | main is not found |
2 | ------------ trace | ||
3 | fun :: [32m{a} -> {b : 'Eq a} -> {c : 'Num a} -> {d : 'Eq a} -> {e : 'Num a} -> a->'Char[39m[K | ||
4 | fun2 :: [32m{a} -> {b} -> {c : 'Eq a} -> {d : 'Num a} -> {e : 'Eq a} -> {f : 'Num a} -> a -> b->'Char[39m[K | ||
2 | ------------ tooltips | 5 | ------------ tooltips |
3 | testdata/language-features/basic-values/def04.lc 1:1-1:4 {a} -> {b : Eq a} -> {c : Num a} -> {d : Eq a} -> {e : Num a} -> a->Char | 6 | testdata/language-features/basic-values/def04.lc 1:1-1:4 {a} -> {b : Eq a} -> {c : Num a} -> {d : Eq a} -> {e : Num a} -> a->Char |
4 | testdata/language-features/basic-values/def04.lc 1:9-1:12 Char | 7 | testdata/language-features/basic-values/def04.lc 1:9-1:12 Char |
diff --git a/testdata/language-features/basic-values/def05.reject.out b/testdata/language-features/basic-values/def05.reject.out index d154a88c..a2c8c27c 100644 --- a/testdata/language-features/basic-values/def05.reject.out +++ b/testdata/language-features/basic-values/def05.reject.out | |||
@@ -1,2 +1,5 @@ | |||
1 | testdata/language-features/basic-values/def05.reject.lc:4:1: | 1 | testdata/language-features/basic-values/def05.reject.lc:4:1: |
2 | different number of arguments of fun at testdata/language-features/basic-values/def05.reject.lc 1:1-1:4 \ No newline at end of file | 2 | different number of arguments of fun at testdata/language-features/basic-values/def05.reject.lc 1:1-1:4 |
3 | ------------ trace | ||
4 | !testdata/language-features/basic-values/def05.reject.lc:4:1: | ||
5 | different number of arguments of fun at testdata/language-features/basic-values/def05.reject.lc 1:1-1:4 | ||
diff --git a/testdata/language-features/basic-values/def06.reject.out b/testdata/language-features/basic-values/def06.reject.out index 17983359..5db5da9c 100644 --- a/testdata/language-features/basic-values/def06.reject.out +++ b/testdata/language-features/basic-values/def06.reject.out | |||
@@ -1,2 +1,5 @@ | |||
1 | testdata/language-features/basic-values/def06.reject.lc:5:1: | 1 | testdata/language-features/basic-values/def06.reject.lc:5:1: |
2 | different number of arguments of fun2 at testdata/language-features/basic-values/def06.reject.lc 1:1-1:5 \ No newline at end of file | 2 | different number of arguments of fun2 at testdata/language-features/basic-values/def06.reject.lc 1:1-1:5 |
3 | ------------ trace | ||
4 | !testdata/language-features/basic-values/def06.reject.lc:5:1: | ||
5 | different number of arguments of fun2 at testdata/language-features/basic-values/def06.reject.lc 1:1-1:5 | ||
diff --git a/testdata/language-features/basic-values/def07.reject.out b/testdata/language-features/basic-values/def07.reject.out index b341ff79..a8c509d2 100644 --- a/testdata/language-features/basic-values/def07.reject.out +++ b/testdata/language-features/basic-values/def07.reject.out | |||
@@ -3,4 +3,19 @@ fun _ = '_' | |||
3 | ^^^ | 3 | ^^^ |
4 | and at testdata/language-features/basic-values/def07.reject.lc:1:1: | 4 | and at testdata/language-features/basic-values/def07.reject.lc:1:1: |
5 | fun 1 = '1' | 5 | fun 1 = '1' |
6 | ^^^ \ No newline at end of file | 6 | ^^^ |
7 | ------------ trace | ||
8 | fun :: [32m{a} -> {b : 'Eq a} -> {c : 'Num a} -> {d : 'Eq a} -> {e : 'Num a} -> a->'Char[39m[K | ||
9 | fun2 :: [32m{a} -> {b} -> {c : 'Eq a} -> {d : 'Num a} -> a -> b->'Char[39m[K | ||
10 | fun :: [32m{a} -> a->'Char[39m[K | ||
11 | !already defined fun at testdata/language-features/basic-values/def07.reject.lc:4:1 | ||
12 | and at testdata/language-features/basic-values/def07.reject.lc:1:1 | ||
13 | ------------ tooltips | ||
14 | testdata/language-features/basic-values/def07.reject.lc 1:1-1:4 {a} -> {b : Eq a} -> {c : Num a} -> {d : Eq a} -> {e : Num a} -> a->Char | ||
15 | testdata/language-features/basic-values/def07.reject.lc 1:9-1:12 Char | ||
16 | testdata/language-features/basic-values/def07.reject.lc 1:9-2:12 Bool->Char | ||
17 | testdata/language-features/basic-values/def07.reject.lc 2:9-2:12 Char | ||
18 | testdata/language-features/basic-values/def07.reject.lc 3:1-3:5 {a} -> {b} -> {c : Eq a} -> {d : Num a} -> a -> b->Char | ||
19 | testdata/language-features/basic-values/def07.reject.lc 3:12-3:15 Char | ||
20 | testdata/language-features/basic-values/def07.reject.lc 4:1-4:4 {a} -> a->Char | ||
21 | testdata/language-features/basic-values/def07.reject.lc 4:9-4:12 Char | ||
diff --git a/testdata/language-features/basic-values/deforder01.out b/testdata/language-features/basic-values/deforder01.out index 34a069d5..f0e01c94 100644 --- a/testdata/language-features/basic-values/deforder01.out +++ b/testdata/language-features/basic-values/deforder01.out | |||
@@ -1,4 +1,7 @@ | |||
1 | main is not found | 1 | main is not found |
2 | ------------ trace | ||
3 | x :: [32m'Char[39m[K | ||
4 | y :: [32m'Char[39m[K | ||
2 | ------------ tooltips | 5 | ------------ tooltips |
3 | testdata/language-features/basic-values/deforder01.lc 1:1-1:2 Char | 6 | testdata/language-features/basic-values/deforder01.lc 1:1-1:2 Char |
4 | testdata/language-features/basic-values/deforder01.lc 1:5-1:8 Char | 7 | testdata/language-features/basic-values/deforder01.lc 1:5-1:8 Char |
diff --git a/testdata/language-features/basic-values/deforder02.out b/testdata/language-features/basic-values/deforder02.out index f28a5a82..0466faf4 100644 --- a/testdata/language-features/basic-values/deforder02.out +++ b/testdata/language-features/basic-values/deforder02.out | |||
@@ -1,4 +1,7 @@ | |||
1 | main is not found | 1 | main is not found |
2 | ------------ trace | ||
3 | x :: [32m'Char[39m[K | ||
4 | y :: [32m'Char[39m[K | ||
2 | ------------ tooltips | 5 | ------------ tooltips |
3 | testdata/language-features/basic-values/deforder02.lc 1:1-1:2 Char | 6 | testdata/language-features/basic-values/deforder02.lc 1:1-1:2 Char |
4 | testdata/language-features/basic-values/deforder02.lc 1:5-1:6 Char | 7 | testdata/language-features/basic-values/deforder02.lc 1:5-1:6 Char |
diff --git a/testdata/language-features/basic-values/deforder03.out b/testdata/language-features/basic-values/deforder03.out index abb1237a..e4f758ce 100644 --- a/testdata/language-features/basic-values/deforder03.out +++ b/testdata/language-features/basic-values/deforder03.out | |||
@@ -1,4 +1,6 @@ | |||
1 | main is not found | 1 | main is not found |
2 | ------------ trace | ||
3 | value :: [32m'Char[39m[K | ||
2 | ------------ tooltips | 4 | ------------ tooltips |
3 | testdata/language-features/basic-values/deforder03.lc 1:1-1:6 Char | 5 | testdata/language-features/basic-values/deforder03.lc 1:1-1:6 Char |
4 | testdata/language-features/basic-values/deforder03.lc 1:17-1:19 Tuple0 | 6 | testdata/language-features/basic-values/deforder03.lc 1:17-1:19 Tuple0 |
diff --git a/testdata/language-features/basic-values/deforder04.out b/testdata/language-features/basic-values/deforder04.out index 80836aae..5c9a24e7 100644 --- a/testdata/language-features/basic-values/deforder04.out +++ b/testdata/language-features/basic-values/deforder04.out | |||
@@ -1,4 +1,6 @@ | |||
1 | main is not found | 1 | main is not found |
2 | ------------ trace | ||
3 | value :: [32m'Char[39m[K | ||
2 | ------------ tooltips | 4 | ------------ tooltips |
3 | testdata/language-features/basic-values/deforder04.lc 1:1-1:6 Char | 5 | testdata/language-features/basic-values/deforder04.lc 1:1-1:6 Char |
4 | testdata/language-features/basic-values/deforder04.lc 1:17-1:18 Tuple0 | 6 | testdata/language-features/basic-values/deforder04.lc 1:17-1:18 Tuple0 |
diff --git a/testdata/language-features/basic-values/deforder05.out b/testdata/language-features/basic-values/deforder05.out index 7851de6d..b09d51d9 100644 --- a/testdata/language-features/basic-values/deforder05.out +++ b/testdata/language-features/basic-values/deforder05.out | |||
@@ -1,4 +1,6 @@ | |||
1 | main is not found | 1 | main is not found |
2 | ------------ trace | ||
3 | value :: [32m'Char[39m[K | ||
2 | ------------ tooltips | 4 | ------------ tooltips |
3 | testdata/language-features/basic-values/deforder05.lc 1:1-1:6 Char | 5 | testdata/language-features/basic-values/deforder05.lc 1:1-1:6 Char |
4 | testdata/language-features/basic-values/deforder05.lc 1:9-1:12 Char | 6 | testdata/language-features/basic-values/deforder05.lc 1:9-1:12 Char |
diff --git a/testdata/language-features/basic-values/deforder06.out b/testdata/language-features/basic-values/deforder06.out index 2619b3e0..d3782235 100644 --- a/testdata/language-features/basic-values/deforder06.out +++ b/testdata/language-features/basic-values/deforder06.out | |||
@@ -1,4 +1,6 @@ | |||
1 | main is not found | 1 | main is not found |
2 | ------------ trace | ||
3 | value :: [32m'Char[39m[K | ||
2 | ------------ tooltips | 4 | ------------ tooltips |
3 | testdata/language-features/basic-values/deforder06.lc 1:1-1:6 Char | 5 | testdata/language-features/basic-values/deforder06.lc 1:1-1:6 Char |
4 | testdata/language-features/basic-values/deforder06.lc 1:9-1:12 Char | 6 | testdata/language-features/basic-values/deforder06.lc 1:9-1:12 Char |
diff --git a/testdata/language-features/basic-values/fixity01.out b/testdata/language-features/basic-values/fixity01.out index 4b05a9ff..eb0e5fc2 100644 --- a/testdata/language-features/basic-values/fixity01.out +++ b/testdata/language-features/basic-values/fixity01.out | |||
@@ -1,4 +1,9 @@ | |||
1 | main is not found | 1 | main is not found |
2 | ------------ trace | ||
3 | funL :: [32m{a} -> {b} -> a -> b->a[39m[K | ||
4 | funR :: [32m{a} -> {b} -> a -> b->a[39m[K | ||
5 | <<<< :: [32m{a} -> {b} -> a -> b->a[39m[K | ||
6 | >>>> :: [32m{a} -> {b} -> a -> b->b[39m[K | ||
2 | ------------ tooltips | 7 | ------------ tooltips |
3 | testdata/language-features/basic-values/fixity01.lc 1:1-1:5 {a} -> {b} -> a -> b->a | 8 | testdata/language-features/basic-values/fixity01.lc 1:1-1:5 {a} -> {b} -> a -> b->a |
4 | testdata/language-features/basic-values/fixity01.lc 1:12-1:13 V3 | 9 | testdata/language-features/basic-values/fixity01.lc 1:12-1:13 V3 |
diff --git a/testdata/language-features/basic-values/fixity02.out b/testdata/language-features/basic-values/fixity02.out index 96c6b4d0..a530d87a 100644 --- a/testdata/language-features/basic-values/fixity02.out +++ b/testdata/language-features/basic-values/fixity02.out | |||
@@ -1,4 +1,25 @@ | |||
1 | main is not found | 1 | main is not found |
2 | ------------ trace | ||
3 | funL :: [32m{a} -> {b} -> a -> b->a[39m[K | ||
4 | funR :: [32m{a} -> {b} -> a -> b->b[39m[K | ||
5 | <@ :: [32m{a} -> {b} -> a -> b->a[39m[K | ||
6 | @> :: [32m{a} -> {b} -> a -> b->b[39m[K | ||
7 | value1 :: [32m'Float[39m[K | ||
8 | value2 :: [32m'Float[39m[K | ||
9 | value3 :: [32m'Float[39m[K | ||
10 | value4 :: [32m'Float[39m[K | ||
11 | value5 :: [32m'String[39m[K | ||
12 | value6 :: [32m'Char[39m[K | ||
13 | value7 :: [32m'String[39m[K | ||
14 | value8 :: [32m'Tuple0[39m[K | ||
15 | funValue1 :: [32m'Float[39m[K | ||
16 | funValue2 :: [32m'Float[39m[K | ||
17 | funValue3 :: [32m'Float[39m[K | ||
18 | funValue4 :: [32m'Float[39m[K | ||
19 | funValue5 :: [32m'String[39m[K | ||
20 | funValue6 :: [32m'Char[39m[K | ||
21 | funValue7 :: [32m'String[39m[K | ||
22 | funValue8 :: [32m'Tuple0[39m[K | ||
2 | ------------ tooltips | 23 | ------------ tooltips |
3 | testdata/language-features/basic-values/fixity02.lc 1:1-1:5 {a} -> {b} -> a -> b->a | 24 | testdata/language-features/basic-values/fixity02.lc 1:1-1:5 {a} -> {b} -> a -> b->a |
4 | testdata/language-features/basic-values/fixity02.lc 1:12-1:13 V3 | 25 | testdata/language-features/basic-values/fixity02.lc 1:12-1:13 V3 |
diff --git a/testdata/language-features/basic-values/if01.out b/testdata/language-features/basic-values/if01.out index f04bb9f9..dcdc09f5 100644 --- a/testdata/language-features/basic-values/if01.out +++ b/testdata/language-features/basic-values/if01.out | |||
@@ -1,4 +1,7 @@ | |||
1 | main is not found | 1 | main is not found |
2 | ------------ trace | ||
3 | value1 :: [32m'Tuple0[39m[K | ||
4 | value2 :: [32m'Float[39m[K | ||
2 | ------------ tooltips | 5 | ------------ tooltips |
3 | testdata/language-features/basic-values/if01.lc 1:1-1:7 Tuple0 | 6 | testdata/language-features/basic-values/if01.lc 1:1-1:7 Tuple0 |
4 | testdata/language-features/basic-values/if01.lc 1:10-1:33 Tuple0 | 7 | testdata/language-features/basic-values/if01.lc 1:10-1:33 Tuple0 |
diff --git a/testdata/language-features/basic-values/if03.reject.out b/testdata/language-features/basic-values/if03.reject.out index b9503d90..d9e5b957 100644 --- a/testdata/language-features/basic-values/if03.reject.out +++ b/testdata/language-features/basic-values/if03.reject.out | |||
@@ -6,3 +6,43 @@ with | |||
6 | in testdata/language-features/basic-values/if03.reject.lc:1:13: | 6 | in testdata/language-features/basic-values/if03.reject.lc:1:13: |
7 | value1 = if () then () else () | 7 | value1 = if () then () else () |
8 | ^^ | 8 | ^^ |
9 | |||
10 | ------------ trace | ||
11 | infer: [47mlabelend (primIfThenElse Tuple0 Tuple0 Tuple0)[49m[K | ||
12 | infer: labEnd ([47mprimIfThenElse Tuple0 Tuple0 Tuple0[49m)[K | ||
13 | infer: labEnd ([47mprimIfThenElse Tuple0 Tuple0[49m Tuple0)[K | ||
14 | infer: labEnd ([47mprimIfThenElse Tuple0[49m Tuple0 Tuple0)[K | ||
15 | infer: labEnd ([47mprimIfThenElse[49m Tuple0 Tuple0 Tuple0)[K | ||
16 | focus: labEnd ([47m[32mprimIfThenElse[39m[49m Tuple0 Tuple0 Tuple0)[K | ||
17 | focus: labEnd ([47m[32mprimIfThenElse[39m[49m {_ : _:'Type} Tuple0 Tuple0 Tuple0)[K | ||
18 | check: labEnd ([32mprimIfThenElse[39m {[47m(_ : _:'Type) :: [32mType[39m[49m} Tuple0 Tuple0 Tuple0)[K | ||
19 | infer: labEnd ([32mprimIfThenElse[39m {([47m_ : _:'Type[49m) : [32mType[39m} Tuple0 Tuple0 Tuple0)[K | ||
20 | infer: labEnd ([32mprimIfThenElse[39m {\([34ma[39m : [47m_:'Type[49m)->a : [32mType[39m} Tuple0 Tuple0 Tuple0)[K | ||
21 | infer: labEnd ([32mprimIfThenElse[39m {\([34mb[39m : (\[34ma[39m:[47m'Type[49m -> a))->b : [32mType[39m} Tuple0 Tuple0 Tuple0)[K | ||
22 | focus: labEnd ([32mprimIfThenElse[39m {\([34mb[39m : (\[34ma[39m:[47m[32mType[39m[49m -> a))->b : [32mType[39m} Tuple0 Tuple0 Tuple0)[K | ||
23 | infer: labEnd ([32mprimIfThenElse[39m {\([34mb[39m : \[34ma[39m->[47ma[49m)->b : [32mType[39m} Tuple0 Tuple0 Tuple0)[K | ||
24 | focus: labEnd ([32mprimIfThenElse[39m {\([34mb[39m : \[34ma[39m->[47m[32ma[39m[49m)->b : [32mType[39m} Tuple0 Tuple0 Tuple0)[K | ||
25 | focus: labEnd ([32mprimIfThenElse[39m {(\[34ma[39m [34mb[39m:[47m[32ma[39m[49m -> b) : [32mType[39m} Tuple0 Tuple0 Tuple0)[K | ||
26 | infer: labEnd ([32mprimIfThenElse[39m {(\[34ma[39m [34mb[39m:[32ma[39m -> [47mb[49m) : [32mType[39m} Tuple0 Tuple0 Tuple0)[K | ||
27 | focus: labEnd ([32mprimIfThenElse[39m {(\[34ma[39m [34mb[39m:[32ma[39m -> [47m[32mb[39m[49m) : [32mType[39m} Tuple0 Tuple0 Tuple0)[K | ||
28 | focus: labEnd ([32mprimIfThenElse[39m {\[34ma[39m [34mb[39m:[32ma[39m -> [47m[32mb[39m[49m:[32mType[39m} Tuple0 Tuple0 Tuple0)[K | ||
29 | focus: labEnd ([32mprimIfThenElse[39m {\[34ma[39m [34mb[39m:[32ma[39m -> \([34mc[39m : [32mType~a[39m)->[47m[32mb[39m[49m} Tuple0 Tuple0 Tuple0)[K | ||
30 | focus: labEnd ([32mprimIfThenElse[39m {\[34ma[39m [34mb[39m:[32ma[39m [34ma[39m:=[32mType[39m -> [47m[32mb[39m[49m} Tuple0 Tuple0 Tuple0)[K | ||
31 | focus: labEnd ([32mprimIfThenElse[39m {\[34ma[39m [34ma[39m:=[32mType[39m -> \[34mb[39m->[47m[32mb[39m[49m} Tuple0 Tuple0 Tuple0)[K | ||
32 | focus: labEnd ([32mprimIfThenElse[39m {\[34ma[39m->[47m[32ma[39m[49m} Tuple0 Tuple0 Tuple0)[K | ||
33 | focus: labEnd ((\[34ma[39m -> [32mprimIfThenElse[39m {[47m[32ma[39m[49m}) Tuple0 Tuple0 Tuple0)[K | ||
34 | focus: labEnd ((\[34ma[39m -> [47m[32mprimIfThenElse a[39m[49m) Tuple0 Tuple0 Tuple0)[K | ||
35 | focus: labEnd ((\[34ma[39m -> [47m[32mprimIfThenElse a[39m[49m Tuple0) Tuple0 Tuple0)[K | ||
36 | check: labEnd ((\[34ma[39m -> [32mprimIfThenElse a[39m [47mTuple0::[32m'Bool[39m[49m) Tuple0 Tuple0)[K | ||
37 | infer: labEnd ((\[34ma[39m -> [32mprimIfThenElse a[39m [47mTuple0[49m:[32m'Bool[39m) Tuple0 Tuple0)[K | ||
38 | focus: labEnd ((\[34ma[39m -> [32mprimIfThenElse a[39m [47m[32mTuple0[39m[49m:[32m'Bool[39m) Tuple0 Tuple0)[K | ||
39 | focus: labEnd ((\[34ma[39m -> [32mprimIfThenElse a[39m \([34mb[39m : [32m'Empty "can not unify\n\ESC[32m'Bool\ESC[m\nwith\n\ESC[32m'Tuple0\ESC[m\n"[39m)->[47m[32mTuple0[39m[49m) Tuple0 Tuple0)[K | ||
40 | !type error: can not unify | ||
41 | [32m'Bool[m | ||
42 | with | ||
43 | [32m'Tuple0[m | ||
44 | |||
45 | in testdata/language-features/basic-values/if03.reject.lc:1:13 | ||
46 | |||
47 | ------------ tooltips | ||
48 | testdata/language-features/basic-values/if03.reject.lc 1:13-1:15 Tuple0 | ||
diff --git a/testdata/language-features/basic-values/if04.reject.out b/testdata/language-features/basic-values/if04.reject.out index c4b4edd2..78a1afb7 100644 --- a/testdata/language-features/basic-values/if04.reject.out +++ b/testdata/language-features/basic-values/if04.reject.out | |||
@@ -6,3 +6,61 @@ with | |||
6 | in testdata/language-features/basic-values/if04.reject.lc:1:31: | 6 | in testdata/language-features/basic-values/if04.reject.lc:1:31: |
7 | value1 = if True then () else '_' | 7 | value1 = if True then () else '_' |
8 | ^^^ | 8 | ^^^ |
9 | |||
10 | ------------ trace | ||
11 | infer: [47mlabelend (primIfThenElse True Tuple0 '_')[49m[K | ||
12 | infer: labEnd ([47mprimIfThenElse True Tuple0 '_'[49m)[K | ||
13 | infer: labEnd ([47mprimIfThenElse True Tuple0[49m '_')[K | ||
14 | infer: labEnd ([47mprimIfThenElse True[49m Tuple0 '_')[K | ||
15 | infer: labEnd ([47mprimIfThenElse[49m True Tuple0 '_')[K | ||
16 | focus: labEnd ([47m[32mprimIfThenElse[39m[49m True Tuple0 '_')[K | ||
17 | focus: labEnd ([47m[32mprimIfThenElse[39m[49m {_ : _:'Type} True Tuple0 '_')[K | ||
18 | check: labEnd ([32mprimIfThenElse[39m {[47m(_ : _:'Type) :: [32mType[39m[49m} True Tuple0 '_')[K | ||
19 | infer: labEnd ([32mprimIfThenElse[39m {([47m_ : _:'Type[49m) : [32mType[39m} True Tuple0 '_')[K | ||
20 | infer: labEnd ([32mprimIfThenElse[39m {\([34ma[39m : [47m_:'Type[49m)->a : [32mType[39m} True Tuple0 '_')[K | ||
21 | infer: labEnd ([32mprimIfThenElse[39m {\([34mb[39m : (\[34ma[39m:[47m'Type[49m -> a))->b : [32mType[39m} True Tuple0 '_')[K | ||
22 | focus: labEnd ([32mprimIfThenElse[39m {\([34mb[39m : (\[34ma[39m:[47m[32mType[39m[49m -> a))->b : [32mType[39m} True Tuple0 '_')[K | ||
23 | infer: labEnd ([32mprimIfThenElse[39m {\([34mb[39m : \[34ma[39m->[47ma[49m)->b : [32mType[39m} True Tuple0 '_')[K | ||
24 | focus: labEnd ([32mprimIfThenElse[39m {\([34mb[39m : \[34ma[39m->[47m[32ma[39m[49m)->b : [32mType[39m} True Tuple0 '_')[K | ||
25 | focus: labEnd ([32mprimIfThenElse[39m {(\[34ma[39m [34mb[39m:[47m[32ma[39m[49m -> b) : [32mType[39m} True Tuple0 '_')[K | ||
26 | infer: labEnd ([32mprimIfThenElse[39m {(\[34ma[39m [34mb[39m:[32ma[39m -> [47mb[49m) : [32mType[39m} True Tuple0 '_')[K | ||
27 | focus: labEnd ([32mprimIfThenElse[39m {(\[34ma[39m [34mb[39m:[32ma[39m -> [47m[32mb[39m[49m) : [32mType[39m} True Tuple0 '_')[K | ||
28 | focus: labEnd ([32mprimIfThenElse[39m {\[34ma[39m [34mb[39m:[32ma[39m -> [47m[32mb[39m[49m:[32mType[39m} True Tuple0 '_')[K | ||
29 | focus: labEnd ([32mprimIfThenElse[39m {\[34ma[39m [34mb[39m:[32ma[39m -> \([34mc[39m : [32mType~a[39m)->[47m[32mb[39m[49m} True Tuple0 '_')[K | ||
30 | focus: labEnd ([32mprimIfThenElse[39m {\[34ma[39m [34mb[39m:[32ma[39m [34ma[39m:=[32mType[39m -> [47m[32mb[39m[49m} True Tuple0 '_')[K | ||
31 | focus: labEnd ([32mprimIfThenElse[39m {\[34ma[39m [34ma[39m:=[32mType[39m -> \[34mb[39m->[47m[32mb[39m[49m} True Tuple0 '_')[K | ||
32 | focus: labEnd ([32mprimIfThenElse[39m {\[34ma[39m->[47m[32ma[39m[49m} True Tuple0 '_')[K | ||
33 | focus: labEnd ((\[34ma[39m -> [32mprimIfThenElse[39m {[47m[32ma[39m[49m}) True Tuple0 '_')[K | ||
34 | focus: labEnd ((\[34ma[39m -> [47m[32mprimIfThenElse a[39m[49m) True Tuple0 '_')[K | ||
35 | focus: labEnd ((\[34ma[39m -> [47m[32mprimIfThenElse a[39m[49m True) Tuple0 '_')[K | ||
36 | check: labEnd ((\[34ma[39m -> [32mprimIfThenElse a[39m [47mTrue::[32m'Bool[39m[49m) Tuple0 '_')[K | ||
37 | infer: labEnd ((\[34ma[39m -> [32mprimIfThenElse a[39m [47mTrue[49m:[32m'Bool[39m) Tuple0 '_')[K | ||
38 | focus: labEnd ((\[34ma[39m -> [32mprimIfThenElse a[39m [47m[32mTrue[39m[49m:[32m'Bool[39m) Tuple0 '_')[K | ||
39 | focus: labEnd ((\[34ma[39m -> [32mprimIfThenElse a[39m (\[34mb[39m:[32m'Unit[39m -> [47m[32mTrue[39m[49m)) Tuple0 '_')[K | ||
40 | focus: labEnd ((\[34ma[39m -> [32mprimIfThenElse a[39m [47m[32mTrue[39m[49m) Tuple0 '_')[K | ||
41 | focus: labEnd ((\[34ma[39m -> [47m[32mprimIfThenElse a True[39m[49m) Tuple0 '_')[K | ||
42 | focus: labEnd ((\[34ma[39m -> [47m[32mprimIfThenElse a True[39m[49m Tuple0) '_')[K | ||
43 | check: labEnd ((\[34ma[39m -> [32mprimIfThenElse a True[39m [47mTuple0::[32ma[39m[49m) '_')[K | ||
44 | infer: labEnd ((\[34ma[39m -> [32mprimIfThenElse a True[39m [47mTuple0[49m:[32ma[39m) '_')[K | ||
45 | focus: labEnd ((\[34ma[39m -> [32mprimIfThenElse a True[39m [47m[32mTuple0[39m[49m:[32ma[39m) '_')[K | ||
46 | focus: labEnd ((\[34ma[39m -> [32mprimIfThenElse a True[39m \([34mb[39m : [32ma~'Tuple0[39m)->[47m[32mTuple0[39m[49m) '_')[K | ||
47 | focus: labEnd ((\[34ma[39m -> [32mprimIfThenElse a True[39m (\[34ma[39m:=[32m'Tuple0[39m -> [47m[32mTuple0[39m[49m)) '_')[K | ||
48 | focus: labEnd ((\[34ma[39m [34ma[39m:=[32m'Tuple0[39m -> [32mprimIfThenElse 'Tuple0 True[39m [47m[32mTuple0[39m[49m) '_')[K | ||
49 | focus: labEnd ((\[34ma[39m [34ma[39m:=[32m'Tuple0[39m -> [47m[32mprimIfThenElse 'Tuple0 True Tuple0[39m[49m) '_')[K | ||
50 | focus: labEnd ([47m[32mprimIfThenElse 'Tuple0 True Tuple0[39m[49m '_')[K | ||
51 | check: labEnd ([32mprimIfThenElse 'Tuple0 True Tuple0[39m [47m'_'::[32m'Tuple0[39m[49m)[K | ||
52 | infer: labEnd ([32mprimIfThenElse 'Tuple0 True Tuple0[39m [47m'_'[49m:[32m'Tuple0[39m)[K | ||
53 | focus: labEnd ([32mprimIfThenElse 'Tuple0 True Tuple0[39m [47m[32m'_'[39m[49m:[32m'Tuple0[39m)[K | ||
54 | focus: labEnd ([32mprimIfThenElse 'Tuple0 True Tuple0[39m \([34ma[39m : [32m'Empty "can not unify\n\ESC[32m'Tuple0\ESC[m\nwith\n\ESC[32m'Char\ESC[m\n"[39m)->[47m[32m'_'[39m[49m)[K | ||
55 | !type error: can not unify | ||
56 | [32m'Tuple0[m | ||
57 | with | ||
58 | [32m'Char[m | ||
59 | |||
60 | in testdata/language-features/basic-values/if04.reject.lc:1:31 | ||
61 | |||
62 | ------------ tooltips | ||
63 | testdata/language-features/basic-values/if04.reject.lc 1:13-1:17 Bool | ||
64 | testdata/language-features/basic-values/if04.reject.lc 1:13-1:25 Tuple0->Tuple0 | ||
65 | testdata/language-features/basic-values/if04.reject.lc 1:23-1:25 Tuple0 | ||
66 | testdata/language-features/basic-values/if04.reject.lc 1:31-1:34 Char | ||
diff --git a/testdata/language-features/basic-values/indentation01.out b/testdata/language-features/basic-values/indentation01.out index a0ba4d19..5136fc74 100644 --- a/testdata/language-features/basic-values/indentation01.out +++ b/testdata/language-features/basic-values/indentation01.out | |||
@@ -1,4 +1,7 @@ | |||
1 | main is not found | 1 | main is not found |
2 | ------------ trace | ||
3 | tuple1 :: [32m'Tuple0[39m[K | ||
4 | tuple2 :: [32m'Tuple0[39m[K | ||
2 | ------------ tooltips | 5 | ------------ tooltips |
3 | testdata/language-features/basic-values/indentation01.lc 1:1-1:7 Tuple0 | 6 | testdata/language-features/basic-values/indentation01.lc 1:1-1:7 Tuple0 |
4 | testdata/language-features/basic-values/indentation01.lc 1:10-1:12 Tuple0 | 7 | testdata/language-features/basic-values/indentation01.lc 1:10-1:12 Tuple0 |
diff --git a/testdata/language-features/basic-values/indentation02.out b/testdata/language-features/basic-values/indentation02.out index b6510ce2..21e8f789 100644 --- a/testdata/language-features/basic-values/indentation02.out +++ b/testdata/language-features/basic-values/indentation02.out | |||
@@ -1,4 +1,7 @@ | |||
1 | main is not found | 1 | main is not found |
2 | ------------ trace | ||
3 | tuple1 :: [32m'Tuple0[39m[K | ||
4 | tuple2 :: [32m'Tuple0[39m[K | ||
2 | ------------ tooltips | 5 | ------------ tooltips |
3 | testdata/language-features/basic-values/indentation02.lc 1:3-1:9 Tuple0 | 6 | testdata/language-features/basic-values/indentation02.lc 1:3-1:9 Tuple0 |
4 | testdata/language-features/basic-values/indentation02.lc 1:12-1:14 Tuple0 | 7 | testdata/language-features/basic-values/indentation02.lc 1:12-1:14 Tuple0 |
diff --git a/testdata/language-features/basic-values/indentation03.reject.out b/testdata/language-features/basic-values/indentation03.reject.out index d7b765a3..8b9c4420 100644 --- a/testdata/language-features/basic-values/indentation03.reject.out +++ b/testdata/language-features/basic-values/indentation03.reject.out | |||
@@ -1,3 +1,7 @@ | |||
1 | testdata/language-features/basic-values/indentation03.reject.lc:2:10: | 1 | testdata/language-features/basic-values/indentation03.reject.lc:2:10: |
2 | unexpected '=' | 2 | unexpected '=' |
3 | expecting end of input \ No newline at end of file | 3 | expecting end of input |
4 | ------------ trace | ||
5 | !testdata/language-features/basic-values/indentation03.reject.lc:2:10: | ||
6 | unexpected '=' | ||
7 | expecting end of input | ||
diff --git a/testdata/language-features/basic-values/indentation04.reject.out b/testdata/language-features/basic-values/indentation04.reject.out index 4286f549..eb87cf2a 100644 --- a/testdata/language-features/basic-values/indentation04.reject.out +++ b/testdata/language-features/basic-values/indentation04.reject.out | |||
@@ -1,3 +1,7 @@ | |||
1 | testdata/language-features/basic-values/indentation04.reject.lc:2:2: | 1 | testdata/language-features/basic-values/indentation04.reject.lc:2:2: |
2 | unexpected 't' | 2 | unexpected 't' |
3 | expecting end of input \ No newline at end of file | 3 | expecting end of input |
4 | ------------ trace | ||
5 | !testdata/language-features/basic-values/indentation04.reject.lc:2:2: | ||
6 | unexpected 't' | ||
7 | expecting end of input | ||
diff --git a/testdata/language-features/basic-values/infix01.out b/testdata/language-features/basic-values/infix01.out index 57c395cf..4af2bd86 100644 --- a/testdata/language-features/basic-values/infix01.out +++ b/testdata/language-features/basic-values/infix01.out | |||
@@ -1,4 +1,7 @@ | |||
1 | main is not found | 1 | main is not found |
2 | ------------ trace | ||
3 | fun :: [32m{a} -> {b} -> a -> b->'Tuple0[39m[K | ||
4 | value :: [32m{a} -> {b} -> a -> b->'Tuple0[39m[K | ||
2 | ------------ tooltips | 5 | ------------ tooltips |
3 | testdata/language-features/basic-values/infix01.lc 1:1-1:4 {a} -> {b} -> a -> b->Tuple0 | 6 | testdata/language-features/basic-values/infix01.lc 1:1-1:4 {a} -> {b} -> a -> b->Tuple0 |
4 | testdata/language-features/basic-values/infix01.lc 1:11-1:13 Tuple0 | 7 | testdata/language-features/basic-values/infix01.lc 1:11-1:13 Tuple0 |
diff --git a/testdata/language-features/basic-values/infix02.out b/testdata/language-features/basic-values/infix02.out index bcb993af..d0e35e34 100644 --- a/testdata/language-features/basic-values/infix02.out +++ b/testdata/language-features/basic-values/infix02.out | |||
@@ -1,4 +1,7 @@ | |||
1 | main is not found | 1 | main is not found |
2 | ------------ trace | ||
3 | fun :: [32m{a} -> {b} -> {c} -> a -> b -> c->'Tuple0[39m[K | ||
4 | value :: [32m{a} -> {b} -> {c} -> a -> b -> c->'Tuple0[39m[K | ||
2 | ------------ tooltips | 5 | ------------ tooltips |
3 | testdata/language-features/basic-values/infix02.lc 1:1-1:4 {a} -> {b} -> {c} -> a -> b -> c->Tuple0 | 6 | testdata/language-features/basic-values/infix02.lc 1:1-1:4 {a} -> {b} -> {c} -> a -> b -> c->Tuple0 |
4 | testdata/language-features/basic-values/infix02.lc 1:13-1:15 Tuple0 | 7 | testdata/language-features/basic-values/infix02.lc 1:13-1:15 Tuple0 |
diff --git a/testdata/language-features/basic-values/infix03.out b/testdata/language-features/basic-values/infix03.out index 86dbea4f..df850166 100644 --- a/testdata/language-features/basic-values/infix03.out +++ b/testdata/language-features/basic-values/infix03.out | |||
@@ -1,4 +1,12 @@ | |||
1 | main is not found | 1 | main is not found |
2 | ------------ trace | ||
3 | 'D :: [32mType[39m[K | ||
4 | D2 :: [32m'Tuple0 -> 'Tuple0->'D[39m[K | ||
5 | D3 :: [32m'Tuple0 -> 'Tuple0 -> 'Tuple0->'D[39m[K | ||
6 | 'DCase :: [32m(b : 'D->Type) -> (c:'Tuple0 -> d:'Tuple0 -> b (D2 c d)) -> (f:'Tuple0 -> g:'Tuple0 -> h:'Tuple0 -> b (D3 f g h)) -> j:'D -> b j[39m[K | ||
7 | match'D :: [32m(b : Type->Type) -> b 'D -> d:Type -> b d -> b d[39m[K | ||
8 | d2 :: [32m'Tuple0 -> 'Tuple0->'D[39m[K | ||
9 | d3 :: [32m'Tuple0 -> 'Tuple0 -> 'Tuple0->'D[39m[K | ||
2 | ------------ tooltips | 10 | ------------ tooltips |
3 | testdata/language-features/basic-values/infix03.lc 1:6-1:7 Type | 11 | testdata/language-features/basic-values/infix03.lc 1:6-1:7 Type |
4 | testdata/language-features/basic-values/infix03.lc 1:6-1:18 Type | 12 | testdata/language-features/basic-values/infix03.lc 1:6-1:18 Type |
diff --git a/testdata/language-features/basic-values/infix04.reject.out b/testdata/language-features/basic-values/infix04.reject.out index 74aeb21b..111f5948 100644 --- a/testdata/language-features/basic-values/infix04.reject.out +++ b/testdata/language-features/basic-values/infix04.reject.out | |||
@@ -1,3 +1,7 @@ | |||
1 | testdata/language-features/basic-values/infix04.reject.lc:3:14: | 1 | testdata/language-features/basic-values/infix04.reject.lc:3:14: |
2 | unexpected '`' | 2 | unexpected '`' |
3 | expecting end of input \ No newline at end of file | 3 | expecting end of input |
4 | ------------ trace | ||
5 | !testdata/language-features/basic-values/infix04.reject.lc:3:14: | ||
6 | unexpected '`' | ||
7 | expecting end of input | ||
diff --git a/testdata/language-features/basic-values/lambda01.out b/testdata/language-features/basic-values/lambda01.out index 97b39e37..238549fb 100644 --- a/testdata/language-features/basic-values/lambda01.out +++ b/testdata/language-features/basic-values/lambda01.out | |||
@@ -1,4 +1,9 @@ | |||
1 | main is not found | 1 | main is not found |
2 | ------------ trace | ||
3 | fun1 :: [32m{a} -> a->'Tuple0[39m[K | ||
4 | fun2 :: [32m{a} -> a->'Tuple0[39m[K | ||
5 | fun3 :: [32m{a} -> a->'Tuple0[39m[K | ||
6 | fun4 :: [32m{a} -> {b} -> {c} -> {d} -> {e} -> {f} -> {g} -> {h} -> {i} -> a -> b -> c -> d -> e -> f -> g -> h -> i->'Tuple0[39m[K | ||
2 | ------------ tooltips | 7 | ------------ tooltips |
3 | testdata/language-features/basic-values/lambda01.lc 1:1-1:5 {a} -> a->Tuple0 | 8 | testdata/language-features/basic-values/lambda01.lc 1:1-1:5 {a} -> a->Tuple0 |
4 | testdata/language-features/basic-values/lambda01.lc 1:14-1:16 Tuple0 | 9 | testdata/language-features/basic-values/lambda01.lc 1:14-1:16 Tuple0 |
diff --git a/testdata/language-features/basic-values/lambda02.reject.out b/testdata/language-features/basic-values/lambda02.reject.out index 96b56132..a500c0e8 100644 --- a/testdata/language-features/basic-values/lambda02.reject.out +++ b/testdata/language-features/basic-values/lambda02.reject.out | |||
@@ -1,3 +1,7 @@ | |||
1 | testdata/language-features/basic-values/lambda02.reject.lc:1:1: | 1 | testdata/language-features/basic-values/lambda02.reject.lc:1:1: |
2 | unexpected 'f' | 2 | unexpected 'f' |
3 | expecting end of input or operator definition \ No newline at end of file | 3 | expecting end of input or operator definition |
4 | ------------ trace | ||
5 | !testdata/language-features/basic-values/lambda02.reject.lc:1:1: | ||
6 | unexpected 'f' | ||
7 | expecting end of input or operator definition | ||
diff --git a/testdata/language-features/basic-values/lambda03.out b/testdata/language-features/basic-values/lambda03.out index d0dfa607..dcca4352 100644 --- a/testdata/language-features/basic-values/lambda03.out +++ b/testdata/language-features/basic-values/lambda03.out | |||
@@ -1,4 +1,7 @@ | |||
1 | main is not found | 1 | main is not found |
2 | ------------ trace | ||
3 | fun1 :: [32m{a} -> {b} -> {c} -> a -> b -> c->b[39m[K | ||
4 | fun2 :: [32m{a} -> {b} -> {c} -> {d} -> a -> b -> c -> d->a[39m[K | ||
2 | ------------ tooltips | 5 | ------------ tooltips |
3 | testdata/language-features/basic-values/lambda03.lc 1:1-1:5 {a} -> {b} -> {c} -> a -> b -> c->b | 6 | testdata/language-features/basic-values/lambda03.lc 1:1-1:5 {a} -> {b} -> {c} -> a -> b -> c->b |
4 | testdata/language-features/basic-values/lambda03.lc 1:22-1:23 V3 | 7 | testdata/language-features/basic-values/lambda03.lc 1:22-1:23 V3 |
diff --git a/testdata/language-features/basic-values/let01.out b/testdata/language-features/basic-values/let01.out index 273dc3c5..71622998 100644 --- a/testdata/language-features/basic-values/let01.out +++ b/testdata/language-features/basic-values/let01.out | |||
@@ -1,4 +1,10 @@ | |||
1 | main is not found | 1 | main is not found |
2 | ------------ trace | ||
3 | value1 :: [32m{a} -> {b : 'Num a}->a[39m[K | ||
4 | value2 :: [32m{a} -> {b : 'Num a}->a[39m[K | ||
5 | value3 :: [32m{a} -> {b : 'Num a}->a[39m[K | ||
6 | value4 :: [32m{a} -> {b : 'Num a}->a[39m[K | ||
7 | value5 :: [32m{a} -> {b : 'Num a}->a[39m[K | ||
2 | ------------ tooltips | 8 | ------------ tooltips |
3 | testdata/language-features/basic-values/let01.lc 1:1-1:7 {a} -> {b : Num a}->a | 9 | testdata/language-features/basic-values/let01.lc 1:1-1:7 {a} -> {b : Num a}->a |
4 | testdata/language-features/basic-values/let01.lc 3:1-3:7 {a} -> {b : Num a}->a | 10 | testdata/language-features/basic-values/let01.lc 3:1-3:7 {a} -> {b : Num a}->a |
diff --git a/testdata/language-features/basic-values/let02.out b/testdata/language-features/basic-values/let02.out index 08431d3d..6c839e85 100644 --- a/testdata/language-features/basic-values/let02.out +++ b/testdata/language-features/basic-values/let02.out | |||
@@ -1,4 +1,6 @@ | |||
1 | main is not found | 1 | main is not found |
2 | ------------ trace | ||
3 | value :: [32m'Tuple0[39m[K | ||
2 | ------------ tooltips | 4 | ------------ tooltips |
3 | testdata/language-features/basic-values/let02.lc 1:1-1:6 Tuple0 | 5 | testdata/language-features/basic-values/let02.lc 1:1-1:6 Tuple0 |
4 | testdata/language-features/basic-values/let02.lc 2:11-2:13 Tuple0 | 6 | testdata/language-features/basic-values/let02.lc 2:11-2:13 Tuple0 |
diff --git a/testdata/language-features/basic-values/literal01.out b/testdata/language-features/basic-values/literal01.out index ff9332af..8bc84e87 100644 --- a/testdata/language-features/basic-values/literal01.out +++ b/testdata/language-features/basic-values/literal01.out | |||
@@ -1,4 +1,14 @@ | |||
1 | main is not found | 1 | main is not found |
2 | ------------ trace | ||
3 | intValue1 :: [32m{a} -> {b : 'Num a}->a[39m[K | ||
4 | intValue2 :: [32m{a} -> {b : 'Num a}->a[39m[K | ||
5 | intValue3 :: [32m{a} -> {b : 'Num a}->a[39m[K | ||
6 | floatValue1 :: [32m'Float[39m[K | ||
7 | floatValue2 :: [32m'Float[39m[K | ||
8 | charValue :: [32m'Char[39m[K | ||
9 | stringValue1 :: [32m'String[39m[K | ||
10 | stringValue2 :: [32m'String[39m[K | ||
11 | natValue :: [32m{a} -> {b : 'Num a}->a[39m[K | ||
2 | ------------ tooltips | 12 | ------------ tooltips |
3 | testdata/language-features/basic-values/literal01.lc 1:1-1:10 {a} -> {b : Num a}->a | 13 | testdata/language-features/basic-values/literal01.lc 1:1-1:10 {a} -> {b : Num a}->a |
4 | testdata/language-features/basic-values/literal01.lc 2:1-2:10 {a} -> {b : Num a}->a | 14 | testdata/language-features/basic-values/literal01.lc 2:1-2:10 {a} -> {b : Num a}->a |
diff --git a/testdata/language-features/basic-values/operator01.out b/testdata/language-features/basic-values/operator01.out index 126d54fa..454ec7cd 100644 --- a/testdata/language-features/basic-values/operator01.out +++ b/testdata/language-features/basic-values/operator01.out | |||
@@ -1,4 +1,9 @@ | |||
1 | main is not found | 1 | main is not found |
2 | ------------ trace | ||
3 | #$# :: [32m{a} -> {b} -> a -> b->'Tuple0[39m[K | ||
4 | $$# :: [32m{a} -> {b} -> a -> b->'Tuple0[39m[K | ||
5 | $$$# :: [32m{a} -> {b} -> a -> b->'Tuple0[39m[K | ||
6 | $$$ :: [32m{a} -> {b} -> a -> b->'Tuple0[39m[K | ||
2 | ------------ tooltips | 7 | ------------ tooltips |
3 | testdata/language-features/basic-values/operator01.lc 1:3-1:6 {a} -> {b} -> a -> b->Tuple0 | 8 | testdata/language-features/basic-values/operator01.lc 1:3-1:6 {a} -> {b} -> a -> b->Tuple0 |
4 | testdata/language-features/basic-values/operator01.lc 1:11-1:13 Tuple0 | 9 | testdata/language-features/basic-values/operator01.lc 1:11-1:13 Tuple0 |
diff --git a/testdata/language-features/basic-values/operator02.reject.out b/testdata/language-features/basic-values/operator02.reject.out index 929e71f5..971ce465 100644 --- a/testdata/language-features/basic-values/operator02.reject.out +++ b/testdata/language-features/basic-values/operator02.reject.out | |||
@@ -3,4 +3,17 @@ a #$# b = () | |||
3 | ^^^ | 3 | ^^^ |
4 | and at testdata/language-features/basic-values/operator02.reject.lc:1:3: | 4 | and at testdata/language-features/basic-values/operator02.reject.lc:1:3: |
5 | a #$# b = () | 5 | a #$# b = () |
6 | ^^^ \ No newline at end of file | 6 | ^^^ |
7 | ------------ trace | ||
8 | #$# :: [32m{a} -> {b} -> a -> b->'Tuple0[39m[K | ||
9 | fun :: [32m{a} -> a->'Tuple0[39m[K | ||
10 | #$# :: [32m{a} -> {b} -> a -> b->'Tuple0[39m[K | ||
11 | !already defined #$# at testdata/language-features/basic-values/operator02.reject.lc:3:3 | ||
12 | and at testdata/language-features/basic-values/operator02.reject.lc:1:3 | ||
13 | ------------ tooltips | ||
14 | testdata/language-features/basic-values/operator02.reject.lc 1:3-1:6 {a} -> {b} -> a -> b->Tuple0 | ||
15 | testdata/language-features/basic-values/operator02.reject.lc 1:11-1:13 Tuple0 | ||
16 | testdata/language-features/basic-values/operator02.reject.lc 2:1-2:4 {a} -> a->Tuple0 | ||
17 | testdata/language-features/basic-values/operator02.reject.lc 2:9-2:11 Tuple0 | ||
18 | testdata/language-features/basic-values/operator02.reject.lc 3:3-3:6 {a} -> {b} -> a -> b->Tuple0 | ||
19 | testdata/language-features/basic-values/operator02.reject.lc 3:11-3:13 Tuple0 | ||
diff --git a/testdata/language-features/basic-values/operator03.reject.out b/testdata/language-features/basic-values/operator03.reject.out index 20248e7e..d0e555bc 100644 --- a/testdata/language-features/basic-values/operator03.reject.out +++ b/testdata/language-features/basic-values/operator03.reject.out | |||
@@ -1,3 +1,7 @@ | |||
1 | testdata/language-features/basic-values/operator03.reject.lc:1:1: | 1 | testdata/language-features/basic-values/operator03.reject.lc:1:1: |
2 | unexpected 'a' | 2 | unexpected 'a' |
3 | expecting end of input or operator definition \ No newline at end of file | 3 | expecting end of input or operator definition |
4 | ------------ trace | ||
5 | !testdata/language-features/basic-values/operator03.reject.lc:1:1: | ||
6 | unexpected 'a' | ||
7 | expecting end of input or operator definition | ||
diff --git a/testdata/language-features/basic-values/operator04.reject.out b/testdata/language-features/basic-values/operator04.reject.out index 5537b846..7ff5147d 100644 --- a/testdata/language-features/basic-values/operator04.reject.out +++ b/testdata/language-features/basic-values/operator04.reject.out | |||
@@ -1,3 +1,7 @@ | |||
1 | testdata/language-features/basic-values/operator04.reject.lc:1:1: | 1 | testdata/language-features/basic-values/operator04.reject.lc:1:1: |
2 | unexpected 'a' | 2 | unexpected 'a' |
3 | expecting end of input or operator definition \ No newline at end of file | 3 | expecting end of input or operator definition |
4 | ------------ trace | ||
5 | !testdata/language-features/basic-values/operator04.reject.lc:1:1: | ||
6 | unexpected 'a' | ||
7 | expecting end of input or operator definition | ||
diff --git a/testdata/language-features/basic-values/operator05.out b/testdata/language-features/basic-values/operator05.out index 37e55c1c..d5f2131f 100644 --- a/testdata/language-features/basic-values/operator05.out +++ b/testdata/language-features/basic-values/operator05.out | |||
@@ -1,4 +1,6 @@ | |||
1 | main is not found | 1 | main is not found |
2 | ------------ trace | ||
3 | value1 :: [32m'Tuple0[39m[K | ||
2 | ------------ tooltips | 4 | ------------ tooltips |
3 | testdata/language-features/basic-values/operator05.lc 1:1-1:7 Tuple0 | 5 | testdata/language-features/basic-values/operator05.lc 1:1-1:7 Tuple0 |
4 | testdata/language-features/basic-values/operator05.lc 1:24-1:26 Tuple0 | 6 | testdata/language-features/basic-values/operator05.lc 1:24-1:26 Tuple0 |
diff --git a/testdata/language-features/basic-values/operator06.out b/testdata/language-features/basic-values/operator06.out index a861c01e..65d0246b 100644 --- a/testdata/language-features/basic-values/operator06.out +++ b/testdata/language-features/basic-values/operator06.out | |||
@@ -1,4 +1,6 @@ | |||
1 | main is not found | 1 | main is not found |
2 | ------------ trace | ||
3 | value1 :: [32m'Tuple0[39m[K | ||
2 | ------------ tooltips | 4 | ------------ tooltips |
3 | testdata/language-features/basic-values/operator06.lc 1:1-1:7 Tuple0 | 5 | testdata/language-features/basic-values/operator06.lc 1:1-1:7 Tuple0 |
4 | testdata/language-features/basic-values/operator06.lc 1:10-1:12 Tuple0 | 6 | testdata/language-features/basic-values/operator06.lc 1:10-1:12 Tuple0 |
diff --git a/testdata/language-features/basic-values/redefine01.reject.out b/testdata/language-features/basic-values/redefine01.reject.out index a5335520..12046fac 100644 --- a/testdata/language-features/basic-values/redefine01.reject.out +++ b/testdata/language-features/basic-values/redefine01.reject.out | |||
@@ -3,4 +3,17 @@ unit = () | |||
3 | ^^^^ | 3 | ^^^^ |
4 | and at testdata/language-features/basic-values/redefine01.reject.lc:1:1: | 4 | and at testdata/language-features/basic-values/redefine01.reject.lc:1:1: |
5 | unit = () | 5 | unit = () |
6 | ^^^^ \ No newline at end of file | 6 | ^^^^ |
7 | ------------ trace | ||
8 | unit :: [32m'Tuple0[39m[K | ||
9 | tuple :: [32m'Tuple0[39m[K | ||
10 | unit :: [32m'Tuple0[39m[K | ||
11 | !already defined unit at testdata/language-features/basic-values/redefine01.reject.lc:3:1 | ||
12 | and at testdata/language-features/basic-values/redefine01.reject.lc:1:1 | ||
13 | ------------ tooltips | ||
14 | testdata/language-features/basic-values/redefine01.reject.lc 1:1-1:5 Tuple0 | ||
15 | testdata/language-features/basic-values/redefine01.reject.lc 1:8-1:10 Tuple0 | ||
16 | testdata/language-features/basic-values/redefine01.reject.lc 2:1-2:6 Tuple0 | ||
17 | testdata/language-features/basic-values/redefine01.reject.lc 2:9-2:11 Tuple0 | ||
18 | testdata/language-features/basic-values/redefine01.reject.lc 3:1-3:5 Tuple0 | ||
19 | testdata/language-features/basic-values/redefine01.reject.lc 3:8-3:10 Tuple0 | ||
diff --git a/testdata/language-features/basic-values/redefine02.reject.out b/testdata/language-features/basic-values/redefine02.reject.out index 479c56a6..39430955 100644 --- a/testdata/language-features/basic-values/redefine02.reject.out +++ b/testdata/language-features/basic-values/redefine02.reject.out | |||
@@ -1,3 +1,7 @@ | |||
1 | testdata/language-features/basic-values/redefine02.reject.lc:3:8: | 1 | testdata/language-features/basic-values/redefine02.reject.lc:3:8: |
2 | expecting expression | 2 | expecting expression |
3 | redefined x at testdata/language-features/basic-values/redefine02.reject.lc 1:12-1:13 \ No newline at end of file | 3 | redefined x at testdata/language-features/basic-values/redefine02.reject.lc 1:12-1:13 |
4 | ------------ trace | ||
5 | !testdata/language-features/basic-values/redefine02.reject.lc:3:8: | ||
6 | expecting expression | ||
7 | redefined x at testdata/language-features/basic-values/redefine02.reject.lc 1:12-1:13 | ||
diff --git a/testdata/language-features/basic-values/redefine03.reject.out b/testdata/language-features/basic-values/redefine03.reject.out index 3daeca8c..edfcce60 100644 --- a/testdata/language-features/basic-values/redefine03.reject.out +++ b/testdata/language-features/basic-values/redefine03.reject.out | |||
@@ -1,2 +1,5 @@ | |||
1 | testdata/language-features/basic-values/redefine03.reject.lc:4:1: | 1 | testdata/language-features/basic-values/redefine03.reject.lc:4:1: |
2 | redefined x at testdata/language-features/basic-values/redefine03.reject.lc 2:9-2:10 \ No newline at end of file | 2 | redefined x at testdata/language-features/basic-values/redefine03.reject.lc 2:9-2:10 |
3 | ------------ trace | ||
4 | !testdata/language-features/basic-values/redefine03.reject.lc:4:1: | ||
5 | redefined x at testdata/language-features/basic-values/redefine03.reject.lc 2:9-2:10 | ||
diff --git a/testdata/language-features/basic-values/shadowing01.out b/testdata/language-features/basic-values/shadowing01.out index 39d454e5..78f02ed9 100644 --- a/testdata/language-features/basic-values/shadowing01.out +++ b/testdata/language-features/basic-values/shadowing01.out | |||
@@ -1,4 +1,6 @@ | |||
1 | main is not found | 1 | main is not found |
2 | ------------ trace | ||
3 | value :: [32m'Char[39m[K | ||
2 | ------------ tooltips | 4 | ------------ tooltips |
3 | testdata/language-features/basic-values/shadowing01.lc 1:1-1:6 Char | 5 | testdata/language-features/basic-values/shadowing01.lc 1:1-1:6 Char |
4 | testdata/language-features/basic-values/shadowing01.lc 2:11-2:14 Char | 6 | testdata/language-features/basic-values/shadowing01.lc 2:11-2:14 Char |
diff --git a/testdata/language-features/basic-values/shadowing02.out b/testdata/language-features/basic-values/shadowing02.out index 0d886f51..09696b46 100644 --- a/testdata/language-features/basic-values/shadowing02.out +++ b/testdata/language-features/basic-values/shadowing02.out | |||
@@ -1,4 +1,8 @@ | |||
1 | main is not found | 1 | main is not found |
2 | ------------ trace | ||
3 | c :: [32m{a} -> {b : 'Num a}->a[39m[K | ||
4 | world :: [32m'String[39m[K | ||
5 | value2 :: [32m'Char[39m[K | ||
2 | ------------ tooltips | 6 | ------------ tooltips |
3 | testdata/language-features/basic-values/shadowing02.lc 1:1-1:2 {a} -> {b : Num a}->a | 7 | testdata/language-features/basic-values/shadowing02.lc 1:1-1:2 {a} -> {b : Num a}->a |
4 | testdata/language-features/basic-values/shadowing02.lc 2:1-2:6 String | 8 | testdata/language-features/basic-values/shadowing02.lc 2:1-2:6 String |
diff --git a/testdata/language-features/basic-values/shadowing03.out b/testdata/language-features/basic-values/shadowing03.out index 8a224525..64539fb3 100644 --- a/testdata/language-features/basic-values/shadowing03.out +++ b/testdata/language-features/basic-values/shadowing03.out | |||
@@ -1,4 +1,6 @@ | |||
1 | main is not found | 1 | main is not found |
2 | ------------ trace | ||
3 | x :: [32m{a} -> {b} -> a -> b->'Tuple0[39m[K | ||
2 | ------------ tooltips | 4 | ------------ tooltips |
3 | testdata/language-features/basic-values/shadowing03.lc 1:1-1:2 {a} -> {b} -> a -> b->Tuple0 | 5 | testdata/language-features/basic-values/shadowing03.lc 1:1-1:2 {a} -> {b} -> a -> b->Tuple0 |
4 | testdata/language-features/basic-values/shadowing03.lc 1:9-1:11 Tuple0 | 6 | testdata/language-features/basic-values/shadowing03.lc 1:9-1:11 Tuple0 |
diff --git a/testdata/language-features/basic-values/shadowing04.out b/testdata/language-features/basic-values/shadowing04.out index 91e72e21..ee76e57b 100644 --- a/testdata/language-features/basic-values/shadowing04.out +++ b/testdata/language-features/basic-values/shadowing04.out | |||
@@ -1,4 +1,6 @@ | |||
1 | main is not found | 1 | main is not found |
2 | ------------ trace | ||
3 | __ :: [32m{a} -> {b} -> a -> b->'Tuple0[39m[K | ||
2 | ------------ tooltips | 4 | ------------ tooltips |
3 | testdata/language-features/basic-values/shadowing04.lc 1:1-1:3 {a} -> {b} -> a -> b->Tuple0 | 5 | testdata/language-features/basic-values/shadowing04.lc 1:1-1:3 {a} -> {b} -> a -> b->Tuple0 |
4 | testdata/language-features/basic-values/shadowing04.lc 1:11-1:13 Tuple0 | 6 | testdata/language-features/basic-values/shadowing04.lc 1:11-1:13 Tuple0 |
diff --git a/testdata/language-features/basic-values/tuple01.out b/testdata/language-features/basic-values/tuple01.out index 94ddefa3..5c591a9c 100644 --- a/testdata/language-features/basic-values/tuple01.out +++ b/testdata/language-features/basic-values/tuple01.out | |||
@@ -1,4 +1,6 @@ | |||
1 | main is not found | 1 | main is not found |
2 | ------------ trace | ||
3 | unit :: [32m'Tuple0[39m[K | ||
2 | ------------ tooltips | 4 | ------------ tooltips |
3 | testdata/language-features/basic-values/tuple01.lc 1:1-1:5 Tuple0 | 5 | testdata/language-features/basic-values/tuple01.lc 1:1-1:5 Tuple0 |
4 | testdata/language-features/basic-values/tuple01.lc 1:8-1:10 Tuple0 | 6 | testdata/language-features/basic-values/tuple01.lc 1:8-1:10 Tuple0 |
diff --git a/testdata/language-features/basic-values/tuple02.out b/testdata/language-features/basic-values/tuple02.out index 928ad0d1..847bc4ee 100644 --- a/testdata/language-features/basic-values/tuple02.out +++ b/testdata/language-features/basic-values/tuple02.out | |||
@@ -1,4 +1,8 @@ | |||
1 | main is not found | 1 | main is not found |
2 | ------------ trace | ||
3 | tuple1 :: [32m{a} -> {b : 'Num a} -> 'Tuple5 a 'Float 'Char 'String 'Tuple0[39m[K | ||
4 | tuple2 :: [32m'Tuple2 'Tuple0 'Tuple0[39m[K | ||
5 | tuple3 :: [32m'Tuple2 ('Tuple2 'String 'Char) 'Tuple0[39m[K | ||
2 | ------------ tooltips | 6 | ------------ tooltips |
3 | testdata/language-features/basic-values/tuple02.lc 1:1-1:7 {a} -> {b : Num a} -> Tuple5 a Float Char String Tuple0 | 7 | testdata/language-features/basic-values/tuple02.lc 1:1-1:7 {a} -> {b : Num a} -> Tuple5 a Float Char String Tuple0 |
4 | testdata/language-features/basic-values/tuple02.lc 1:10-1:33 Tuple5 V1 Float Char String Tuple0 | 8 | testdata/language-features/basic-values/tuple02.lc 1:10-1:33 Tuple5 V1 Float Char String Tuple0 |
diff --git a/testdata/language-features/basic-values/typesig01.out b/testdata/language-features/basic-values/typesig01.out index 9dffd2e6..00c7fd81 100644 --- a/testdata/language-features/basic-values/typesig01.out +++ b/testdata/language-features/basic-values/typesig01.out | |||
@@ -1,4 +1,7 @@ | |||
1 | main is not found | 1 | main is not found |
2 | ------------ trace | ||
3 | value1 :: [32m'Char[39m[K | ||
4 | value2 :: [32m'Char[39m[K | ||
2 | ------------ tooltips | 5 | ------------ tooltips |
3 | testdata/language-features/basic-values/typesig01.lc 1:11-1:15 Type | 6 | testdata/language-features/basic-values/typesig01.lc 1:11-1:15 Type |
4 | testdata/language-features/basic-values/typesig01.lc 2:1-2:7 Char | 7 | testdata/language-features/basic-values/typesig01.lc 2:1-2:7 Char |
diff --git a/testdata/language-features/basic-values/typesig02.out b/testdata/language-features/basic-values/typesig02.out index e8fbfa8d..b9d5e913 100644 --- a/testdata/language-features/basic-values/typesig02.out +++ b/testdata/language-features/basic-values/typesig02.out | |||
@@ -1,4 +1,7 @@ | |||
1 | main is not found | 1 | main is not found |
2 | ------------ trace | ||
3 | value1 :: [32m'Char[39m[K | ||
4 | value2 :: [32m'Char[39m[K | ||
2 | ------------ tooltips | 5 | ------------ tooltips |
3 | testdata/language-features/basic-values/typesig02.lc 1:1-1:7 Char | 6 | testdata/language-features/basic-values/typesig02.lc 1:1-1:7 Char |
4 | testdata/language-features/basic-values/typesig02.lc 1:10-1:13 Char | 7 | testdata/language-features/basic-values/typesig02.lc 1:10-1:13 Char |
diff --git a/testdata/language-features/basic-values/typesig03.out b/testdata/language-features/basic-values/typesig03.out index 89068e23..0ae5725b 100644 --- a/testdata/language-features/basic-values/typesig03.out +++ b/testdata/language-features/basic-values/typesig03.out | |||
@@ -1,4 +1,7 @@ | |||
1 | main is not found | 1 | main is not found |
2 | ------------ trace | ||
3 | fun1 :: [32m{a} -> {b} -> {c} -> a -> b -> c->'Tuple0[39m[K | ||
4 | fun2 :: [32m{a} -> {b} -> {c} -> a -> b -> c->'Tuple0[39m[K | ||
2 | ------------ tooltips | 5 | ------------ tooltips |
3 | testdata/language-features/basic-values/typesig03.lc 1:9-1:10 V5 | 6 | testdata/language-features/basic-values/typesig03.lc 1:9-1:10 V5 |
4 | testdata/language-features/basic-values/typesig03.lc 1:9-1:26 Type | 7 | testdata/language-features/basic-values/typesig03.lc 1:9-1:26 Type |
diff --git a/testdata/language-features/basic-values/typesig04.out b/testdata/language-features/basic-values/typesig04.out index 80406f80..d497b9e3 100644 --- a/testdata/language-features/basic-values/typesig04.out +++ b/testdata/language-features/basic-values/typesig04.out | |||
@@ -1,4 +1,7 @@ | |||
1 | main is not found | 1 | main is not found |
2 | ------------ trace | ||
3 | fun1 :: [32m{a} -> {b} -> {c} -> a -> b->c -> 'Tuple0[39m[K | ||
4 | fun2 :: [32m{a} -> {b} -> {c} -> a -> b->c -> 'Tuple0[39m[K | ||
2 | ------------ tooltips | 5 | ------------ tooltips |
3 | testdata/language-features/basic-values/typesig04.lc 1:9-1:10 V5 | 6 | testdata/language-features/basic-values/typesig04.lc 1:9-1:10 V5 |
4 | testdata/language-features/basic-values/typesig04.lc 1:9-1:28 Type | 7 | testdata/language-features/basic-values/typesig04.lc 1:9-1:28 Type |
diff --git a/testdata/language-features/basic-values/typesig05.out b/testdata/language-features/basic-values/typesig05.out index a8d61bf4..07a8d216 100644 --- a/testdata/language-features/basic-values/typesig05.out +++ b/testdata/language-features/basic-values/typesig05.out | |||
@@ -1,4 +1,11 @@ | |||
1 | main is not found | 1 | main is not found |
2 | ------------ trace | ||
3 | funL :: [32m{a} -> {b} -> a -> b->a[39m[K | ||
4 | funR :: [32m{a} -> {b} -> a -> b->b[39m[K | ||
5 | value1 :: [32m'Char[39m[K | ||
6 | value2 :: [32m'String[39m[K | ||
7 | value3 :: [32m'Char[39m[K | ||
8 | value4 :: [32m'String[39m[K | ||
2 | ------------ tooltips | 9 | ------------ tooltips |
3 | testdata/language-features/basic-values/typesig05.lc 1:1-1:5 {a} -> {b} -> a -> b->a | 10 | testdata/language-features/basic-values/typesig05.lc 1:1-1:5 {a} -> {b} -> a -> b->a |
4 | testdata/language-features/basic-values/typesig05.lc 1:12-1:13 V3 | 11 | testdata/language-features/basic-values/typesig05.lc 1:12-1:13 V3 |
diff --git a/testdata/language-features/basic-values/typesig06.out b/testdata/language-features/basic-values/typesig06.out index f5ea0a54..f9454255 100644 --- a/testdata/language-features/basic-values/typesig06.out +++ b/testdata/language-features/basic-values/typesig06.out | |||
@@ -1,4 +1,9 @@ | |||
1 | main is not found | 1 | main is not found |
2 | ------------ trace | ||
3 | funL :: [32m{a} -> {b} -> a -> b->a[39m[K | ||
4 | <@ :: [32m{a} -> {b} -> a -> b->a[39m[K | ||
5 | value1 :: [32m'String[39m[K | ||
6 | value2 :: [32m'String[39m[K | ||
2 | ------------ tooltips | 7 | ------------ tooltips |
3 | testdata/language-features/basic-values/typesig06.lc 1:1-1:5 {a} -> {b} -> a -> b->a | 8 | testdata/language-features/basic-values/typesig06.lc 1:1-1:5 {a} -> {b} -> a -> b->a |
4 | testdata/language-features/basic-values/typesig06.lc 1:12-1:13 V3 | 9 | testdata/language-features/basic-values/typesig06.lc 1:12-1:13 V3 |
diff --git a/testdata/language-features/basic-values/typesig07.out b/testdata/language-features/basic-values/typesig07.out index 9a9cf28a..2efd57d6 100644 --- a/testdata/language-features/basic-values/typesig07.out +++ b/testdata/language-features/basic-values/typesig07.out | |||
@@ -1,4 +1,11 @@ | |||
1 | main is not found | 1 | main is not found |
2 | ------------ trace | ||
3 | value1 :: [32m'Int[39m[K | ||
4 | value2 :: [32m'Int[39m[K | ||
5 | value3 :: [32m'Int[39m[K | ||
6 | value4 :: [32m'Tuple0 -> 'Tuple0->'Tuple0[39m[K | ||
7 | @@@ :: [32m'Tuple0 -> 'Tuple0->'Tuple0[39m[K | ||
8 | value6 :: [32m'Tuple0 -> 'Tuple0->'Tuple0[39m[K | ||
2 | ------------ tooltips | 9 | ------------ tooltips |
3 | testdata/language-features/basic-values/typesig07.lc 1:27-1:30 Type | 10 | testdata/language-features/basic-values/typesig07.lc 1:27-1:30 Type |
4 | testdata/language-features/basic-values/typesig07.lc 3:1-3:7 Int | 11 | testdata/language-features/basic-values/typesig07.lc 3:1-3:7 Int |
diff --git a/testdata/language-features/basic-values/typesig08.reject.out b/testdata/language-features/basic-values/typesig08.reject.out index e28976d0..0cba15d4 100644 --- a/testdata/language-features/basic-values/typesig08.reject.out +++ b/testdata/language-features/basic-values/typesig08.reject.out | |||
@@ -1,3 +1,7 @@ | |||
1 | testdata/language-features/basic-values/typesig08.reject.lc:1:1: | 1 | testdata/language-features/basic-values/typesig08.reject.lc:1:1: |
2 | unexpected 'v' | 2 | unexpected 'v' |
3 | expecting end of input or typed ident \ No newline at end of file | 3 | expecting end of input or typed ident |
4 | ------------ trace | ||
5 | !testdata/language-features/basic-values/typesig08.reject.lc:1:1: | ||
6 | unexpected 'v' | ||
7 | expecting end of input or typed ident | ||
diff --git a/testdata/language-features/basic-values/typesig09.reject.out b/testdata/language-features/basic-values/typesig09.reject.out index d85c1eab..ae4b5954 100644 --- a/testdata/language-features/basic-values/typesig09.reject.out +++ b/testdata/language-features/basic-values/typesig09.reject.out | |||
@@ -1,3 +1,7 @@ | |||
1 | testdata/language-features/basic-values/typesig09.reject.lc:1:1: | 1 | testdata/language-features/basic-values/typesig09.reject.lc:1:1: |
2 | unexpected 'v' | 2 | unexpected 'v' |
3 | expecting end of input or typed ident \ No newline at end of file | 3 | expecting end of input or typed ident |
4 | ------------ trace | ||
5 | !testdata/language-features/basic-values/typesig09.reject.lc:1:1: | ||
6 | unexpected 'v' | ||
7 | expecting end of input or typed ident | ||
diff --git a/testdata/language-features/basic-values/typesyn01.out b/testdata/language-features/basic-values/typesyn01.out index b9130142..3e2d214b 100644 --- a/testdata/language-features/basic-values/typesyn01.out +++ b/testdata/language-features/basic-values/typesyn01.out | |||
@@ -1,4 +1,6 @@ | |||
1 | main is not found | 1 | main is not found |
2 | ------------ trace | ||
3 | 'MyUnit :: [32mType[39m[K | ||
2 | ------------ tooltips | 4 | ------------ tooltips |
3 | testdata/language-features/basic-values/typesyn01.lc 1:6-1:12 Type | 5 | testdata/language-features/basic-values/typesyn01.lc 1:6-1:12 Type |
4 | testdata/language-features/basic-values/typesyn01.lc 1:15-1:17 Type | 6 | testdata/language-features/basic-values/typesyn01.lc 1:15-1:17 Type |
diff --git a/testdata/language-features/basic-values/typesyn02.out b/testdata/language-features/basic-values/typesyn02.out index 4199e7c1..417facac 100644 --- a/testdata/language-features/basic-values/typesyn02.out +++ b/testdata/language-features/basic-values/typesyn02.out | |||
@@ -1,4 +1,7 @@ | |||
1 | main is not found | 1 | main is not found |
2 | ------------ trace | ||
3 | 'MyUnit :: [32mType[39m[K | ||
4 | fun :: [32m{a} -> a -> 'Tuple0->'Tuple0[39m[K | ||
2 | ------------ tooltips | 5 | ------------ tooltips |
3 | testdata/language-features/basic-values/typesyn02.lc 1:6-1:12 Type | 6 | testdata/language-features/basic-values/typesyn02.lc 1:6-1:12 Type |
4 | testdata/language-features/basic-values/typesyn02.lc 1:15-1:17 Type | 7 | testdata/language-features/basic-values/typesyn02.lc 1:15-1:17 Type |
diff --git a/testdata/language-features/basic-values/typesyn03.reject.out b/testdata/language-features/basic-values/typesyn03.reject.out index 53f16b3f..6e4373da 100644 --- a/testdata/language-features/basic-values/typesyn03.reject.out +++ b/testdata/language-features/basic-values/typesyn03.reject.out | |||
@@ -3,4 +3,14 @@ type MyUnit = () | |||
3 | ^^^^^^ | 3 | ^^^^^^ |
4 | and at testdata/language-features/basic-values/typesyn03.reject.lc:1:6: | 4 | and at testdata/language-features/basic-values/typesyn03.reject.lc:1:6: |
5 | type MyUnit = () | 5 | type MyUnit = () |
6 | ^^^^^^ \ No newline at end of file | 6 | ^^^^^^ |
7 | ------------ trace | ||
8 | 'MyUnit :: [32mType[39m[K | ||
9 | 'MyUnit :: [32mType[39m[K | ||
10 | !already defined 'MyUnit at testdata/language-features/basic-values/typesyn03.reject.lc:2:6 | ||
11 | and at testdata/language-features/basic-values/typesyn03.reject.lc:1:6 | ||
12 | ------------ tooltips | ||
13 | testdata/language-features/basic-values/typesyn03.reject.lc 1:6-1:12 Type | ||
14 | testdata/language-features/basic-values/typesyn03.reject.lc 1:15-1:17 Type | ||
15 | testdata/language-features/basic-values/typesyn03.reject.lc 2:6-2:12 Type | ||
16 | testdata/language-features/basic-values/typesyn03.reject.lc 2:15-2:17 Type | ||
diff --git a/testdata/language-features/basic-values/typesyn04.reject.out b/testdata/language-features/basic-values/typesyn04.reject.out index d1b582e9..d7fe48a4 100644 --- a/testdata/language-features/basic-values/typesyn04.reject.out +++ b/testdata/language-features/basic-values/typesyn04.reject.out | |||
@@ -3,4 +3,14 @@ type MyUnit = () | |||
3 | ^^^^^^ | 3 | ^^^^^^ |
4 | and at testdata/language-features/basic-values/typesyn04.reject.lc:1:6: | 4 | and at testdata/language-features/basic-values/typesyn04.reject.lc:1:6: |
5 | type MyUnit = () | 5 | type MyUnit = () |
6 | ^^^^^^ \ No newline at end of file | 6 | ^^^^^^ |
7 | ------------ trace | ||
8 | 'MyUnit :: [32mType[39m[K | ||
9 | 'MyUnit :: [32mType[39m[K | ||
10 | !already defined 'MyUnit at testdata/language-features/basic-values/typesyn04.reject.lc:2:6 | ||
11 | and at testdata/language-features/basic-values/typesyn04.reject.lc:1:6 | ||
12 | ------------ tooltips | ||
13 | testdata/language-features/basic-values/typesyn04.reject.lc 1:6-1:12 Type | ||
14 | testdata/language-features/basic-values/typesyn04.reject.lc 1:15-1:17 Type | ||
15 | testdata/language-features/basic-values/typesyn04.reject.lc 2:6-2:12 Type | ||
16 | testdata/language-features/basic-values/typesyn04.reject.lc 2:15-2:17 Type | ||
diff --git a/testdata/language-features/basic-values/where01.out b/testdata/language-features/basic-values/where01.out index e7ac122a..6dfabd94 100644 --- a/testdata/language-features/basic-values/where01.out +++ b/testdata/language-features/basic-values/where01.out | |||
@@ -1,4 +1,16 @@ | |||
1 | main is not found | 1 | main is not found |
2 | ------------ trace | ||
3 | value1 :: [32m'Tuple0[39m[K | ||
4 | value2 :: [32m'Tuple0[39m[K | ||
5 | value3 :: [32m'Tuple0[39m[K | ||
6 | value4 :: [32m'Tuple0[39m[K | ||
7 | value5 :: [32m'Tuple0[39m[K | ||
8 | value6 :: [32m'Tuple0[39m[K | ||
9 | value7 :: [32m'Tuple0[39m[K | ||
10 | value8 :: [32m'Tuple0[39m[K | ||
11 | value9 :: [32m'Tuple0[39m[K | ||
12 | value10 :: [32m'Tuple0[39m[K | ||
13 | value11 :: [32m'Tuple0[39m[K | ||
2 | ------------ tooltips | 14 | ------------ tooltips |
3 | testdata/language-features/basic-values/where01.lc 1:1-1:7 Tuple0 | 15 | testdata/language-features/basic-values/where01.lc 1:1-1:7 Tuple0 |
4 | testdata/language-features/basic-values/where01.lc 1:10-1:12 Tuple0 | 16 | testdata/language-features/basic-values/where01.lc 1:10-1:12 Tuple0 |
diff --git a/testdata/language-features/basic-values/where02.reject.out b/testdata/language-features/basic-values/where02.reject.out index a7a50cdb..835dd06f 100644 --- a/testdata/language-features/basic-values/where02.reject.out +++ b/testdata/language-features/basic-values/where02.reject.out | |||
@@ -1,3 +1,7 @@ | |||
1 | testdata/language-features/basic-values/where02.reject.lc:4:5: | 1 | testdata/language-features/basic-values/where02.reject.lc:4:5: |
2 | unexpected '=' | 2 | unexpected '=' |
3 | expecting end of input \ No newline at end of file | 3 | expecting end of input |
4 | ------------ trace | ||
5 | !testdata/language-features/basic-values/where02.reject.lc:4:5: | ||
6 | unexpected '=' | ||
7 | expecting end of input | ||
diff --git a/testdata/language-features/basic-values/where03.reject.out b/testdata/language-features/basic-values/where03.reject.out index 87af7cec..efc900b5 100644 --- a/testdata/language-features/basic-values/where03.reject.out +++ b/testdata/language-features/basic-values/where03.reject.out | |||
@@ -1,3 +1,7 @@ | |||
1 | testdata/language-features/basic-values/where03.reject.lc:4:2: | 1 | testdata/language-features/basic-values/where03.reject.lc:4:2: |
2 | unexpected 'y' | 2 | unexpected 'y' |
3 | expecting end of input \ No newline at end of file | 3 | expecting end of input |
4 | ------------ trace | ||
5 | !testdata/language-features/basic-values/where03.reject.lc:4:2: | ||
6 | unexpected 'y' | ||
7 | expecting end of input | ||
diff --git a/testdata/language-features/basic-values/where04.out b/testdata/language-features/basic-values/where04.out index df9eab9d..5f026ff7 100644 --- a/testdata/language-features/basic-values/where04.out +++ b/testdata/language-features/basic-values/where04.out | |||
@@ -1,4 +1,8 @@ | |||
1 | main is not found | 1 | main is not found |
2 | ------------ trace | ||
3 | value1 :: [32m'Tuple0[39m[K | ||
4 | value2 :: [32m'Tuple0[39m[K | ||
5 | value3 :: [32m'Tuple0[39m[K | ||
2 | ------------ tooltips | 6 | ------------ tooltips |
3 | testdata/language-features/basic-values/where04.lc 1:1-1:7 Tuple0 | 7 | testdata/language-features/basic-values/where04.lc 1:1-1:7 Tuple0 |
4 | testdata/language-features/basic-values/where04.lc 1:18-1:19 Tuple0 | 8 | testdata/language-features/basic-values/where04.lc 1:18-1:19 Tuple0 |
diff --git a/testdata/language-features/basic-values/where05.out b/testdata/language-features/basic-values/where05.out index b8885a1c..cd1ac74e 100644 --- a/testdata/language-features/basic-values/where05.out +++ b/testdata/language-features/basic-values/where05.out | |||
@@ -1,4 +1,9 @@ | |||
1 | main is not found | 1 | main is not found |
2 | ------------ trace | ||
3 | value1 :: [32m{a} -> {b : 'Eq a} -> {c : 'Num a}->'Tuple0[39m[K | ||
4 | value2 :: [32m{a} -> {b : 'Eq a} -> {c : 'Num a}->'Tuple0[39m[K | ||
5 | value3 :: [32m{a} -> {b : 'Eq a} -> {c : 'Num a}->'Tuple0[39m[K | ||
6 | value4 :: [32m{a} -> {b : 'Eq a} -> {c : 'Num a}->'Tuple0[39m[K | ||
2 | ------------ tooltips | 7 | ------------ tooltips |
3 | testdata/language-features/basic-values/where05.lc 1:1-1:7 {a} -> {b : Eq a} -> {c : Num a}->Tuple0 | 8 | testdata/language-features/basic-values/where05.lc 1:1-1:7 {a} -> {b : Eq a} -> {c : Num a}->Tuple0 |
4 | testdata/language-features/basic-values/where05.lc 1:10-3:10 Tuple0 | 9 | testdata/language-features/basic-values/where05.lc 1:10-3:10 Tuple0 |
diff --git a/testdata/language-features/basic-values/where06.reject.out b/testdata/language-features/basic-values/where06.reject.out index 2ef694f2..704fc983 100644 --- a/testdata/language-features/basic-values/where06.reject.out +++ b/testdata/language-features/basic-values/where06.reject.out | |||
@@ -1,2 +1,5 @@ | |||
1 | testdata/language-features/basic-values/where06.reject.lc:7:1: | 1 | testdata/language-features/basic-values/where06.reject.lc:7:1: |
2 | redefined x at testdata/language-features/basic-values/where06.reject.lc 3:1-3:2 \ No newline at end of file | 2 | redefined x at testdata/language-features/basic-values/where06.reject.lc 3:1-3:2 |
3 | ------------ trace | ||
4 | !testdata/language-features/basic-values/where06.reject.lc:7:1: | ||
5 | redefined x at testdata/language-features/basic-values/where06.reject.lc 3:1-3:2 | ||
diff --git a/testdata/language-features/basic-values/wildcard01.out b/testdata/language-features/basic-values/wildcard01.out index 3853bbc2..52e7b6b8 100644 --- a/testdata/language-features/basic-values/wildcard01.out +++ b/testdata/language-features/basic-values/wildcard01.out | |||
@@ -1,4 +1,6 @@ | |||
1 | main is not found | 1 | main is not found |
2 | ------------ trace | ||
3 | funUnit :: [32m{a} -> a->'Tuple0[39m[K | ||
2 | ------------ tooltips | 4 | ------------ tooltips |
3 | testdata/language-features/basic-values/wildcard01.lc 1:1-1:8 {a} -> a->Tuple0 | 5 | testdata/language-features/basic-values/wildcard01.lc 1:1-1:8 {a} -> a->Tuple0 |
4 | testdata/language-features/basic-values/wildcard01.lc 1:13-1:15 Tuple0 | 6 | testdata/language-features/basic-values/wildcard01.lc 1:13-1:15 Tuple0 |
diff --git a/testdata/language-features/comment/comment05.reject.out b/testdata/language-features/comment/comment05.reject.out index 843e91f9..b40aa61f 100644 --- a/testdata/language-features/comment/comment05.reject.out +++ b/testdata/language-features/comment/comment05.reject.out | |||
@@ -1,3 +1,7 @@ | |||
1 | testdata/language-features/comment/comment05.reject.lc:4:1: | 1 | testdata/language-features/comment/comment05.reject.lc:4:1: |
2 | unexpected '-' | 2 | unexpected '-' |
3 | expecting "class", "data", "infix", "infixl", "infixr", "instance", "type", end of input, lhs, operator definition, pattern, type family, type instance, or typed ident \ No newline at end of file | 3 | expecting "class", "data", "infix", "infixl", "infixr", "instance", "type", end of input, lhs, operator definition, pattern, type family, type instance, or typed ident |
4 | ------------ trace | ||
5 | !testdata/language-features/comment/comment05.reject.lc:4:1: | ||
6 | unexpected '-' | ||
7 | expecting "class", "data", "infix", "infixl", "infixr", "instance", "type", end of input, lhs, operator definition, pattern, type family, type instance, or typed ident | ||
diff --git a/testdata/language-features/guard/guard01.out b/testdata/language-features/guard/guard01.out index 836af983..08d55d07 100644 --- a/testdata/language-features/guard/guard01.out +++ b/testdata/language-features/guard/guard01.out | |||
@@ -1,4 +1,6 @@ | |||
1 | main is not found | 1 | main is not found |
2 | ------------ trace | ||
3 | value :: [32m'Tuple0[39m[K | ||
2 | ------------ tooltips | 4 | ------------ tooltips |
3 | testdata/language-features/guard/guard01.lc 1:1-1:6 Tuple0 | 5 | testdata/language-features/guard/guard01.lc 1:1-1:6 Tuple0 |
4 | testdata/language-features/guard/guard01.lc 1:9-1:13 Bool | 6 | testdata/language-features/guard/guard01.lc 1:9-1:13 Bool |
diff --git a/testdata/language-features/guard/guard02.reject.out b/testdata/language-features/guard/guard02.reject.out index c86f000d..93ab7ae2 100644 --- a/testdata/language-features/guard/guard02.reject.out +++ b/testdata/language-features/guard/guard02.reject.out | |||
@@ -6,3 +6,93 @@ with | |||
6 | in testdata/language-features/guard/guard02.reject.lc:2:12: | 6 | in testdata/language-features/guard/guard02.reject.lc:2:12: |
7 | | True = () | 7 | | True = () |
8 | ^^ | 8 | ^^ |
9 | |||
10 | ------------ trace | ||
11 | infer: [47m'BoolCase (\_:'Type -> _:'Type) ('BoolCase (\_:'Type -> _:'Type) (labelend undefined) (labelend "") False) (labelend Tuple0) True[49m[K | ||
12 | infer: [47m'BoolCase (\_:'Type -> _:'Type) ('BoolCase (\_:'Type -> _:'Type) (labelend undefined) (labelend "") False) (labelend Tuple0)[49m True[K | ||
13 | infer: [47m'BoolCase (\_:'Type -> _:'Type) ('BoolCase (\_:'Type -> _:'Type) (labelend undefined) (labelend "") False)[49m (labelend Tuple0) True[K | ||
14 | infer: [47m'BoolCase (\_:'Type -> _:'Type)[49m ('BoolCase (\_:'Type -> _:'Type) (labelend undefined) (labelend "") False) (labelend Tuple0) True[K | ||
15 | infer: [47m'BoolCase[49m (\_:'Type -> _:'Type) ('BoolCase (\_:'Type -> _:'Type) (labelend undefined) (labelend "") False) (labelend Tuple0) True[K | ||
16 | focus: ([47m[32m\a:Type b:Type c:Type d:Type -> 'BoolCase a b c d[39m[49m) (\_:'Type -> _:'Type) ('BoolCase (\_:'Type -> _:'Type) (labelend undefined) (labelend "") False) (labelend Tuple0) True[K | ||
17 | check: ([32m\a:Type b:Type c:Type d:Type -> 'BoolCase a b c d[39m) ([47m(\_:'Type -> _:'Type) :: [32m'Bool->Type[39m[49m) ('BoolCase (\_:'Type -> _:'Type) (labelend undefined) (labelend "") False) (labelend Tuple0) True[K | ||
18 | check: ([32m\a:Type b:Type c:Type d:Type -> 'BoolCase a b c d[39m) (\[32me[39m:[32m'Bool[39m -> [47m_:'Type :: [32mType[39m[49m) ('BoolCase (\_:'Type -> _:'Type) (labelend undefined) (labelend "") False) (labelend Tuple0) True[K | ||
19 | infer: ([32m\a:Type b:Type c:Type d:Type -> 'BoolCase a b c d[39m) (\[32me[39m:[32m'Bool[39m -> [47m_:'Type[49m : [32mType[39m) ('BoolCase (\_:'Type -> _:'Type) (labelend undefined) (labelend "") False) (labelend Tuple0) True[K | ||
20 | infer: ([32m\a:Type b:Type c:Type d:Type -> 'BoolCase a b c d[39m) (\[32me[39m:[32m'Bool[39m -> (\[34mf[39m:[47m'Type[49m -> f) : [32mType[39m) ('BoolCase (\_:'Type -> _:'Type) (labelend undefined) (labelend "") False) (labelend Tuple0) True[K | ||
21 | focus: ([32m\a:Type b:Type c:Type d:Type -> 'BoolCase a b c d[39m) (\[32me[39m:[32m'Bool[39m -> (\[34mf[39m:[47m[32mType[39m[49m -> f) : [32mType[39m) ('BoolCase (\_:'Type -> _:'Type) (labelend undefined) (labelend "") False) (labelend Tuple0) True[K | ||
22 | infer: ([32m\a:Type b:Type c:Type d:Type -> 'BoolCase a b c d[39m) (\[32me[39m:[32m'Bool[39m -> \[34mf[39m->[47mf[49m : [32mType[39m) ('BoolCase (\_:'Type -> _:'Type) (labelend undefined) (labelend "") False) (labelend Tuple0) True[K | ||
23 | focus: ([32m\a:Type b:Type c:Type d:Type -> 'BoolCase a b c d[39m) (\[32me[39m:[32m'Bool[39m -> \[34mf[39m->[47m[32mf[39m[49m : [32mType[39m) ('BoolCase (\_:'Type -> _:'Type) (labelend undefined) (labelend "") False) (labelend Tuple0) True[K | ||
24 | focus: ([32m\a:Type b:Type c:Type d:Type -> 'BoolCase a b c d[39m) (\[32me[39m:[32m'Bool[39m [34mf[39m -> [47m[32mf[39m[49m:[32mType[39m) ('BoolCase (\_:'Type -> _:'Type) (labelend undefined) (labelend "") False) (labelend Tuple0) True[K | ||
25 | focus: ([32m\a:Type b:Type c:Type d:Type -> 'BoolCase a b c d[39m) (\[32me[39m:[32m'Bool[39m [34mf[39m [34mg[39m:[32m'Unit[39m -> [47m[32mf[39m[49m) ('BoolCase (\_:'Type -> _:'Type) (labelend undefined) (labelend "") False) (labelend Tuple0) True[K | ||
26 | focus: ([32m\a:Type b:Type c:Type d:Type -> 'BoolCase a b c d[39m) (\[32me[39m:[32m'Bool[39m -> \[34mf[39m->[47m[32mf[39m[49m) ('BoolCase (\_:'Type -> _:'Type) (labelend undefined) (labelend "") False) (labelend Tuple0) True[K | ||
27 | focus: ([32m\a:Type b:Type c:Type d:Type -> 'BoolCase a b c d[39m) (\[34me[39m [32mf[39m:[32m'Bool[39m -> [47m[32me[39m[49m) ('BoolCase (\_:'Type -> _:'Type) (labelend undefined) (labelend "") False) (labelend Tuple0) True[K | ||
28 | focus: ([32m\a:Type b:Type c:Type d:Type -> 'BoolCase a b c d[39m) (\[34me[39m [47m[32mf:Type -> e[39m[49m) ('BoolCase (\_:'Type -> _:'Type) (labelend undefined) (labelend "") False) (labelend Tuple0) True[K | ||
29 | focus: (\[34ma[39m -> ([32m\b:Type c:Type d:Type e:Type -> 'BoolCase b c d e[39m) ([47m[32m\f:Type -> a[39m[49m)) ('BoolCase (\_:'Type -> _:'Type) (labelend undefined) (labelend "") False) (labelend Tuple0) True[K | ||
30 | focus: (\[34ma[39m [47m[32mb:Type c:Type d:Type -> 'BoolCase (\e:Type -> a) b c d[39m[49m) ('BoolCase (\_:'Type -> _:'Type) (labelend undefined) (labelend "") False) (labelend Tuple0) True[K | ||
31 | focus: (\[34ma[39m -> ([47m[32m\b:Type c:Type d:Type -> 'BoolCase (\e:Type -> a) b c d[39m[49m) ('BoolCase (\_:'Type -> _:'Type) (labelend undefined) (labelend "") False)) (labelend Tuple0) True[K | ||
32 | check: (\[34ma[39m -> ([32m\b:Type c:Type d:Type -> 'BoolCase (\e:Type -> a) b c d[39m) ([47m'BoolCase (\_:'Type -> _:'Type) (labelend undefined) (labelend "") False :: [32ma[39m[49m)) (labelend Tuple0) True[K | ||
33 | infer: (\[34ma[39m -> ([32m\b:Type c:Type d:Type -> 'BoolCase (\e:Type -> a) b c d[39m) ([47m'BoolCase (\_:'Type -> _:'Type) (labelend undefined) (labelend "")[49m False : [32ma[39m)) (labelend Tuple0) True[K | ||
34 | infer: (\[34ma[39m -> ([32m\b:Type c:Type d:Type -> 'BoolCase (\e:Type -> a) b c d[39m) ([47m'BoolCase (\_:'Type -> _:'Type) (labelend undefined)[49m (labelend "") False : [32ma[39m)) (labelend Tuple0) True[K | ||
35 | infer: (\[34ma[39m -> ([32m\b:Type c:Type d:Type -> 'BoolCase (\e:Type -> a) b c d[39m) ([47m'BoolCase (\_:'Type -> _:'Type)[49m (labelend undefined) (labelend "") False : [32ma[39m)) (labelend Tuple0) True[K | ||
36 | infer: (\[34ma[39m -> ([32m\b:Type c:Type d:Type -> 'BoolCase (\e:Type -> a) b c d[39m) ([47m'BoolCase[49m (\_:'Type -> _:'Type) (labelend undefined) (labelend "") False : [32ma[39m)) (labelend Tuple0) True[K | ||
37 | focus: (\[34ma[39m -> ([32m\b:Type c:Type d:Type -> 'BoolCase (\e:Type -> a) b c d[39m) (([47m[32m\f:Type g:Type h:Type i:Type -> 'BoolCase f g h i[39m[49m) (\_:'Type -> _:'Type) (labelend undefined) (labelend "") False : [32ma[39m)) (labelend Tuple0) True[K | ||
38 | check: (\[34ma[39m -> ([32m\b:Type c:Type d:Type -> 'BoolCase (\e:Type -> a) b c d[39m) (([32m\f:Type g:Type h:Type i:Type -> 'BoolCase f g h i[39m) ([47m(\_:'Type -> _:'Type) :: [32m'Bool->Type[39m[49m) (labelend undefined) (labelend "") False : [32ma[39m)) (labelend Tuple0) True[K | ||
39 | check: (\[34ma[39m -> ([32m\b:Type c:Type d:Type -> 'BoolCase (\e:Type -> a) b c d[39m) (([32m\f:Type g:Type h:Type i:Type -> 'BoolCase f g h i[39m) (\[32mj[39m:[32m'Bool[39m -> [47m_:'Type :: [32mType[39m[49m) (labelend undefined) (labelend "") False : [32ma[39m)) (labelend Tuple0) True[K | ||
40 | infer: (\[34ma[39m -> ([32m\b:Type c:Type d:Type -> 'BoolCase (\e:Type -> a) b c d[39m) (([32m\f:Type g:Type h:Type i:Type -> 'BoolCase f g h i[39m) (\[32mj[39m:[32m'Bool[39m -> [47m_:'Type[49m : [32mType[39m) (labelend undefined) (labelend "") False : [32ma[39m)) (labelend Tuple0) True[K | ||
41 | infer: (\[34ma[39m -> ([32m\b:Type c:Type d:Type -> 'BoolCase (\e:Type -> a) b c d[39m) (([32m\f:Type g:Type h:Type i:Type -> 'BoolCase f g h i[39m) (\[32mj[39m:[32m'Bool[39m -> (\[34mk[39m:[47m'Type[49m -> k) : [32mType[39m) (labelend undefined) (labelend "") False : [32ma[39m)) (labelend Tuple0) True[K | ||
42 | focus: (\[34ma[39m -> ([32m\b:Type c:Type d:Type -> 'BoolCase (\e:Type -> a) b c d[39m) (([32m\f:Type g:Type h:Type i:Type -> 'BoolCase f g h i[39m) (\[32mj[39m:[32m'Bool[39m -> (\[34mk[39m:[47m[32mType[39m[49m -> k) : [32mType[39m) (labelend undefined) (labelend "") False : [32ma[39m)) (labelend Tuple0) True[K | ||
43 | infer: (\[34ma[39m -> ([32m\b:Type c:Type d:Type -> 'BoolCase (\e:Type -> a) b c d[39m) (([32m\f:Type g:Type h:Type i:Type -> 'BoolCase f g h i[39m) (\[32mj[39m:[32m'Bool[39m -> \[34mk[39m->[47mk[49m : [32mType[39m) (labelend undefined) (labelend "") False : [32ma[39m)) (labelend Tuple0) True[K | ||
44 | focus: (\[34ma[39m -> ([32m\b:Type c:Type d:Type -> 'BoolCase (\e:Type -> a) b c d[39m) (([32m\f:Type g:Type h:Type i:Type -> 'BoolCase f g h i[39m) (\[32mj[39m:[32m'Bool[39m -> \[34mk[39m->[47m[32mk[39m[49m : [32mType[39m) (labelend undefined) (labelend "") False : [32ma[39m)) (labelend Tuple0) True[K | ||
45 | focus: (\[34ma[39m -> ([32m\b:Type c:Type d:Type -> 'BoolCase (\e:Type -> a) b c d[39m) (([32m\f:Type g:Type h:Type i:Type -> 'BoolCase f g h i[39m) (\[32mj[39m:[32m'Bool[39m [34mk[39m -> [47m[32mk[39m[49m:[32mType[39m) (labelend undefined) (labelend "") False : [32ma[39m)) (labelend Tuple0) True[K | ||
46 | focus: (\[34ma[39m -> ([32m\b:Type c:Type d:Type -> 'BoolCase (\e:Type -> a) b c d[39m) (([32m\f:Type g:Type h:Type i:Type -> 'BoolCase f g h i[39m) (\[32mj[39m:[32m'Bool[39m [34mk[39m [34ml[39m:[32m'Unit[39m -> [47m[32mk[39m[49m) (labelend undefined) (labelend "") False : [32ma[39m)) (labelend Tuple0) True[K | ||
47 | focus: (\[34ma[39m -> ([32m\b:Type c:Type d:Type -> 'BoolCase (\e:Type -> a) b c d[39m) (([32m\f:Type g:Type h:Type i:Type -> 'BoolCase f g h i[39m) (\[32mj[39m:[32m'Bool[39m -> \[34mk[39m->[47m[32mk[39m[49m) (labelend undefined) (labelend "") False : [32ma[39m)) (labelend Tuple0) True[K | ||
48 | focus: (\[34ma[39m -> ([32m\b:Type c:Type d:Type -> 'BoolCase (\e:Type -> a) b c d[39m) (([32m\f:Type g:Type h:Type i:Type -> 'BoolCase f g h i[39m) (\[34mj[39m [32mk[39m:[32m'Bool[39m -> [47m[32mj[39m[49m) (labelend undefined) (labelend "") False : [32ma[39m)) (labelend Tuple0) True[K | ||
49 | focus: (\[34ma[39m -> ([32m\b:Type c:Type d:Type -> 'BoolCase (\e:Type -> a) b c d[39m) (([32m\f:Type g:Type h:Type i:Type -> 'BoolCase f g h i[39m) (\[34mj[39m [47m[32mk:Type -> j[39m[49m) (labelend undefined) (labelend "") False : [32ma[39m)) (labelend Tuple0) True[K | ||
50 | focus: (\[34ma[39m -> ([32m\b:Type c:Type d:Type -> 'BoolCase (\e:Type -> a) b c d[39m) ((\[34mf[39m -> ([32m\g:Type h:Type i:Type j:Type -> 'BoolCase g h i j[39m) ([47m[32m\k:Type -> f[39m[49m)) (labelend undefined) (labelend "") False : [32ma[39m)) (labelend Tuple0) True[K | ||
51 | focus: (\[34ma[39m -> ([32m\b:Type c:Type d:Type -> 'BoolCase (\e:Type -> a) b c d[39m) ((\[34mf[39m [47m[32mg:Type h:Type i:Type -> 'BoolCase (\j:Type -> f) g h i[39m[49m) (labelend undefined) (labelend "") False : [32ma[39m)) (labelend Tuple0) True[K | ||
52 | focus: (\[34ma[39m -> ([32m\b:Type c:Type d:Type -> 'BoolCase (\e:Type -> a) b c d[39m) ((\[34mf[39m -> ([47m[32m\g:Type h:Type i:Type -> 'BoolCase (\j:Type -> f) g h i[39m[49m) (labelend undefined)) (labelend "") False : [32ma[39m)) (labelend Tuple0) True[K | ||
53 | check: (\[34ma[39m -> ([32m\b:Type c:Type d:Type -> 'BoolCase (\e:Type -> a) b c d[39m) ((\[34mf[39m -> ([32m\g:Type h:Type i:Type -> 'BoolCase (\j:Type -> f) g h i[39m) ([47mlabelend undefined :: [32mf[39m[49m)) (labelend "") False : [32ma[39m)) (labelend Tuple0) True[K | ||
54 | check: (\[34ma[39m -> ([32m\b:Type c:Type d:Type -> 'BoolCase (\e:Type -> a) b c d[39m) ((\[34mf[39m -> ([32m\g:Type h:Type i:Type -> 'BoolCase (\j:Type -> f) g h i[39m) (labEnd [47mundefined::[32mf[39m[49m)) (labelend "") False : [32ma[39m)) (labelend Tuple0) True[K | ||
55 | focus: (\[34ma[39m -> ([32m\b:Type c:Type d:Type -> 'BoolCase (\e:Type -> a) b c d[39m) ((\[34mf[39m -> ([32m\g:Type h:Type i:Type -> 'BoolCase (\j:Type -> f) g h i[39m) (labEnd ([47m[32mundefined f[39m[49m))) (labelend "") False : [32ma[39m)) (labelend Tuple0) True[K | ||
56 | focus: (\[34ma[39m -> ([32m\b:Type c:Type d:Type -> 'BoolCase (\e:Type -> a) b c d[39m) ((\[34mf[39m -> ([32m\g:Type h:Type i:Type -> 'BoolCase (\j:Type -> f) g h i[39m) ([47m[32mlabend (undefined f)[39m[49m)) (labelend "") False : [32ma[39m)) (labelend Tuple0) True[K | ||
57 | focus: (\[34ma[39m -> ([32m\b:Type c:Type d:Type -> 'BoolCase (\e:Type -> a) b c d[39m) ((\[34mf[39m [47m[32mg:Type h:Type -> 'BoolCase (\i:Type -> f) (labend (undefined f)) g h[39m[49m) (labelend "") False : [32ma[39m)) (labelend Tuple0) True[K | ||
58 | focus: (\[34ma[39m -> ([32m\b:Type c:Type d:Type -> 'BoolCase (\e:Type -> a) b c d[39m) ((\[34mf[39m -> ([47m[32m\g:Type h:Type -> 'BoolCase (\i:Type -> f) (labend (undefined f)) g h[39m[49m) (labelend "")) False : [32ma[39m)) (labelend Tuple0) True[K | ||
59 | check: (\[34ma[39m -> ([32m\b:Type c:Type d:Type -> 'BoolCase (\e:Type -> a) b c d[39m) ((\[34mf[39m -> ([32m\g:Type h:Type -> 'BoolCase (\i:Type -> f) (labend (undefined f)) g h[39m) ([47mlabelend "" :: [32mf[39m[49m)) False : [32ma[39m)) (labelend Tuple0) True[K | ||
60 | check: (\[34ma[39m -> ([32m\b:Type c:Type d:Type -> 'BoolCase (\e:Type -> a) b c d[39m) ((\[34mf[39m -> ([32m\g:Type h:Type -> 'BoolCase (\i:Type -> f) (labend (undefined f)) g h[39m) (labEnd [47m""::[32mf[39m[49m)) False : [32ma[39m)) (labelend Tuple0) True[K | ||
61 | infer: (\[34ma[39m -> ([32m\b:Type c:Type d:Type -> 'BoolCase (\e:Type -> a) b c d[39m) ((\[34mf[39m -> ([32m\g:Type h:Type -> 'BoolCase (\i:Type -> f) (labend (undefined f)) g h[39m) (labEnd [47m""[49m:[32mf[39m)) False : [32ma[39m)) (labelend Tuple0) True[K | ||
62 | focus: (\[34ma[39m -> ([32m\b:Type c:Type d:Type -> 'BoolCase (\e:Type -> a) b c d[39m) ((\[34mf[39m -> ([32m\g:Type h:Type -> 'BoolCase (\i:Type -> f) (labend (undefined f)) g h[39m) (labEnd [47m[32m""[39m[49m:[32mf[39m)) False : [32ma[39m)) (labelend Tuple0) True[K | ||
63 | focus: (\[34ma[39m -> ([32m\b:Type c:Type d:Type -> 'BoolCase (\e:Type -> a) b c d[39m) ((\[34mf[39m -> ([32m\g:Type h:Type -> 'BoolCase (\i:Type -> f) (labend (undefined f)) g h[39m) (labEnd \([34mj[39m : [32mf~'String[39m)->[47m[32m""[39m[49m)) False : [32ma[39m)) (labelend Tuple0) True[K | ||
64 | focus: (\[34ma[39m -> ([32m\b:Type c:Type d:Type -> 'BoolCase (\e:Type -> a) b c d[39m) ((\[34mf[39m -> ([32m\g:Type h:Type -> 'BoolCase (\i:Type -> f) (labend (undefined f)) g h[39m) (labEnd (\[34mf[39m:=[32m'String[39m -> [47m[32m""[39m[49m))) False : [32ma[39m)) (labelend Tuple0) True[K | ||
65 | focus: (\[34ma[39m -> ([32m\b:Type c:Type d:Type -> 'BoolCase (\e:Type -> a) b c d[39m) ((\[34mf[39m -> ([32m\g:Type h:Type -> 'BoolCase (\i:Type -> f) (labend (undefined f)) g h[39m) (\[34mf[39m:=[32m'String[39m -> labEnd [47m[32m""[39m[49m)) False : [32ma[39m)) (labelend Tuple0) True[K | ||
66 | focus: (\[34ma[39m -> ([32m\b:Type c:Type d:Type -> 'BoolCase (\e:Type -> a) b c d[39m) ((\[34mf[39m -> ([32m\g:Type h:Type -> 'BoolCase (\i:Type -> f) (labend (undefined f)) g h[39m) (\[34mf[39m:=[32m'String[39m -> [47m[32mlabend ""[39m[49m)) False : [32ma[39m)) (labelend Tuple0) True[K | ||
67 | focus: (\[34ma[39m -> ([32m\b:Type c:Type d:Type -> 'BoolCase (\e:Type -> a) b c d[39m) ((\[34mf[39m [34mf[39m:=[32m'String[39m -> ([32m\g:Type h:Type -> 'BoolCase (\i:Type -> 'String) (labend (undefined 'String)) g h[39m) ([47m[32mlabend ""[39m[49m)) False : [32ma[39m)) (labelend Tuple0) True[K | ||
68 | focus: (\[34ma[39m -> ([32m\b:Type c:Type d:Type -> 'BoolCase (\e:Type -> a) b c d[39m) ((\[34mf[39m [34mf[39m:=[32m'String[39m [47m[32mg:Type -> 'BoolCase (\h:Type -> 'String) (labend (undefined 'String)) (labend "") g[39m[49m) False : [32ma[39m)) (labelend Tuple0) True[K | ||
69 | focus: (\[34ma[39m -> ([32m\b:Type c:Type d:Type -> 'BoolCase (\e:Type -> a) b c d[39m) (([47m[32m\f:Type -> 'BoolCase (\g:Type -> 'String) (labend (undefined 'String)) (labend "") f[39m[49m) False : [32ma[39m)) (labelend Tuple0) True[K | ||
70 | focus: (\[34ma[39m -> ([32m\b:Type c:Type d:Type -> 'BoolCase (\e:Type -> a) b c d[39m) ((\([34mf[39m : [32ma~'String[39m) [47m[32mg:Type -> 'BoolCase (\h:Type -> 'String) (labend (undefined 'String)) (labend "") g[39m[49m) False)) (labelend Tuple0) True[K | ||
71 | focus: (\[34ma[39m -> ([32m\b:Type c:Type d:Type -> 'BoolCase (\e:Type -> a) b c d[39m) ((\[34ma[39m:=[32m'String[39m [47m[32mf:Type -> 'BoolCase (\g:Type -> 'String) (labend (undefined 'String)) (labend "") f[39m[49m) False)) (labelend Tuple0) True[K | ||
72 | focus: (\[34ma[39m -> ([32m\b:Type c:Type d:Type -> 'BoolCase (\e:Type -> a) b c d[39m) (\[34ma[39m:=[32m'String[39m -> ([47m[32m\f:Type -> 'BoolCase (\g:Type -> 'String) (labend (undefined 'String)) (labend "") f[39m[49m) False)) (labelend Tuple0) True[K | ||
73 | check: (\[34ma[39m -> ([32m\b:Type c:Type d:Type -> 'BoolCase (\e:Type -> a) b c d[39m) (\[34ma[39m:=[32m'String[39m -> ([32m\f:Type -> 'BoolCase (\g:Type -> 'String) (labend (undefined 'String)) (labend "") f[39m) [47mFalse::[32m'Bool[39m[49m)) (labelend Tuple0) True[K | ||
74 | infer: (\[34ma[39m -> ([32m\b:Type c:Type d:Type -> 'BoolCase (\e:Type -> a) b c d[39m) (\[34ma[39m:=[32m'String[39m -> ([32m\f:Type -> 'BoolCase (\g:Type -> 'String) (labend (undefined 'String)) (labend "") f[39m) [47mFalse[49m:[32m'Bool[39m)) (labelend Tuple0) True[K | ||
75 | focus: (\[34ma[39m -> ([32m\b:Type c:Type d:Type -> 'BoolCase (\e:Type -> a) b c d[39m) (\[34ma[39m:=[32m'String[39m -> ([32m\f:Type -> 'BoolCase (\g:Type -> 'String) (labend (undefined 'String)) (labend "") f[39m) [47m[32mFalse[39m[49m:[32m'Bool[39m)) (labelend Tuple0) True[K | ||
76 | focus: (\[34ma[39m -> ([32m\b:Type c:Type d:Type -> 'BoolCase (\e:Type -> a) b c d[39m) (\[34ma[39m:=[32m'String[39m -> ([32m\f:Type -> 'BoolCase (\g:Type -> 'String) (labend (undefined 'String)) (labend "") f[39m) (\[34mh[39m:[32m'Unit[39m -> [47m[32mFalse[39m[49m))) (labelend Tuple0) True[K | ||
77 | focus: (\[34ma[39m -> ([32m\b:Type c:Type d:Type -> 'BoolCase (\e:Type -> a) b c d[39m) (\[34ma[39m:=[32m'String[39m -> ([32m\f:Type -> 'BoolCase (\g:Type -> 'String) (labend (undefined 'String)) (labend "") f[39m) [47m[32mFalse[39m[49m)) (labelend Tuple0) True[K | ||
78 | focus: (\[34ma[39m -> ([32m\b:Type c:Type d:Type -> 'BoolCase (\e:Type -> a) b c d[39m) (\[34ma[39m:=[32m'String[39m -> [47m[32mlabend (undefined 'String)[39m[49m)) (labelend Tuple0) True[K | ||
79 | focus: (\[34ma[39m [34ma[39m:=[32m'String[39m -> ([32m\b:Type c:Type d:Type -> 'BoolCase (\e:Type -> 'String) b c d[39m) ([47m[32mlabend (undefined 'String)[39m[49m)) (labelend Tuple0) True[K | ||
80 | focus: (\[34ma[39m [34ma[39m:=[32m'String[39m [47m[32mb:Type c:Type -> 'BoolCase (\d:Type -> 'String) (labend (undefined 'String)) b c[39m[49m) (labelend Tuple0) True[K | ||
81 | focus: ([47m[32m\a:Type b:Type -> 'BoolCase (\c:Type -> 'String) (labend (undefined 'String)) a b[39m[49m) (labelend Tuple0) True[K | ||
82 | check: ([32m\a:Type b:Type -> 'BoolCase (\c:Type -> 'String) (labend (undefined 'String)) a b[39m) ([47mlabelend Tuple0 :: [32m'String[39m[49m) True[K | ||
83 | check: ([32m\a:Type b:Type -> 'BoolCase (\c:Type -> 'String) (labend (undefined 'String)) a b[39m) (labEnd [47mTuple0::[32m'String[39m[49m) True[K | ||
84 | infer: ([32m\a:Type b:Type -> 'BoolCase (\c:Type -> 'String) (labend (undefined 'String)) a b[39m) (labEnd [47mTuple0[49m:[32m'String[39m) True[K | ||
85 | focus: ([32m\a:Type b:Type -> 'BoolCase (\c:Type -> 'String) (labend (undefined 'String)) a b[39m) (labEnd [47m[32mTuple0[39m[49m:[32m'String[39m) True[K | ||
86 | focus: ([32m\a:Type b:Type -> 'BoolCase (\c:Type -> 'String) (labend (undefined 'String)) a b[39m) (labEnd \([34md[39m : [32m'Empty "can not unify\n\ESC[32m'String\ESC[m\nwith\n\ESC[32m'Tuple0\ESC[m\n"[39m)->[47m[32mTuple0[39m[49m) True[K | ||
87 | !type error: can not unify | ||
88 | [32m'String[m | ||
89 | with | ||
90 | [32m'Tuple0[m | ||
91 | |||
92 | in testdata/language-features/guard/guard02.reject.lc:2:12 | ||
93 | |||
94 | ------------ tooltips | ||
95 | testdata/language-features/guard/guard02.reject.lc 2:12-2:14 Tuple0 | ||
96 | testdata/language-features/guard/guard02.reject.lc 3:5-3:10 Bool | ||
97 | testdata/language-features/guard/guard02.reject.lc 3:5-3:15 String | ||
98 | testdata/language-features/guard/guard02.reject.lc 3:13-3:15 String | ||
diff --git a/testdata/language-features/guard/guard03.out b/testdata/language-features/guard/guard03.out index a089657e..3f240c28 100644 --- a/testdata/language-features/guard/guard03.out +++ b/testdata/language-features/guard/guard03.out | |||
@@ -1,4 +1,6 @@ | |||
1 | main is not found | 1 | main is not found |
2 | ------------ trace | ||
3 | value :: [32m'String[39m[K | ||
2 | ------------ tooltips | 4 | ------------ tooltips |
3 | testdata/language-features/guard/guard03.lc 1:1-1:6 String | 5 | testdata/language-features/guard/guard03.lc 1:1-1:6 String |
4 | testdata/language-features/guard/guard03.lc 2:5-2:9 Bool | 6 | testdata/language-features/guard/guard03.lc 2:5-2:9 Bool |
diff --git a/testdata/language-features/guard/guard04.out b/testdata/language-features/guard/guard04.out index 32a56e10..c76efc74 100644 --- a/testdata/language-features/guard/guard04.out +++ b/testdata/language-features/guard/guard04.out | |||
@@ -1,4 +1,6 @@ | |||
1 | main is not found | 1 | main is not found |
2 | ------------ trace | ||
3 | value :: [32m'String[39m[K | ||
2 | ------------ tooltips | 4 | ------------ tooltips |
3 | testdata/language-features/guard/guard04.lc 1:1-1:6 String | 5 | testdata/language-features/guard/guard04.lc 1:1-1:6 String |
4 | testdata/language-features/guard/guard04.lc 2:5-2:9 Bool | 6 | testdata/language-features/guard/guard04.lc 2:5-2:9 Bool |
diff --git a/testdata/language-features/guard/guard05.reject.out b/testdata/language-features/guard/guard05.reject.out index 22fcb6c1..503ca8c3 100644 --- a/testdata/language-features/guard/guard05.reject.out +++ b/testdata/language-features/guard/guard05.reject.out | |||
@@ -6,3 +6,57 @@ with | |||
6 | in testdata/language-features/guard/guard05.reject.lc:1:9: | 6 | in testdata/language-features/guard/guard05.reject.lc:1:9: |
7 | value | () = "wrong" | 7 | value | () = "wrong" |
8 | ^^ | 8 | ^^ |
9 | |||
10 | ------------ trace | ||
11 | infer: [47m'BoolCase (\_:'Type -> _:'Type) (labelend undefined) (labelend "wrong") Tuple0[49m[K | ||
12 | infer: [47m'BoolCase (\_:'Type -> _:'Type) (labelend undefined) (labelend "wrong")[49m Tuple0[K | ||
13 | infer: [47m'BoolCase (\_:'Type -> _:'Type) (labelend undefined)[49m (labelend "wrong") Tuple0[K | ||
14 | infer: [47m'BoolCase (\_:'Type -> _:'Type)[49m (labelend undefined) (labelend "wrong") Tuple0[K | ||
15 | infer: [47m'BoolCase[49m (\_:'Type -> _:'Type) (labelend undefined) (labelend "wrong") Tuple0[K | ||
16 | focus: ([47m[32m\a:Type b:Type c:Type d:Type -> 'BoolCase a b c d[39m[49m) (\_:'Type -> _:'Type) (labelend undefined) (labelend "wrong") Tuple0[K | ||
17 | check: ([32m\a:Type b:Type c:Type d:Type -> 'BoolCase a b c d[39m) ([47m(\_:'Type -> _:'Type) :: [32m'Bool->Type[39m[49m) (labelend undefined) (labelend "wrong") Tuple0[K | ||
18 | check: ([32m\a:Type b:Type c:Type d:Type -> 'BoolCase a b c d[39m) (\[32me[39m:[32m'Bool[39m -> [47m_:'Type :: [32mType[39m[49m) (labelend undefined) (labelend "wrong") Tuple0[K | ||
19 | infer: ([32m\a:Type b:Type c:Type d:Type -> 'BoolCase a b c d[39m) (\[32me[39m:[32m'Bool[39m -> [47m_:'Type[49m : [32mType[39m) (labelend undefined) (labelend "wrong") Tuple0[K | ||
20 | infer: ([32m\a:Type b:Type c:Type d:Type -> 'BoolCase a b c d[39m) (\[32me[39m:[32m'Bool[39m -> (\[34mf[39m:[47m'Type[49m -> f) : [32mType[39m) (labelend undefined) (labelend "wrong") Tuple0[K | ||
21 | focus: ([32m\a:Type b:Type c:Type d:Type -> 'BoolCase a b c d[39m) (\[32me[39m:[32m'Bool[39m -> (\[34mf[39m:[47m[32mType[39m[49m -> f) : [32mType[39m) (labelend undefined) (labelend "wrong") Tuple0[K | ||
22 | infer: ([32m\a:Type b:Type c:Type d:Type -> 'BoolCase a b c d[39m) (\[32me[39m:[32m'Bool[39m -> \[34mf[39m->[47mf[49m : [32mType[39m) (labelend undefined) (labelend "wrong") Tuple0[K | ||
23 | focus: ([32m\a:Type b:Type c:Type d:Type -> 'BoolCase a b c d[39m) (\[32me[39m:[32m'Bool[39m -> \[34mf[39m->[47m[32mf[39m[49m : [32mType[39m) (labelend undefined) (labelend "wrong") Tuple0[K | ||
24 | focus: ([32m\a:Type b:Type c:Type d:Type -> 'BoolCase a b c d[39m) (\[32me[39m:[32m'Bool[39m [34mf[39m -> [47m[32mf[39m[49m:[32mType[39m) (labelend undefined) (labelend "wrong") Tuple0[K | ||
25 | focus: ([32m\a:Type b:Type c:Type d:Type -> 'BoolCase a b c d[39m) (\[32me[39m:[32m'Bool[39m [34mf[39m [34mg[39m:[32m'Unit[39m -> [47m[32mf[39m[49m) (labelend undefined) (labelend "wrong") Tuple0[K | ||
26 | focus: ([32m\a:Type b:Type c:Type d:Type -> 'BoolCase a b c d[39m) (\[32me[39m:[32m'Bool[39m -> \[34mf[39m->[47m[32mf[39m[49m) (labelend undefined) (labelend "wrong") Tuple0[K | ||
27 | focus: ([32m\a:Type b:Type c:Type d:Type -> 'BoolCase a b c d[39m) (\[34me[39m [32mf[39m:[32m'Bool[39m -> [47m[32me[39m[49m) (labelend undefined) (labelend "wrong") Tuple0[K | ||
28 | focus: ([32m\a:Type b:Type c:Type d:Type -> 'BoolCase a b c d[39m) (\[34me[39m [47m[32mf:Type -> e[39m[49m) (labelend undefined) (labelend "wrong") Tuple0[K | ||
29 | focus: (\[34ma[39m -> ([32m\b:Type c:Type d:Type e:Type -> 'BoolCase b c d e[39m) ([47m[32m\f:Type -> a[39m[49m)) (labelend undefined) (labelend "wrong") Tuple0[K | ||
30 | focus: (\[34ma[39m [47m[32mb:Type c:Type d:Type -> 'BoolCase (\e:Type -> a) b c d[39m[49m) (labelend undefined) (labelend "wrong") Tuple0[K | ||
31 | focus: (\[34ma[39m -> ([47m[32m\b:Type c:Type d:Type -> 'BoolCase (\e:Type -> a) b c d[39m[49m) (labelend undefined)) (labelend "wrong") Tuple0[K | ||
32 | check: (\[34ma[39m -> ([32m\b:Type c:Type d:Type -> 'BoolCase (\e:Type -> a) b c d[39m) ([47mlabelend undefined :: [32ma[39m[49m)) (labelend "wrong") Tuple0[K | ||
33 | check: (\[34ma[39m -> ([32m\b:Type c:Type d:Type -> 'BoolCase (\e:Type -> a) b c d[39m) (labEnd [47mundefined::[32ma[39m[49m)) (labelend "wrong") Tuple0[K | ||
34 | focus: (\[34ma[39m -> ([32m\b:Type c:Type d:Type -> 'BoolCase (\e:Type -> a) b c d[39m) (labEnd ([47m[32mundefined a[39m[49m))) (labelend "wrong") Tuple0[K | ||
35 | focus: (\[34ma[39m -> ([32m\b:Type c:Type d:Type -> 'BoolCase (\e:Type -> a) b c d[39m) ([47m[32mlabend (undefined a)[39m[49m)) (labelend "wrong") Tuple0[K | ||
36 | focus: (\[34ma[39m [47m[32mb:Type c:Type -> 'BoolCase (\d:Type -> a) (labend (undefined a)) b c[39m[49m) (labelend "wrong") Tuple0[K | ||
37 | focus: (\[34ma[39m -> ([47m[32m\b:Type c:Type -> 'BoolCase (\d:Type -> a) (labend (undefined a)) b c[39m[49m) (labelend "wrong")) Tuple0[K | ||
38 | check: (\[34ma[39m -> ([32m\b:Type c:Type -> 'BoolCase (\d:Type -> a) (labend (undefined a)) b c[39m) ([47mlabelend "wrong" :: [32ma[39m[49m)) Tuple0[K | ||
39 | check: (\[34ma[39m -> ([32m\b:Type c:Type -> 'BoolCase (\d:Type -> a) (labend (undefined a)) b c[39m) (labEnd [47m"wrong"::[32ma[39m[49m)) Tuple0[K | ||
40 | infer: (\[34ma[39m -> ([32m\b:Type c:Type -> 'BoolCase (\d:Type -> a) (labend (undefined a)) b c[39m) (labEnd [47m"wrong"[49m:[32ma[39m)) Tuple0[K | ||
41 | focus: (\[34ma[39m -> ([32m\b:Type c:Type -> 'BoolCase (\d:Type -> a) (labend (undefined a)) b c[39m) (labEnd [47m[32m"wrong"[39m[49m:[32ma[39m)) Tuple0[K | ||
42 | focus: (\[34ma[39m -> ([32m\b:Type c:Type -> 'BoolCase (\d:Type -> a) (labend (undefined a)) b c[39m) (labEnd \([34me[39m : [32ma~'String[39m)->[47m[32m"wrong"[39m[49m)) Tuple0[K | ||
43 | focus: (\[34ma[39m -> ([32m\b:Type c:Type -> 'BoolCase (\d:Type -> a) (labend (undefined a)) b c[39m) (labEnd (\[34ma[39m:=[32m'String[39m -> [47m[32m"wrong"[39m[49m))) Tuple0[K | ||
44 | focus: (\[34ma[39m -> ([32m\b:Type c:Type -> 'BoolCase (\d:Type -> a) (labend (undefined a)) b c[39m) (\[34ma[39m:=[32m'String[39m -> labEnd [47m[32m"wrong"[39m[49m)) Tuple0[K | ||
45 | focus: (\[34ma[39m -> ([32m\b:Type c:Type -> 'BoolCase (\d:Type -> a) (labend (undefined a)) b c[39m) (\[34ma[39m:=[32m'String[39m -> [47m[32mlabend "wrong"[39m[49m)) Tuple0[K | ||
46 | focus: (\[34ma[39m [34ma[39m:=[32m'String[39m -> ([32m\b:Type c:Type -> 'BoolCase (\d:Type -> 'String) (labend (undefined 'String)) b c[39m) ([47m[32mlabend "wrong"[39m[49m)) Tuple0[K | ||
47 | focus: (\[34ma[39m [34ma[39m:=[32m'String[39m [47m[32mb:Type -> 'BoolCase (\c:Type -> 'String) (labend (undefined 'String)) (labend "wrong") b[39m[49m) Tuple0[K | ||
48 | focus: ([47m[32m\a:Type -> 'BoolCase (\b:Type -> 'String) (labend (undefined 'String)) (labend "wrong") a[39m[49m) Tuple0[K | ||
49 | check: ([32m\a:Type -> 'BoolCase (\b:Type -> 'String) (labend (undefined 'String)) (labend "wrong") a[39m) [47mTuple0::[32m'Bool[39m[49m[K | ||
50 | infer: ([32m\a:Type -> 'BoolCase (\b:Type -> 'String) (labend (undefined 'String)) (labend "wrong") a[39m) [47mTuple0[49m:[32m'Bool[39m[K | ||
51 | focus: ([32m\a:Type -> 'BoolCase (\b:Type -> 'String) (labend (undefined 'String)) (labend "wrong") a[39m) [47m[32mTuple0[39m[49m:[32m'Bool[39m[K | ||
52 | focus: ([32m\a:Type -> 'BoolCase (\b:Type -> 'String) (labend (undefined 'String)) (labend "wrong") a[39m) \([34mc[39m : [32m'Empty "can not unify\n\ESC[32m'Bool\ESC[m\nwith\n\ESC[32m'Tuple0\ESC[m\n"[39m)->[47m[32mTuple0[39m[49m[K | ||
53 | !type error: can not unify | ||
54 | [32m'Bool[m | ||
55 | with | ||
56 | [32m'Tuple0[m | ||
57 | |||
58 | in testdata/language-features/guard/guard05.reject.lc:1:9 | ||
59 | |||
60 | ------------ tooltips | ||
61 | testdata/language-features/guard/guard05.reject.lc 1:9-1:11 Tuple0 | ||
62 | testdata/language-features/guard/guard05.reject.lc 1:14-1:21 String | ||
diff --git a/testdata/language-features/guard/guard06.out b/testdata/language-features/guard/guard06.out index e5d34851..b1d4e64a 100644 --- a/testdata/language-features/guard/guard06.out +++ b/testdata/language-features/guard/guard06.out | |||
@@ -1,4 +1,6 @@ | |||
1 | main is not found | 1 | main is not found |
2 | ------------ trace | ||
3 | value :: [32m'Tuple0[39m[K | ||
2 | ------------ tooltips | 4 | ------------ tooltips |
3 | testdata/language-features/guard/guard06.lc 1:1-1:6 Tuple0 | 5 | testdata/language-features/guard/guard06.lc 1:1-1:6 Tuple0 |
4 | testdata/language-features/guard/guard06.lc 1:9-1:18 Bool | 6 | testdata/language-features/guard/guard06.lc 1:9-1:18 Bool |
diff --git a/testdata/language-features/guard/guard07.out b/testdata/language-features/guard/guard07.out index 49ff4d32..94f6b321 100644 --- a/testdata/language-features/guard/guard07.out +++ b/testdata/language-features/guard/guard07.out | |||
@@ -1,4 +1,6 @@ | |||
1 | main is not found | 1 | main is not found |
2 | ------------ trace | ||
3 | value :: [32m'String[39m[K | ||
2 | ------------ tooltips | 4 | ------------ tooltips |
3 | testdata/language-features/guard/guard07.lc 1:1-1:6 String | 5 | testdata/language-features/guard/guard07.lc 1:1-1:6 String |
4 | testdata/language-features/guard/guard07.lc 1:7-1:11 Bool | 6 | testdata/language-features/guard/guard07.lc 1:7-1:11 Bool |
diff --git a/testdata/language-features/guard/guard08.out b/testdata/language-features/guard/guard08.out index 28455f56..0fb1cbe1 100644 --- a/testdata/language-features/guard/guard08.out +++ b/testdata/language-features/guard/guard08.out | |||
@@ -1,4 +1,6 @@ | |||
1 | main is not found | 1 | main is not found |
2 | ------------ trace | ||
3 | value :: [32m'String[39m[K | ||
2 | ------------ tooltips | 4 | ------------ tooltips |
3 | testdata/language-features/guard/guard08.lc 1:1-1:6 String | 5 | testdata/language-features/guard/guard08.lc 1:1-1:6 String |
4 | testdata/language-features/guard/guard08.lc 1:7-1:11 Bool | 6 | testdata/language-features/guard/guard08.lc 1:7-1:11 Bool |
diff --git a/testdata/language-features/guard/guard09.out b/testdata/language-features/guard/guard09.out index 3d5a4e4c..58167221 100644 --- a/testdata/language-features/guard/guard09.out +++ b/testdata/language-features/guard/guard09.out | |||
@@ -1,4 +1,6 @@ | |||
1 | main is not found | 1 | main is not found |
2 | ------------ trace | ||
3 | value :: [32m'String[39m[K | ||
2 | ------------ tooltips | 4 | ------------ tooltips |
3 | testdata/language-features/guard/guard09.lc 1:1-1:6 String | 5 | testdata/language-features/guard/guard09.lc 1:1-1:6 String |
4 | testdata/language-features/guard/guard09.lc 1:7-1:11 Bool | 6 | testdata/language-features/guard/guard09.lc 1:7-1:11 Bool |
diff --git a/testdata/language-features/guard/guard10.reject.out b/testdata/language-features/guard/guard10.reject.out index bf0c6c95..def53d7b 100644 --- a/testdata/language-features/guard/guard10.reject.out +++ b/testdata/language-features/guard/guard10.reject.out | |||
@@ -1,3 +1,7 @@ | |||
1 | testdata/language-features/guard/guard10.reject.lc:2:1: | 1 | testdata/language-features/guard/guard10.reject.lc:2:1: |
2 | unexpected '|' | 2 | unexpected '|' |
3 | expecting "class", "data", "infix", "infixl", "infixr", "instance", "type", end of input, lhs, operator definition, pattern, type family, type instance, or typed ident \ No newline at end of file | 3 | expecting "class", "data", "infix", "infixl", "infixr", "instance", "type", end of input, lhs, operator definition, pattern, type family, type instance, or typed ident |
4 | ------------ trace | ||
5 | !testdata/language-features/guard/guard10.reject.lc:2:1: | ||
6 | unexpected '|' | ||
7 | expecting "class", "data", "infix", "infixl", "infixr", "instance", "type", end of input, lhs, operator definition, pattern, type family, type instance, or typed ident | ||
diff --git a/testdata/language-features/guard/guard11.out b/testdata/language-features/guard/guard11.out index f41b910b..7fa45b09 100644 --- a/testdata/language-features/guard/guard11.out +++ b/testdata/language-features/guard/guard11.out | |||
@@ -1,4 +1,6 @@ | |||
1 | main is not found | 1 | main is not found |
2 | ------------ trace | ||
3 | fun :: [32m'Bool->'String[39m[K | ||
2 | ------------ tooltips | 4 | ------------ tooltips |
3 | testdata/language-features/guard/guard11.lc 1:1-1:4 Bool->String | 5 | testdata/language-features/guard/guard11.lc 1:1-1:4 Bool->String |
4 | testdata/language-features/guard/guard11.lc 2:5-2:6 V1 | 6 | testdata/language-features/guard/guard11.lc 2:5-2:6 V1 |
diff --git a/testdata/language-features/guard/guard12.reject.out b/testdata/language-features/guard/guard12.reject.out index e356d64e..f39309aa 100644 --- a/testdata/language-features/guard/guard12.reject.out +++ b/testdata/language-features/guard/guard12.reject.out | |||
@@ -6,3 +6,103 @@ with | |||
6 | in testdata/language-features/guard/guard12.reject.lc:1:13: | 6 | in testdata/language-features/guard/guard12.reject.lc:1:13: |
7 | fun x | x = () | otherwise = 'a' | 7 | fun x | x = () | otherwise = 'a' |
8 | ^^ | 8 | ^^ |
9 | |||
10 | ------------ trace | ||
11 | infer: [47m\([32ma[39m : _:'Type) -> 'BoolCase (\_:'Type -> _:'Type) ('BoolCase (\_:'Type -> _:'Type) (labelend undefined) (labelend 'a') otherwise) (labelend Tuple0) a[49m[K | ||
12 | infer: \([32ma[39m : [47m_:'Type[49m : [32mType[39m) -> 'BoolCase (\_:'Type -> _:'Type) ('BoolCase (\_:'Type -> _:'Type) (labelend undefined) (labelend 'a') otherwise) (labelend Tuple0) a[K | ||
13 | infer: \([32mb[39m : (\[34ma[39m:[47m'Type[49m -> a) : [32mType[39m) -> 'BoolCase (\_:'Type -> _:'Type) ('BoolCase (\_:'Type -> _:'Type) (labelend undefined) (labelend 'a') otherwise) (labelend Tuple0) b[K | ||
14 | focus: \([32mb[39m : (\[34ma[39m:[47m[32mType[39m[49m -> a) : [32mType[39m) -> 'BoolCase (\_:'Type -> _:'Type) ('BoolCase (\_:'Type -> _:'Type) (labelend undefined) (labelend 'a') otherwise) (labelend Tuple0) b[K | ||
15 | infer: \([32mb[39m : \[34ma[39m->[47ma[49m : [32mType[39m) -> 'BoolCase (\_:'Type -> _:'Type) ('BoolCase (\_:'Type -> _:'Type) (labelend undefined) (labelend 'a') otherwise) (labelend Tuple0) b[K | ||
16 | focus: \([32mb[39m : \[34ma[39m->[47m[32ma[39m[49m : [32mType[39m) -> 'BoolCase (\_:'Type -> _:'Type) ('BoolCase (\_:'Type -> _:'Type) (labelend undefined) (labelend 'a') otherwise) (labelend Tuple0) b[K | ||
17 | focus: \([32mb[39m : (\[34ma[39m -> [47m[32ma[39m[49m:[32mType[39m)) -> 'BoolCase (\_:'Type -> _:'Type) ('BoolCase (\_:'Type -> _:'Type) (labelend undefined) (labelend 'a') otherwise) (labelend Tuple0) b[K | ||
18 | focus: \([32mc[39m : (\[34ma[39m [34mb[39m:[32m'Unit[39m -> [47m[32ma[39m[49m)) -> 'BoolCase (\_:'Type -> _:'Type) ('BoolCase (\_:'Type -> _:'Type) (labelend undefined) (labelend 'a') otherwise) (labelend Tuple0) c[K | ||
19 | focus: \([32mb[39m : \[34ma[39m->[47m[32ma[39m[49m) -> 'BoolCase (\_:'Type -> _:'Type) ('BoolCase (\_:'Type -> _:'Type) (labelend undefined) (labelend 'a') otherwise) (labelend Tuple0) b[K | ||
20 | focus: \[34ma[39m [32mb[39m:[47m[32ma[39m[49m -> 'BoolCase (\_:'Type -> _:'Type) ('BoolCase (\_:'Type -> _:'Type) (labelend undefined) (labelend 'a') otherwise) (labelend Tuple0) b[K | ||
21 | infer: \[34ma[39m [32mb[39m:[32ma[39m -> [47m'BoolCase (\_:'Type -> _:'Type) ('BoolCase (\_:'Type -> _:'Type) (labelend undefined) (labelend 'a') otherwise) (labelend Tuple0) b[49m[K | ||
22 | infer: \[34ma[39m [32mb[39m:[32ma[39m -> [47m'BoolCase (\_:'Type -> _:'Type) ('BoolCase (\_:'Type -> _:'Type) (labelend undefined) (labelend 'a') otherwise) (labelend Tuple0)[49m b[K | ||
23 | infer: \[34ma[39m [32mb[39m:[32ma[39m -> [47m'BoolCase (\_:'Type -> _:'Type) ('BoolCase (\_:'Type -> _:'Type) (labelend undefined) (labelend 'a') otherwise)[49m (labelend Tuple0) b[K | ||
24 | infer: \[34ma[39m [32mb[39m:[32ma[39m -> [47m'BoolCase (\_:'Type -> _:'Type)[49m ('BoolCase (\_:'Type -> _:'Type) (labelend undefined) (labelend 'a') otherwise) (labelend Tuple0) b[K | ||
25 | infer: \[34ma[39m [32mb[39m:[32ma[39m -> [47m'BoolCase[49m (\_:'Type -> _:'Type) ('BoolCase (\_:'Type -> _:'Type) (labelend undefined) (labelend 'a') otherwise) (labelend Tuple0) b[K | ||
26 | focus: \[34ma[39m [32mb[39m:[32ma[39m -> ([47m[32m\c:Type d:Type e:Type f:Type -> 'BoolCase c d e f[39m[49m) (\_:'Type -> _:'Type) ('BoolCase (\_:'Type -> _:'Type) (labelend undefined) (labelend 'a') otherwise) (labelend Tuple0) b[K | ||
27 | check: \[34ma[39m [32mb[39m:[32ma[39m -> ([32m\c:Type d:Type e:Type f:Type -> 'BoolCase c d e f[39m) ([47m(\_:'Type -> _:'Type) :: [32m'Bool->Type[39m[49m) ('BoolCase (\_:'Type -> _:'Type) (labelend undefined) (labelend 'a') otherwise) (labelend Tuple0) b[K | ||
28 | check: \[34ma[39m [32mb[39m:[32ma[39m -> ([32m\c:Type d:Type e:Type f:Type -> 'BoolCase c d e f[39m) (\[32mg[39m:[32m'Bool[39m -> [47m_:'Type :: [32mType[39m[49m) ('BoolCase (\_:'Type -> _:'Type) (labelend undefined) (labelend 'a') otherwise) (labelend Tuple0) b[K | ||
29 | infer: \[34ma[39m [32mb[39m:[32ma[39m -> ([32m\c:Type d:Type e:Type f:Type -> 'BoolCase c d e f[39m) (\[32mg[39m:[32m'Bool[39m -> [47m_:'Type[49m : [32mType[39m) ('BoolCase (\_:'Type -> _:'Type) (labelend undefined) (labelend 'a') otherwise) (labelend Tuple0) b[K | ||
30 | infer: \[34ma[39m [32mb[39m:[32ma[39m -> ([32m\c:Type d:Type e:Type f:Type -> 'BoolCase c d e f[39m) (\[32mg[39m:[32m'Bool[39m -> (\[34mh[39m:[47m'Type[49m -> h) : [32mType[39m) ('BoolCase (\_:'Type -> _:'Type) (labelend undefined) (labelend 'a') otherwise) (labelend Tuple0) b[K | ||
31 | focus: \[34ma[39m [32mb[39m:[32ma[39m -> ([32m\c:Type d:Type e:Type f:Type -> 'BoolCase c d e f[39m) (\[32mg[39m:[32m'Bool[39m -> (\[34mh[39m:[47m[32mType[39m[49m -> h) : [32mType[39m) ('BoolCase (\_:'Type -> _:'Type) (labelend undefined) (labelend 'a') otherwise) (labelend Tuple0) b[K | ||
32 | infer: \[34ma[39m [32mb[39m:[32ma[39m -> ([32m\c:Type d:Type e:Type f:Type -> 'BoolCase c d e f[39m) (\[32mg[39m:[32m'Bool[39m -> \[34mh[39m->[47mh[49m : [32mType[39m) ('BoolCase (\_:'Type -> _:'Type) (labelend undefined) (labelend 'a') otherwise) (labelend Tuple0) b[K | ||
33 | focus: \[34ma[39m [32mb[39m:[32ma[39m -> ([32m\c:Type d:Type e:Type f:Type -> 'BoolCase c d e f[39m) (\[32mg[39m:[32m'Bool[39m -> \[34mh[39m->[47m[32mh[39m[49m : [32mType[39m) ('BoolCase (\_:'Type -> _:'Type) (labelend undefined) (labelend 'a') otherwise) (labelend Tuple0) b[K | ||
34 | focus: \[34ma[39m [32mb[39m:[32ma[39m -> ([32m\c:Type d:Type e:Type f:Type -> 'BoolCase c d e f[39m) (\[32mg[39m:[32m'Bool[39m [34mh[39m -> [47m[32mh[39m[49m:[32mType[39m) ('BoolCase (\_:'Type -> _:'Type) (labelend undefined) (labelend 'a') otherwise) (labelend Tuple0) b[K | ||
35 | focus: \[34ma[39m [32mb[39m:[32ma[39m -> ([32m\c:Type d:Type e:Type f:Type -> 'BoolCase c d e f[39m) (\[32mg[39m:[32m'Bool[39m [34mh[39m [34mi[39m:[32m'Unit[39m -> [47m[32mh[39m[49m) ('BoolCase (\_:'Type -> _:'Type) (labelend undefined) (labelend 'a') otherwise) (labelend Tuple0) b[K | ||
36 | focus: \[34ma[39m [32mb[39m:[32ma[39m -> ([32m\c:Type d:Type e:Type f:Type -> 'BoolCase c d e f[39m) (\[32mg[39m:[32m'Bool[39m -> \[34mh[39m->[47m[32mh[39m[49m) ('BoolCase (\_:'Type -> _:'Type) (labelend undefined) (labelend 'a') otherwise) (labelend Tuple0) b[K | ||
37 | focus: \[34ma[39m [32mb[39m:[32ma[39m -> ([32m\c:Type d:Type e:Type f:Type -> 'BoolCase c d e f[39m) (\[34mg[39m [32mh[39m:[32m'Bool[39m -> [47m[32mg[39m[49m) ('BoolCase (\_:'Type -> _:'Type) (labelend undefined) (labelend 'a') otherwise) (labelend Tuple0) b[K | ||
38 | focus: \[34ma[39m [32mb[39m:[32ma[39m -> ([32m\c:Type d:Type e:Type f:Type -> 'BoolCase c d e f[39m) (\[34mg[39m [47m[32mh:Type -> g[39m[49m) ('BoolCase (\_:'Type -> _:'Type) (labelend undefined) (labelend 'a') otherwise) (labelend Tuple0) b[K | ||
39 | focus: \[34ma[39m [32mb[39m:[32ma[39m -> (\[34mc[39m -> ([32m\d:Type e:Type f:Type g:Type -> 'BoolCase d e f g[39m) ([47m[32m\h:Type -> c[39m[49m)) ('BoolCase (\_:'Type -> _:'Type) (labelend undefined) (labelend 'a') otherwise) (labelend Tuple0) b[K | ||
40 | focus: \[34ma[39m [32mb[39m:[32ma[39m -> (\[34mc[39m [47m[32md:Type e:Type f:Type -> 'BoolCase (\g:Type -> c) d e f[39m[49m) ('BoolCase (\_:'Type -> _:'Type) (labelend undefined) (labelend 'a') otherwise) (labelend Tuple0) b[K | ||
41 | focus: \[34ma[39m [32mb[39m:[32ma[39m -> (\[34mc[39m -> ([47m[32m\d:Type e:Type f:Type -> 'BoolCase (\g:Type -> c) d e f[39m[49m) ('BoolCase (\_:'Type -> _:'Type) (labelend undefined) (labelend 'a') otherwise)) (labelend Tuple0) b[K | ||
42 | check: \[34ma[39m [32mb[39m:[32ma[39m -> (\[34mc[39m -> ([32m\d:Type e:Type f:Type -> 'BoolCase (\g:Type -> c) d e f[39m) ([47m'BoolCase (\_:'Type -> _:'Type) (labelend undefined) (labelend 'a') otherwise :: [32mc[39m[49m)) (labelend Tuple0) b[K | ||
43 | infer: \[34ma[39m [32mb[39m:[32ma[39m -> (\[34mc[39m -> ([32m\d:Type e:Type f:Type -> 'BoolCase (\g:Type -> c) d e f[39m) ([47m'BoolCase (\_:'Type -> _:'Type) (labelend undefined) (labelend 'a')[49m otherwise : [32mc[39m)) (labelend Tuple0) b[K | ||
44 | infer: \[34ma[39m [32mb[39m:[32ma[39m -> (\[34mc[39m -> ([32m\d:Type e:Type f:Type -> 'BoolCase (\g:Type -> c) d e f[39m) ([47m'BoolCase (\_:'Type -> _:'Type) (labelend undefined)[49m (labelend 'a') otherwise : [32mc[39m)) (labelend Tuple0) b[K | ||
45 | infer: \[34ma[39m [32mb[39m:[32ma[39m -> (\[34mc[39m -> ([32m\d:Type e:Type f:Type -> 'BoolCase (\g:Type -> c) d e f[39m) ([47m'BoolCase (\_:'Type -> _:'Type)[49m (labelend undefined) (labelend 'a') otherwise : [32mc[39m)) (labelend Tuple0) b[K | ||
46 | infer: \[34ma[39m [32mb[39m:[32ma[39m -> (\[34mc[39m -> ([32m\d:Type e:Type f:Type -> 'BoolCase (\g:Type -> c) d e f[39m) ([47m'BoolCase[49m (\_:'Type -> _:'Type) (labelend undefined) (labelend 'a') otherwise : [32mc[39m)) (labelend Tuple0) b[K | ||
47 | focus: \[34ma[39m [32mb[39m:[32ma[39m -> (\[34mc[39m -> ([32m\d:Type e:Type f:Type -> 'BoolCase (\g:Type -> c) d e f[39m) (([47m[32m\h:Type i:Type j:Type k:Type -> 'BoolCase h i j k[39m[49m) (\_:'Type -> _:'Type) (labelend undefined) (labelend 'a') otherwise : [32mc[39m)) (labelend Tuple0) b[K | ||
48 | check: \[34ma[39m [32mb[39m:[32ma[39m -> (\[34mc[39m -> ([32m\d:Type e:Type f:Type -> 'BoolCase (\g:Type -> c) d e f[39m) (([32m\h:Type i:Type j:Type k:Type -> 'BoolCase h i j k[39m) ([47m(\_:'Type -> _:'Type) :: [32m'Bool->Type[39m[49m) (labelend undefined) (labelend 'a') otherwise : [32mc[39m)) (labelend Tuple0) b[K | ||
49 | check: \[34ma[39m [32mb[39m:[32ma[39m -> (\[34mc[39m -> ([32m\d:Type e:Type f:Type -> 'BoolCase (\g:Type -> c) d e f[39m) (([32m\h:Type i:Type j:Type k:Type -> 'BoolCase h i j k[39m) (\[32ml[39m:[32m'Bool[39m -> [47m_:'Type :: [32mType[39m[49m) (labelend undefined) (labelend 'a') otherwise : [32mc[39m)) (labelend Tuple0) b[K | ||
50 | infer: \[34ma[39m [32mb[39m:[32ma[39m -> (\[34mc[39m -> ([32m\d:Type e:Type f:Type -> 'BoolCase (\g:Type -> c) d e f[39m) (([32m\h:Type i:Type j:Type k:Type -> 'BoolCase h i j k[39m) (\[32ml[39m:[32m'Bool[39m -> [47m_:'Type[49m : [32mType[39m) (labelend undefined) (labelend 'a') otherwise : [32mc[39m)) (labelend Tuple0) b[K | ||
51 | infer: \[34ma[39m [32mb[39m:[32ma[39m -> (\[34mc[39m -> ([32m\d:Type e:Type f:Type -> 'BoolCase (\g:Type -> c) d e f[39m) (([32m\h:Type i:Type j:Type k:Type -> 'BoolCase h i j k[39m) (\[32ml[39m:[32m'Bool[39m -> (\[34mm[39m:[47m'Type[49m -> m) : [32mType[39m) (labelend undefined) (labelend 'a') otherwise : [32mc[39m)) (labelend Tuple0) b[K | ||
52 | focus: \[34ma[39m [32mb[39m:[32ma[39m -> (\[34mc[39m -> ([32m\d:Type e:Type f:Type -> 'BoolCase (\g:Type -> c) d e f[39m) (([32m\h:Type i:Type j:Type k:Type -> 'BoolCase h i j k[39m) (\[32ml[39m:[32m'Bool[39m -> (\[34mm[39m:[47m[32mType[39m[49m -> m) : [32mType[39m) (labelend undefined) (labelend 'a') otherwise : [32mc[39m)) (labelend Tuple0) b[K | ||
53 | infer: \[34ma[39m [32mb[39m:[32ma[39m -> (\[34mc[39m -> ([32m\d:Type e:Type f:Type -> 'BoolCase (\g:Type -> c) d e f[39m) (([32m\h:Type i:Type j:Type k:Type -> 'BoolCase h i j k[39m) (\[32ml[39m:[32m'Bool[39m -> \[34mm[39m->[47mm[49m : [32mType[39m) (labelend undefined) (labelend 'a') otherwise : [32mc[39m)) (labelend Tuple0) b[K | ||
54 | focus: \[34ma[39m [32mb[39m:[32ma[39m -> (\[34mc[39m -> ([32m\d:Type e:Type f:Type -> 'BoolCase (\g:Type -> c) d e f[39m) (([32m\h:Type i:Type j:Type k:Type -> 'BoolCase h i j k[39m) (\[32ml[39m:[32m'Bool[39m -> \[34mm[39m->[47m[32mm[39m[49m : [32mType[39m) (labelend undefined) (labelend 'a') otherwise : [32mc[39m)) (labelend Tuple0) b[K | ||
55 | focus: \[34ma[39m [32mb[39m:[32ma[39m -> (\[34mc[39m -> ([32m\d:Type e:Type f:Type -> 'BoolCase (\g:Type -> c) d e f[39m) (([32m\h:Type i:Type j:Type k:Type -> 'BoolCase h i j k[39m) (\[32ml[39m:[32m'Bool[39m [34mm[39m -> [47m[32mm[39m[49m:[32mType[39m) (labelend undefined) (labelend 'a') otherwise : [32mc[39m)) (labelend Tuple0) b[K | ||
56 | focus: \[34ma[39m [32mb[39m:[32ma[39m -> (\[34mc[39m -> ([32m\d:Type e:Type f:Type -> 'BoolCase (\g:Type -> c) d e f[39m) (([32m\h:Type i:Type j:Type k:Type -> 'BoolCase h i j k[39m) (\[32ml[39m:[32m'Bool[39m [34mm[39m [34mn[39m:[32m'Unit[39m -> [47m[32mm[39m[49m) (labelend undefined) (labelend 'a') otherwise : [32mc[39m)) (labelend Tuple0) b[K | ||
57 | focus: \[34ma[39m [32mb[39m:[32ma[39m -> (\[34mc[39m -> ([32m\d:Type e:Type f:Type -> 'BoolCase (\g:Type -> c) d e f[39m) (([32m\h:Type i:Type j:Type k:Type -> 'BoolCase h i j k[39m) (\[32ml[39m:[32m'Bool[39m -> \[34mm[39m->[47m[32mm[39m[49m) (labelend undefined) (labelend 'a') otherwise : [32mc[39m)) (labelend Tuple0) b[K | ||
58 | focus: \[34ma[39m [32mb[39m:[32ma[39m -> (\[34mc[39m -> ([32m\d:Type e:Type f:Type -> 'BoolCase (\g:Type -> c) d e f[39m) (([32m\h:Type i:Type j:Type k:Type -> 'BoolCase h i j k[39m) (\[34ml[39m [32mm[39m:[32m'Bool[39m -> [47m[32ml[39m[49m) (labelend undefined) (labelend 'a') otherwise : [32mc[39m)) (labelend Tuple0) b[K | ||
59 | focus: \[34ma[39m [32mb[39m:[32ma[39m -> (\[34mc[39m -> ([32m\d:Type e:Type f:Type -> 'BoolCase (\g:Type -> c) d e f[39m) (([32m\h:Type i:Type j:Type k:Type -> 'BoolCase h i j k[39m) (\[34ml[39m [47m[32mm:Type -> l[39m[49m) (labelend undefined) (labelend 'a') otherwise : [32mc[39m)) (labelend Tuple0) b[K | ||
60 | focus: \[34ma[39m [32mb[39m:[32ma[39m -> (\[34mc[39m -> ([32m\d:Type e:Type f:Type -> 'BoolCase (\g:Type -> c) d e f[39m) ((\[34mh[39m -> ([32m\i:Type j:Type k:Type l:Type -> 'BoolCase i j k l[39m) ([47m[32m\m:Type -> h[39m[49m)) (labelend undefined) (labelend 'a') otherwise : [32mc[39m)) (labelend Tuple0) b[K | ||
61 | focus: \[34ma[39m [32mb[39m:[32ma[39m -> (\[34mc[39m -> ([32m\d:Type e:Type f:Type -> 'BoolCase (\g:Type -> c) d e f[39m) ((\[34mh[39m [47m[32mi:Type j:Type k:Type -> 'BoolCase (\l:Type -> h) i j k[39m[49m) (labelend undefined) (labelend 'a') otherwise : [32mc[39m)) (labelend Tuple0) b[K | ||
62 | focus: \[34ma[39m [32mb[39m:[32ma[39m -> (\[34mc[39m -> ([32m\d:Type e:Type f:Type -> 'BoolCase (\g:Type -> c) d e f[39m) ((\[34mh[39m -> ([47m[32m\i:Type j:Type k:Type -> 'BoolCase (\l:Type -> h) i j k[39m[49m) (labelend undefined)) (labelend 'a') otherwise : [32mc[39m)) (labelend Tuple0) b[K | ||
63 | check: \[34ma[39m [32mb[39m:[32ma[39m -> (\[34mc[39m -> ([32m\d:Type e:Type f:Type -> 'BoolCase (\g:Type -> c) d e f[39m) ((\[34mh[39m -> ([32m\i:Type j:Type k:Type -> 'BoolCase (\l:Type -> h) i j k[39m) ([47mlabelend undefined :: [32mh[39m[49m)) (labelend 'a') otherwise : [32mc[39m)) (labelend Tuple0) b[K | ||
64 | check: \[34ma[39m [32mb[39m:[32ma[39m -> (\[34mc[39m -> ([32m\d:Type e:Type f:Type -> 'BoolCase (\g:Type -> c) d e f[39m) ((\[34mh[39m -> ([32m\i:Type j:Type k:Type -> 'BoolCase (\l:Type -> h) i j k[39m) (labEnd [47mundefined::[32mh[39m[49m)) (labelend 'a') otherwise : [32mc[39m)) (labelend Tuple0) b[K | ||
65 | focus: \[34ma[39m [32mb[39m:[32ma[39m -> (\[34mc[39m -> ([32m\d:Type e:Type f:Type -> 'BoolCase (\g:Type -> c) d e f[39m) ((\[34mh[39m -> ([32m\i:Type j:Type k:Type -> 'BoolCase (\l:Type -> h) i j k[39m) (labEnd ([47m[32mundefined h[39m[49m))) (labelend 'a') otherwise : [32mc[39m)) (labelend Tuple0) b[K | ||
66 | focus: \[34ma[39m [32mb[39m:[32ma[39m -> (\[34mc[39m -> ([32m\d:Type e:Type f:Type -> 'BoolCase (\g:Type -> c) d e f[39m) ((\[34mh[39m -> ([32m\i:Type j:Type k:Type -> 'BoolCase (\l:Type -> h) i j k[39m) ([47m[32mlabend (undefined h)[39m[49m)) (labelend 'a') otherwise : [32mc[39m)) (labelend Tuple0) b[K | ||
67 | focus: \[34ma[39m [32mb[39m:[32ma[39m -> (\[34mc[39m -> ([32m\d:Type e:Type f:Type -> 'BoolCase (\g:Type -> c) d e f[39m) ((\[34mh[39m [47m[32mi:Type j:Type -> 'BoolCase (\k:Type -> h) (labend (undefined h)) i j[39m[49m) (labelend 'a') otherwise : [32mc[39m)) (labelend Tuple0) b[K | ||
68 | focus: \[34ma[39m [32mb[39m:[32ma[39m -> (\[34mc[39m -> ([32m\d:Type e:Type f:Type -> 'BoolCase (\g:Type -> c) d e f[39m) ((\[34mh[39m -> ([47m[32m\i:Type j:Type -> 'BoolCase (\k:Type -> h) (labend (undefined h)) i j[39m[49m) (labelend 'a')) otherwise : [32mc[39m)) (labelend Tuple0) b[K | ||
69 | check: \[34ma[39m [32mb[39m:[32ma[39m -> (\[34mc[39m -> ([32m\d:Type e:Type f:Type -> 'BoolCase (\g:Type -> c) d e f[39m) ((\[34mh[39m -> ([32m\i:Type j:Type -> 'BoolCase (\k:Type -> h) (labend (undefined h)) i j[39m) ([47mlabelend 'a' :: [32mh[39m[49m)) otherwise : [32mc[39m)) (labelend Tuple0) b[K | ||
70 | check: \[34ma[39m [32mb[39m:[32ma[39m -> (\[34mc[39m -> ([32m\d:Type e:Type f:Type -> 'BoolCase (\g:Type -> c) d e f[39m) ((\[34mh[39m -> ([32m\i:Type j:Type -> 'BoolCase (\k:Type -> h) (labend (undefined h)) i j[39m) (labEnd [47m'a'::[32mh[39m[49m)) otherwise : [32mc[39m)) (labelend Tuple0) b[K | ||
71 | infer: \[34ma[39m [32mb[39m:[32ma[39m -> (\[34mc[39m -> ([32m\d:Type e:Type f:Type -> 'BoolCase (\g:Type -> c) d e f[39m) ((\[34mh[39m -> ([32m\i:Type j:Type -> 'BoolCase (\k:Type -> h) (labend (undefined h)) i j[39m) (labEnd [47m'a'[49m:[32mh[39m)) otherwise : [32mc[39m)) (labelend Tuple0) b[K | ||
72 | focus: \[34ma[39m [32mb[39m:[32ma[39m -> (\[34mc[39m -> ([32m\d:Type e:Type f:Type -> 'BoolCase (\g:Type -> c) d e f[39m) ((\[34mh[39m -> ([32m\i:Type j:Type -> 'BoolCase (\k:Type -> h) (labend (undefined h)) i j[39m) (labEnd [47m[32m'a'[39m[49m:[32mh[39m)) otherwise : [32mc[39m)) (labelend Tuple0) b[K | ||
73 | focus: \[34ma[39m [32mb[39m:[32ma[39m -> (\[34mc[39m -> ([32m\d:Type e:Type f:Type -> 'BoolCase (\g:Type -> c) d e f[39m) ((\[34mh[39m -> ([32m\i:Type j:Type -> 'BoolCase (\k:Type -> h) (labend (undefined h)) i j[39m) (labEnd \([34ml[39m : [32mh~'Char[39m)->[47m[32m'a'[39m[49m)) otherwise : [32mc[39m)) (labelend Tuple0) b[K | ||
74 | focus: \[34ma[39m [32mb[39m:[32ma[39m -> (\[34mc[39m -> ([32m\d:Type e:Type f:Type -> 'BoolCase (\g:Type -> c) d e f[39m) ((\[34mh[39m -> ([32m\i:Type j:Type -> 'BoolCase (\k:Type -> h) (labend (undefined h)) i j[39m) (labEnd (\[34mh[39m:=[32m'Char[39m -> [47m[32m'a'[39m[49m))) otherwise : [32mc[39m)) (labelend Tuple0) b[K | ||
75 | focus: \[34ma[39m [32mb[39m:[32ma[39m -> (\[34mc[39m -> ([32m\d:Type e:Type f:Type -> 'BoolCase (\g:Type -> c) d e f[39m) ((\[34mh[39m -> ([32m\i:Type j:Type -> 'BoolCase (\k:Type -> h) (labend (undefined h)) i j[39m) (\[34mh[39m:=[32m'Char[39m -> labEnd [47m[32m'a'[39m[49m)) otherwise : [32mc[39m)) (labelend Tuple0) b[K | ||
76 | focus: \[34ma[39m [32mb[39m:[32ma[39m -> (\[34mc[39m -> ([32m\d:Type e:Type f:Type -> 'BoolCase (\g:Type -> c) d e f[39m) ((\[34mh[39m -> ([32m\i:Type j:Type -> 'BoolCase (\k:Type -> h) (labend (undefined h)) i j[39m) (\[34mh[39m:=[32m'Char[39m -> [47m[32mlabend 'a'[39m[49m)) otherwise : [32mc[39m)) (labelend Tuple0) b[K | ||
77 | focus: \[34ma[39m [32mb[39m:[32ma[39m -> (\[34mc[39m -> ([32m\d:Type e:Type f:Type -> 'BoolCase (\g:Type -> c) d e f[39m) ((\[34mh[39m [34mh[39m:=[32m'Char[39m -> ([32m\i:Type j:Type -> 'BoolCase (\k:Type -> 'Char) (labend (undefined 'Char)) i j[39m) ([47m[32mlabend 'a'[39m[49m)) otherwise : [32mc[39m)) (labelend Tuple0) b[K | ||
78 | focus: \[34ma[39m [32mb[39m:[32ma[39m -> (\[34mc[39m -> ([32m\d:Type e:Type f:Type -> 'BoolCase (\g:Type -> c) d e f[39m) ((\[34mh[39m [34mh[39m:=[32m'Char[39m [47m[32mi:Type -> 'BoolCase (\j:Type -> 'Char) (labend (undefined 'Char)) (labend 'a') i[39m[49m) otherwise : [32mc[39m)) (labelend Tuple0) b[K | ||
79 | focus: \[34ma[39m [32mb[39m:[32ma[39m -> (\[34mc[39m -> ([32m\d:Type e:Type f:Type -> 'BoolCase (\g:Type -> c) d e f[39m) (([47m[32m\h:Type -> 'BoolCase (\i:Type -> 'Char) (labend (undefined 'Char)) (labend 'a') h[39m[49m) otherwise : [32mc[39m)) (labelend Tuple0) b[K | ||
80 | focus: \[34ma[39m [32mb[39m:[32ma[39m -> (\[34mc[39m -> ([32m\d:Type e:Type f:Type -> 'BoolCase (\g:Type -> c) d e f[39m) ((\([34mh[39m : [32mc~'Char[39m) [47m[32mi:Type -> 'BoolCase (\j:Type -> 'Char) (labend (undefined 'Char)) (labend 'a') i[39m[49m) otherwise)) (labelend Tuple0) b[K | ||
81 | focus: \[34ma[39m [32mb[39m:[32ma[39m -> (\[34mc[39m -> ([32m\d:Type e:Type f:Type -> 'BoolCase (\g:Type -> c) d e f[39m) ((\[34mc[39m:=[32m'Char[39m [47m[32mh:Type -> 'BoolCase (\i:Type -> 'Char) (labend (undefined 'Char)) (labend 'a') h[39m[49m) otherwise)) (labelend Tuple0) b[K | ||
82 | focus: \[34ma[39m [32mb[39m:[32ma[39m -> (\[34mc[39m -> ([32m\d:Type e:Type f:Type -> 'BoolCase (\g:Type -> c) d e f[39m) (\[34mc[39m:=[32m'Char[39m -> ([47m[32m\h:Type -> 'BoolCase (\i:Type -> 'Char) (labend (undefined 'Char)) (labend 'a') h[39m[49m) otherwise)) (labelend Tuple0) b[K | ||
83 | check: \[34ma[39m [32mb[39m:[32ma[39m -> (\[34mc[39m -> ([32m\d:Type e:Type f:Type -> 'BoolCase (\g:Type -> c) d e f[39m) (\[34mc[39m:=[32m'Char[39m -> ([32m\h:Type -> 'BoolCase (\i:Type -> 'Char) (labend (undefined 'Char)) (labend 'a') h[39m) [47motherwise::[32m'Bool[39m[49m)) (labelend Tuple0) b[K | ||
84 | infer: \[34ma[39m [32mb[39m:[32ma[39m -> (\[34mc[39m -> ([32m\d:Type e:Type f:Type -> 'BoolCase (\g:Type -> c) d e f[39m) (\[34mc[39m:=[32m'Char[39m -> ([32m\h:Type -> 'BoolCase (\i:Type -> 'Char) (labend (undefined 'Char)) (labend 'a') h[39m) [47motherwise[49m:[32m'Bool[39m)) (labelend Tuple0) b[K | ||
85 | focus: \[34ma[39m [32mb[39m:[32ma[39m -> (\[34mc[39m -> ([32m\d:Type e:Type f:Type -> 'BoolCase (\g:Type -> c) d e f[39m) (\[34mc[39m:=[32m'Char[39m -> ([32m\h:Type -> 'BoolCase (\i:Type -> 'Char) (labend (undefined 'Char)) (labend 'a') h[39m) [47m[32mTrue[39m[49m:[32m'Bool[39m)) (labelend Tuple0) b[K | ||
86 | focus: \[34ma[39m [32mb[39m:[32ma[39m -> (\[34mc[39m -> ([32m\d:Type e:Type f:Type -> 'BoolCase (\g:Type -> c) d e f[39m) (\[34mc[39m:=[32m'Char[39m -> ([32m\h:Type -> 'BoolCase (\i:Type -> 'Char) (labend (undefined 'Char)) (labend 'a') h[39m) (\[34mj[39m:[32m'Unit[39m -> [47m[32mTrue[39m[49m))) (labelend Tuple0) b[K | ||
87 | focus: \[34ma[39m [32mb[39m:[32ma[39m -> (\[34mc[39m -> ([32m\d:Type e:Type f:Type -> 'BoolCase (\g:Type -> c) d e f[39m) (\[34mc[39m:=[32m'Char[39m -> ([32m\h:Type -> 'BoolCase (\i:Type -> 'Char) (labend (undefined 'Char)) (labend 'a') h[39m) [47m[32mTrue[39m[49m)) (labelend Tuple0) b[K | ||
88 | focus: \[34ma[39m [32mb[39m:[32ma[39m -> (\[34mc[39m -> ([32m\d:Type e:Type f:Type -> 'BoolCase (\g:Type -> c) d e f[39m) (\[34mc[39m:=[32m'Char[39m -> [47m[32mlabend 'a'[39m[49m)) (labelend Tuple0) b[K | ||
89 | focus: \[34ma[39m [32mb[39m:[32ma[39m -> (\[34mc[39m [34mc[39m:=[32m'Char[39m -> ([32m\d:Type e:Type f:Type -> 'BoolCase (\g:Type -> 'Char) d e f[39m) ([47m[32mlabend 'a'[39m[49m)) (labelend Tuple0) b[K | ||
90 | focus: \[34ma[39m [32mb[39m:[32ma[39m -> (\[34mc[39m [34mc[39m:=[32m'Char[39m [47m[32md:Type e:Type -> 'BoolCase (\f:Type -> 'Char) (labend 'a') d e[39m[49m) (labelend Tuple0) b[K | ||
91 | focus: \[34ma[39m [32mb[39m:[32ma[39m -> ([47m[32m\c:Type d:Type -> 'BoolCase (\e:Type -> 'Char) (labend 'a') c d[39m[49m) (labelend Tuple0) b[K | ||
92 | check: \[34ma[39m [32mb[39m:[32ma[39m -> ([32m\c:Type d:Type -> 'BoolCase (\e:Type -> 'Char) (labend 'a') c d[39m) ([47mlabelend Tuple0 :: [32m'Char[39m[49m) b[K | ||
93 | check: \[34ma[39m [32mb[39m:[32ma[39m -> ([32m\c:Type d:Type -> 'BoolCase (\e:Type -> 'Char) (labend 'a') c d[39m) (labEnd [47mTuple0::[32m'Char[39m[49m) b[K | ||
94 | infer: \[34ma[39m [32mb[39m:[32ma[39m -> ([32m\c:Type d:Type -> 'BoolCase (\e:Type -> 'Char) (labend 'a') c d[39m) (labEnd [47mTuple0[49m:[32m'Char[39m) b[K | ||
95 | focus: \[34ma[39m [32mb[39m:[32ma[39m -> ([32m\c:Type d:Type -> 'BoolCase (\e:Type -> 'Char) (labend 'a') c d[39m) (labEnd [47m[32mTuple0[39m[49m:[32m'Char[39m) b[K | ||
96 | focus: \[34ma[39m [32mb[39m:[32ma[39m -> ([32m\c:Type d:Type -> 'BoolCase (\e:Type -> 'Char) (labend 'a') c d[39m) (labEnd \([34mf[39m : [32m'Empty "can not unify\n\ESC[32m'Char\ESC[m\nwith\n\ESC[32m'Tuple0\ESC[m\n"[39m)->[47m[32mTuple0[39m[49m) b[K | ||
97 | !type error: can not unify | ||
98 | [32m'Char[m | ||
99 | with | ||
100 | [32m'Tuple0[m | ||
101 | |||
102 | in testdata/language-features/guard/guard12.reject.lc:1:13 | ||
103 | |||
104 | ------------ tooltips | ||
105 | testdata/language-features/guard/guard12.reject.lc 1:13-1:15 Tuple0 | ||
106 | testdata/language-features/guard/guard12.reject.lc 1:18-1:27 Bool | ||
107 | testdata/language-features/guard/guard12.reject.lc 1:18-1:33 Char | ||
108 | testdata/language-features/guard/guard12.reject.lc 1:30-1:33 Char | ||
diff --git a/testdata/language-features/guard/guard13.out b/testdata/language-features/guard/guard13.out index a7ed9d91..66454293 100644 --- a/testdata/language-features/guard/guard13.out +++ b/testdata/language-features/guard/guard13.out | |||
@@ -1,4 +1,6 @@ | |||
1 | main is not found | 1 | main is not found |
2 | ------------ trace | ||
3 | fun :: [32m'Bool->'Tuple0[39m[K | ||
2 | ------------ tooltips | 4 | ------------ tooltips |
3 | testdata/language-features/guard/guard13.lc 1:1-1:4 Bool->Tuple0 | 5 | testdata/language-features/guard/guard13.lc 1:1-1:4 Bool->Tuple0 |
4 | testdata/language-features/guard/guard13.lc 1:7-1:8 V1 | 6 | testdata/language-features/guard/guard13.lc 1:7-1:8 V1 |
diff --git a/testdata/language-features/guard/guard14.out b/testdata/language-features/guard/guard14.out index 54db63f5..4d3d87b7 100644 --- a/testdata/language-features/guard/guard14.out +++ b/testdata/language-features/guard/guard14.out | |||
@@ -1,4 +1,6 @@ | |||
1 | main is not found | 1 | main is not found |
2 | ------------ trace | ||
3 | value :: [32m'Tuple0[39m[K | ||
2 | ------------ tooltips | 4 | ------------ tooltips |
3 | testdata/language-features/guard/guard14.lc 1:1-1:6 Tuple0 | 5 | testdata/language-features/guard/guard14.lc 1:1-1:6 Tuple0 |
4 | testdata/language-features/guard/guard14.lc 1:17-1:21 Bool | 6 | testdata/language-features/guard/guard14.lc 1:17-1:21 Bool |
diff --git a/testdata/language-features/guard/guard15.out b/testdata/language-features/guard/guard15.out index 4e9c4936..39a32bd8 100644 --- a/testdata/language-features/guard/guard15.out +++ b/testdata/language-features/guard/guard15.out | |||
@@ -1,4 +1,6 @@ | |||
1 | main is not found | 1 | main is not found |
2 | ------------ trace | ||
3 | value :: [32m'Tuple0[39m[K | ||
2 | ------------ tooltips | 4 | ------------ tooltips |
3 | testdata/language-features/guard/guard15.lc 1:1-1:6 Tuple0 | 5 | testdata/language-features/guard/guard15.lc 1:1-1:6 Tuple0 |
4 | testdata/language-features/guard/guard15.lc 1:9-1:11 Tuple0 | 6 | testdata/language-features/guard/guard15.lc 1:9-1:11 Tuple0 |
diff --git a/testdata/language-features/guard/guard16.out b/testdata/language-features/guard/guard16.out index 92a1d76f..1bb7ed36 100644 --- a/testdata/language-features/guard/guard16.out +++ b/testdata/language-features/guard/guard16.out | |||
@@ -1,4 +1,6 @@ | |||
1 | main is not found | 1 | main is not found |
2 | ------------ trace | ||
3 | value :: [32m{a} -> {b : 'Eq a} -> {c : 'Num a}->'Tuple0[39m[K | ||
2 | ------------ tooltips | 4 | ------------ tooltips |
3 | testdata/language-features/guard/guard16.lc 1:1-1:6 {a} -> {b : Eq a} -> {c : Num a}->Tuple0 | 5 | testdata/language-features/guard/guard16.lc 1:1-1:6 {a} -> {b : Eq a} -> {c : Num a}->Tuple0 |
4 | testdata/language-features/guard/guard16.lc 1:9-3:10 Tuple0 | 6 | testdata/language-features/guard/guard16.lc 1:9-3:10 Tuple0 |
diff --git a/testdata/language-features/module/Hello01.out b/testdata/language-features/module/Hello01.out index 4a75d8a2..6d911abc 100644 --- a/testdata/language-features/module/Hello01.out +++ b/testdata/language-features/module/Hello01.out | |||
@@ -1,4 +1,7 @@ | |||
1 | main is not found | 1 | main is not found |
2 | ------------ trace | ||
3 | hello :: [32m'String[39m[K | ||
4 | world :: [32m'String[39m[K | ||
2 | ------------ tooltips | 5 | ------------ tooltips |
3 | testdata/language-features/module/Hello01.lc 3:1-3:6 String | 6 | testdata/language-features/module/Hello01.lc 3:1-3:6 String |
4 | testdata/language-features/module/Hello01.lc 3:9-3:16 String | 7 | testdata/language-features/module/Hello01.lc 3:9-3:16 String |
diff --git a/testdata/language-features/module/ModulePackage/SubModule01.out b/testdata/language-features/module/ModulePackage/SubModule01.out index 552ec94a..5d80d9f9 100644 --- a/testdata/language-features/module/ModulePackage/SubModule01.out +++ b/testdata/language-features/module/ModulePackage/SubModule01.out | |||
@@ -1,4 +1,6 @@ | |||
1 | main is not found | 1 | main is not found |
2 | ------------ trace | ||
3 | hello :: [32m'String[39m[K | ||
2 | ------------ tooltips | 4 | ------------ tooltips |
3 | testdata/language-features/module/ModulePackage/SubModule01.lc 3:1-3:6 String | 5 | testdata/language-features/module/ModulePackage/SubModule01.lc 3:1-3:6 String |
4 | testdata/language-features/module/ModulePackage/SubModule01.lc 3:9-3:16 String | 6 | testdata/language-features/module/ModulePackage/SubModule01.lc 3:9-3:16 String |
diff --git a/testdata/language-features/module/Moduledef02.reject.out b/testdata/language-features/module/Moduledef02.reject.out index 9b34f38b..5ee63b0c 100644 --- a/testdata/language-features/module/Moduledef02.reject.out +++ b/testdata/language-features/module/Moduledef02.reject.out | |||
@@ -1,3 +1,3 @@ | |||
1 | testdata/language-features/module/Moduledef02.reject.lc:2:1: | 1 | testdata/language-features/module/Moduledef02.reject.lc:2:1: |
2 | unexpected end of input | 2 | unexpected end of input |
3 | expecting "where" or '(' \ No newline at end of file | 3 | expecting "where" or '(' |
diff --git a/testdata/language-features/module/Moduledef03.reject.out b/testdata/language-features/module/Moduledef03.reject.out index 8a61dd85..848d1159 100644 --- a/testdata/language-features/module/Moduledef03.reject.out +++ b/testdata/language-features/module/Moduledef03.reject.out | |||
@@ -1,3 +1,3 @@ | |||
1 | testdata/language-features/module/Moduledef03.reject.lc:1:8: | 1 | testdata/language-features/module/Moduledef03.reject.lc:1:8: |
2 | unexpected 'm' | 2 | unexpected 'm' |
3 | expecting module name \ No newline at end of file | 3 | expecting module name |
diff --git a/testdata/language-features/module/Moduledef04.reject.out b/testdata/language-features/module/Moduledef04.reject.out index b949fc7b..d3fa3e4d 100644 --- a/testdata/language-features/module/Moduledef04.reject.out +++ b/testdata/language-features/module/Moduledef04.reject.out | |||
@@ -1,3 +1,3 @@ | |||
1 | testdata/language-features/module/Moduledef04.reject.lc:1:8: | 1 | testdata/language-features/module/Moduledef04.reject.lc:1:8: |
2 | unexpected 'm' | 2 | unexpected 'm' |
3 | expecting module name \ No newline at end of file | 3 | expecting module name |
diff --git a/testdata/language-features/module/Moduledef05.reject.out b/testdata/language-features/module/Moduledef05.reject.out index f0a43dac..8dac151c 100644 --- a/testdata/language-features/module/Moduledef05.reject.out +++ b/testdata/language-features/module/Moduledef05.reject.out | |||
@@ -1,3 +1,3 @@ | |||
1 | testdata/language-features/module/Moduledef05.reject.lc:3:1: | 1 | testdata/language-features/module/Moduledef05.reject.lc:3:1: |
2 | unexpected 'h' | 2 | unexpected 'h' |
3 | expecting "where" or '(' \ No newline at end of file | 3 | expecting "where" or '(' |
diff --git a/testdata/language-features/module/Moduledef06.out b/testdata/language-features/module/Moduledef06.out index 6287b54e..421619b1 100644 --- a/testdata/language-features/module/Moduledef06.out +++ b/testdata/language-features/module/Moduledef06.out | |||
@@ -1,4 +1,6 @@ | |||
1 | main is not found | 1 | main is not found |
2 | ------------ trace | ||
3 | hello :: [32m'String[39m[K | ||
2 | ------------ tooltips | 4 | ------------ tooltips |
3 | testdata/language-features/module/Moduledef06.lc 3:1-3:6 String | 5 | testdata/language-features/module/Moduledef06.lc 3:1-3:6 String |
4 | testdata/language-features/module/Moduledef06.lc 3:9-3:16 String | 6 | testdata/language-features/module/Moduledef06.lc 3:9-3:16 String |
diff --git a/testdata/language-features/module/Moduledef07.out b/testdata/language-features/module/Moduledef07.out index 5be09755..87502a46 100644 --- a/testdata/language-features/module/Moduledef07.out +++ b/testdata/language-features/module/Moduledef07.out | |||
@@ -1,4 +1,6 @@ | |||
1 | main is not found | 1 | main is not found |
2 | ------------ trace | ||
3 | hello :: [32m'String[39m[K | ||
2 | ------------ tooltips | 4 | ------------ tooltips |
3 | testdata/language-features/module/Moduledef07.lc 5:1-5:6 String | 5 | testdata/language-features/module/Moduledef07.lc 5:1-5:6 String |
4 | testdata/language-features/module/Moduledef07.lc 5:9-5:16 String | 6 | testdata/language-features/module/Moduledef07.lc 5:9-5:16 String |
diff --git a/testdata/language-features/module/Moduledef11.reject.out b/testdata/language-features/module/Moduledef11.reject.out index 1c71c838..43c5b5b5 100644 --- a/testdata/language-features/module/Moduledef11.reject.out +++ b/testdata/language-features/module/Moduledef11.reject.out | |||
@@ -1,3 +1,3 @@ | |||
1 | testdata/language-features/module/Moduledef11.reject.lc:1:8: | 1 | testdata/language-features/module/Moduledef11.reject.lc:1:8: |
2 | unexpected '1' | 2 | unexpected '1' |
3 | expecting module name \ No newline at end of file | 3 | expecting module name |
diff --git a/testdata/language-features/module/Moduledef12.reject.out b/testdata/language-features/module/Moduledef12.reject.out index 738ba12a..f1098d5f 100644 --- a/testdata/language-features/module/Moduledef12.reject.out +++ b/testdata/language-features/module/Moduledef12.reject.out | |||
@@ -1,3 +1,3 @@ | |||
1 | testdata/language-features/module/Moduledef12.reject.lc:1:8: | 1 | testdata/language-features/module/Moduledef12.reject.lc:1:8: |
2 | unexpected '&' | 2 | unexpected '&' |
3 | expecting module name \ No newline at end of file | 3 | expecting module name |
diff --git a/testdata/language-features/module/Moduledef13.out b/testdata/language-features/module/Moduledef13.out index f6ff90ef..75e35b24 100644 --- a/testdata/language-features/module/Moduledef13.out +++ b/testdata/language-features/module/Moduledef13.out | |||
@@ -1,4 +1,6 @@ | |||
1 | main is not found | 1 | main is not found |
2 | ------------ trace | ||
3 | hello :: [32m'String[39m[K | ||
2 | ------------ tooltips | 4 | ------------ tooltips |
3 | testdata/language-features/module/Moduledef13.lc 3:1-3:6 String | 5 | testdata/language-features/module/Moduledef13.lc 3:1-3:6 String |
4 | testdata/language-features/module/Moduledef13.lc 3:9-3:16 String | 6 | testdata/language-features/module/Moduledef13.lc 3:9-3:16 String |
diff --git a/testdata/language-features/module/TypeSyn01Mod.out b/testdata/language-features/module/TypeSyn01Mod.out index 74690ade..d1af6425 100644 --- a/testdata/language-features/module/TypeSyn01Mod.out +++ b/testdata/language-features/module/TypeSyn01Mod.out | |||
@@ -1,4 +1,6 @@ | |||
1 | main is not found | 1 | main is not found |
2 | ------------ trace | ||
3 | 'MyUnit :: [32mType[39m[K | ||
2 | ------------ tooltips | 4 | ------------ tooltips |
3 | testdata/language-features/module/TypeSyn01Mod.lc 2:6-2:12 Type | 5 | testdata/language-features/module/TypeSyn01Mod.lc 2:6-2:12 Type |
4 | testdata/language-features/module/TypeSyn01Mod.lc 2:15-2:17 Type | 6 | testdata/language-features/module/TypeSyn01Mod.lc 2:15-2:17 Type |
diff --git a/testdata/language-features/module/import01.out b/testdata/language-features/module/import01.out index aad58356..0f691e51 100644 --- a/testdata/language-features/module/import01.out +++ b/testdata/language-features/module/import01.out | |||
@@ -1,4 +1,6 @@ | |||
1 | main is not found | 1 | main is not found |
2 | ------------ trace | ||
3 | x :: [32m'String[39m[K | ||
2 | ------------ tooltips | 4 | ------------ tooltips |
3 | testdata/language-features/module/import01.lc 3:1-3:2 String | 5 | testdata/language-features/module/import01.lc 3:1-3:2 String |
4 | testdata/language-features/module/import01.lc 3:5-3:10 String | 6 | testdata/language-features/module/import01.lc 3:5-3:10 String |
diff --git a/testdata/language-features/module/import02.reject.out b/testdata/language-features/module/import02.reject.out index c643646b..9a3f7bd4 100644 --- a/testdata/language-features/module/import02.reject.out +++ b/testdata/language-features/module/import02.reject.out | |||
@@ -1,3 +1,7 @@ | |||
1 | can't find: hello2 in testdata/language-features/module/import02.reject.lc:4:5: | 1 | can't find: hello2 in testdata/language-features/module/import02.reject.lc:4:5: |
2 | x = hello2 | 2 | x = hello2 |
3 | ^^^^^^ \ No newline at end of file | 3 | ^^^^^^ |
4 | ------------ trace | ||
5 | infer: [47mlabelend hello2[49m[K | ||
6 | infer: labEnd [47mhello2[49m[K | ||
7 | !can't find: hello2 in testdata/language-features/module/import02.reject.lc:4:5 | ||
diff --git a/testdata/language-features/module/import03.reject.out b/testdata/language-features/module/import03.reject.out index 775b67cb..76410065 100644 --- a/testdata/language-features/module/import03.reject.out +++ b/testdata/language-features/module/import03.reject.out | |||
@@ -1,3 +1,7 @@ | |||
1 | can't find: world in testdata/language-features/module/import03.reject.lc:3:5: | 1 | can't find: world in testdata/language-features/module/import03.reject.lc:3:5: |
2 | x = world | 2 | x = world |
3 | ^^^^^ \ No newline at end of file | 3 | ^^^^^ |
4 | ------------ trace | ||
5 | infer: [47mlabelend world[49m[K | ||
6 | infer: labEnd [47mworld[49m[K | ||
7 | !can't find: world in testdata/language-features/module/import03.reject.lc:3:5 | ||
diff --git a/testdata/language-features/module/import04.reject.out b/testdata/language-features/module/import04.reject.out index ede369bd..5980131e 100644 --- a/testdata/language-features/module/import04.reject.out +++ b/testdata/language-features/module/import04.reject.out | |||
@@ -3,4 +3,11 @@ hello = "hello" | |||
3 | ^^^^^ | 3 | ^^^^^ |
4 | and at testdata/language-features/module/Hello01.lc:3:1: | 4 | and at testdata/language-features/module/Hello01.lc:3:1: |
5 | hello = "hello" | 5 | hello = "hello" |
6 | ^^^^^ \ No newline at end of file | 6 | ^^^^^ |
7 | ------------ trace | ||
8 | hello :: [32m'String[39m[K | ||
9 | !already defined hello at testdata/language-features/module/import04.reject.lc:4:1 | ||
10 | and at testdata/language-features/module/Hello01.lc:3:1 | ||
11 | ------------ tooltips | ||
12 | testdata/language-features/module/import04.reject.lc 4:1-4:6 String | ||
13 | testdata/language-features/module/import04.reject.lc 4:9-4:16 String | ||
diff --git a/testdata/language-features/module/import05.out b/testdata/language-features/module/import05.out index 660eeb7b..c618c024 100644 --- a/testdata/language-features/module/import05.out +++ b/testdata/language-features/module/import05.out | |||
@@ -1,4 +1,6 @@ | |||
1 | main is not found | 1 | main is not found |
2 | ------------ trace | ||
3 | x :: [32m'String[39m[K | ||
2 | ------------ tooltips | 4 | ------------ tooltips |
3 | testdata/language-features/module/import05.lc 3:6-3:12 Type | 5 | testdata/language-features/module/import05.lc 3:6-3:12 Type |
4 | testdata/language-features/module/import05.lc 4:1-4:2 String | 6 | testdata/language-features/module/import05.lc 4:1-4:2 String |
diff --git a/testdata/language-features/module/import06.out b/testdata/language-features/module/import06.out index 707cfa68..8ed501a5 100644 --- a/testdata/language-features/module/import06.out +++ b/testdata/language-features/module/import06.out | |||
@@ -1,4 +1,7 @@ | |||
1 | main is not found | 1 | main is not found |
2 | ------------ trace | ||
3 | hello :: [32m'Tuple0[39m[K | ||
4 | x :: [32m'String[39m[K | ||
2 | ------------ tooltips | 5 | ------------ tooltips |
3 | testdata/language-features/module/import06.lc 3:1-3:6 Tuple0 | 6 | testdata/language-features/module/import06.lc 3:1-3:6 Tuple0 |
4 | testdata/language-features/module/import06.lc 3:9-3:11 Tuple0 | 7 | testdata/language-features/module/import06.lc 3:9-3:11 Tuple0 |
diff --git a/testdata/language-features/module/import07.out b/testdata/language-features/module/import07.out index 4d9e8864..a813f0f9 100644 --- a/testdata/language-features/module/import07.out +++ b/testdata/language-features/module/import07.out | |||
@@ -1,4 +1,7 @@ | |||
1 | main is not found | 1 | main is not found |
2 | ------------ trace | ||
3 | hello :: [32m'Tuple0[39m[K | ||
4 | x :: [32m'String[39m[K | ||
2 | ------------ tooltips | 5 | ------------ tooltips |
3 | testdata/language-features/module/import07.lc 3:1-3:6 Tuple0 | 6 | testdata/language-features/module/import07.lc 3:1-3:6 Tuple0 |
4 | testdata/language-features/module/import07.lc 3:9-3:11 Tuple0 | 7 | testdata/language-features/module/import07.lc 3:9-3:11 Tuple0 |
diff --git a/testdata/language-features/module/import08.out b/testdata/language-features/module/import08.out index eaf70740..efb5abf7 100644 --- a/testdata/language-features/module/import08.out +++ b/testdata/language-features/module/import08.out | |||
@@ -1,4 +1,9 @@ | |||
1 | main is not found | 1 | main is not found |
2 | ------------ trace | ||
3 | value :: [32m'Tuple0[39m[K | ||
4 | g :: [32m'Char[39m[K | ||
5 | h :: [32m'String[39m[K | ||
6 | w :: [32m'String[39m[K | ||
2 | ------------ tooltips | 7 | ------------ tooltips |
3 | testdata/language-features/module/import08.lc 3:1-3:6 Tuple0 | 8 | testdata/language-features/module/import08.lc 3:1-3:6 Tuple0 |
4 | testdata/language-features/module/import08.lc 3:9-3:11 Tuple0 | 9 | testdata/language-features/module/import08.lc 3:9-3:11 Tuple0 |
diff --git a/testdata/language-features/module/import09.out b/testdata/language-features/module/import09.out index bc2e9215..15e350d5 100644 --- a/testdata/language-features/module/import09.out +++ b/testdata/language-features/module/import09.out | |||
@@ -1,4 +1,6 @@ | |||
1 | main is not found | 1 | main is not found |
2 | ------------ trace | ||
3 | fun :: [32m{a} -> a -> 'Tuple0->'Tuple0[39m[K | ||
2 | ------------ tooltips | 4 | ------------ tooltips |
3 | testdata/language-features/module/import09.lc 3:8-3:9 V1 | 5 | testdata/language-features/module/import09.lc 3:8-3:9 V1 |
4 | testdata/language-features/module/import09.lc 3:8-3:29 Type | 6 | testdata/language-features/module/import09.lc 3:8-3:29 Type |
diff --git a/testdata/language-features/module/import10.reject.out b/testdata/language-features/module/import10.reject.out index 96853649..350a770d 100644 --- a/testdata/language-features/module/import10.reject.out +++ b/testdata/language-features/module/import10.reject.out | |||
@@ -3,4 +3,11 @@ type MyUnit = () | |||
3 | ^^^^^^ | 3 | ^^^^^^ |
4 | and at testdata/language-features/module/TypeSyn01Mod.lc:2:6: | 4 | and at testdata/language-features/module/TypeSyn01Mod.lc:2:6: |
5 | type MyUnit = () | 5 | type MyUnit = () |
6 | ^^^^^^ \ No newline at end of file | 6 | ^^^^^^ |
7 | ------------ trace | ||
8 | 'MyUnit :: [32mType[39m[K | ||
9 | !already defined 'MyUnit at testdata/language-features/module/import10.reject.lc:3:6 | ||
10 | and at testdata/language-features/module/TypeSyn01Mod.lc:2:6 | ||
11 | ------------ tooltips | ||
12 | testdata/language-features/module/import10.reject.lc 3:6-3:12 Type | ||
13 | testdata/language-features/module/import10.reject.lc 3:15-3:17 Type | ||
diff --git a/testdata/language-features/module/import11.reject.out b/testdata/language-features/module/import11.reject.out index 00e09d98..9ab1e98d 100644 --- a/testdata/language-features/module/import11.reject.out +++ b/testdata/language-features/module/import11.reject.out | |||
@@ -3,4 +3,11 @@ type MyUnit = () | |||
3 | ^^^^^^ | 3 | ^^^^^^ |
4 | and at testdata/language-features/module/TypeSyn01Mod.lc:2:6: | 4 | and at testdata/language-features/module/TypeSyn01Mod.lc:2:6: |
5 | type MyUnit = () | 5 | type MyUnit = () |
6 | ^^^^^^ \ No newline at end of file | 6 | ^^^^^^ |
7 | ------------ trace | ||
8 | 'MyUnit :: [32mType[39m[K | ||
9 | !already defined 'MyUnit at testdata/language-features/module/import11.reject.lc:3:6 | ||
10 | and at testdata/language-features/module/TypeSyn01Mod.lc:2:6 | ||
11 | ------------ tooltips | ||
12 | testdata/language-features/module/import11.reject.lc 3:6-3:12 Type | ||
13 | testdata/language-features/module/import11.reject.lc 3:15-3:17 Type | ||
diff --git a/testdata/language-features/module/import12.out b/testdata/language-features/module/import12.out index c10155d0..f158db78 100644 --- a/testdata/language-features/module/import12.out +++ b/testdata/language-features/module/import12.out | |||
@@ -1,4 +1,6 @@ | |||
1 | main is not found | 1 | main is not found |
2 | ------------ trace | ||
3 | fun :: [32m'String[39m[K | ||
2 | ------------ tooltips | 4 | ------------ tooltips |
3 | testdata/language-features/module/import12.lc 4:1-4:4 String | 5 | testdata/language-features/module/import12.lc 4:1-4:4 String |
4 | testdata/language-features/module/import12.lc 4:7-4:12 String | 6 | testdata/language-features/module/import12.lc 4:7-4:12 String |
diff --git a/testdata/language-features/module/import13.out b/testdata/language-features/module/import13.out index a7591cd6..0b4deb36 100644 --- a/testdata/language-features/module/import13.out +++ b/testdata/language-features/module/import13.out | |||
@@ -1,4 +1,6 @@ | |||
1 | main is not found | 1 | main is not found |
2 | ------------ trace | ||
3 | fun :: [32m'String[39m[K | ||
2 | ------------ tooltips | 4 | ------------ tooltips |
3 | testdata/language-features/module/import13.lc 4:1-4:4 String | 5 | testdata/language-features/module/import13.lc 4:1-4:4 String |
4 | testdata/language-features/module/import13.lc 4:7-4:12 String | 6 | testdata/language-features/module/import13.lc 4:7-4:12 String |
diff --git a/testdata/language-features/module/import14.out b/testdata/language-features/module/import14.out index 56bf1a11..8d1e2208 100644 --- a/testdata/language-features/module/import14.out +++ b/testdata/language-features/module/import14.out | |||
@@ -1,4 +1,6 @@ | |||
1 | main is not found | 1 | main is not found |
2 | ------------ trace | ||
3 | fun :: [32m'String[39m[K | ||
2 | ------------ tooltips | 4 | ------------ tooltips |
3 | testdata/language-features/module/import14.lc 4:1-4:4 String | 5 | testdata/language-features/module/import14.lc 4:1-4:4 String |
4 | testdata/language-features/module/import14.lc 4:7-4:12 String | 6 | testdata/language-features/module/import14.lc 4:7-4:12 String |
diff --git a/testdata/language-features/module/import15.out b/testdata/language-features/module/import15.out index 311a8378..80c15bc6 100644 --- a/testdata/language-features/module/import15.out +++ b/testdata/language-features/module/import15.out | |||
@@ -1,4 +1,6 @@ | |||
1 | main is not found | 1 | main is not found |
2 | ------------ trace | ||
3 | fun :: [32m'String[39m[K | ||
2 | ------------ tooltips | 4 | ------------ tooltips |
3 | testdata/language-features/module/import15.lc 3:1-3:4 String | 5 | testdata/language-features/module/import15.lc 3:1-3:4 String |
4 | testdata/language-features/module/import15.lc 3:7-3:12 String | 6 | testdata/language-features/module/import15.lc 3:7-3:12 String |
diff --git a/testdata/language-features/pattern/pattern01.out b/testdata/language-features/pattern/pattern01.out index d0b70f5c..49e14ccf 100644 --- a/testdata/language-features/pattern/pattern01.out +++ b/testdata/language-features/pattern/pattern01.out | |||
@@ -1,4 +1,9 @@ | |||
1 | main is not found | 1 | main is not found |
2 | ------------ trace | ||
3 | fun1 :: [32m{a} -> {b : 'Eq a} -> {c : 'Num a} -> a->'Char[39m[K | ||
4 | fun2 :: [32m'String->'Char[39m[K | ||
5 | fun3 :: [32m'Char->'Char[39m[K | ||
6 | fun4 :: [32m'Tuple0->'Char[39m[K | ||
2 | ------------ tooltips | 7 | ------------ tooltips |
3 | testdata/language-features/pattern/pattern01.lc 1:1-1:5 {a} -> {b : Eq a} -> {c : Num a} -> a->Char | 8 | testdata/language-features/pattern/pattern01.lc 1:1-1:5 {a} -> {b : Eq a} -> {c : Num a} -> a->Char |
4 | testdata/language-features/pattern/pattern01.lc 1:10-1:13 Char | 9 | testdata/language-features/pattern/pattern01.lc 1:10-1:13 Char |
diff --git a/testdata/language-features/pragma/pragma05.reject.out b/testdata/language-features/pragma/pragma05.reject.out index eb782982..8e9ffaed 100644 --- a/testdata/language-features/pragma/pragma05.reject.out +++ b/testdata/language-features/pragma/pragma05.reject.out | |||
@@ -1,2 +1,2 @@ | |||
1 | testdata/language-features/pragma/pragma05.reject.lc:1:20: | 1 | testdata/language-features/pragma/pragma05.reject.lc:1:20: |
2 | language extension expected instead of ABCDEF \ No newline at end of file | 2 | language extension expected instead of ABCDEF |
diff --git a/testdata/language-features/pragma/pragma06.reject.out b/testdata/language-features/pragma/pragma06.reject.out index d14e0097..13427392 100644 --- a/testdata/language-features/pragma/pragma06.reject.out +++ b/testdata/language-features/pragma/pragma06.reject.out | |||
@@ -1,2 +1,2 @@ | |||
1 | testdata/language-features/pragma/pragma06.reject.lc:1:18: | 1 | testdata/language-features/pragma/pragma06.reject.lc:1:18: |
2 | language extension expected instead of abcd \ No newline at end of file | 2 | language extension expected instead of abcd |
diff --git a/testdata/language-features/recursion/simplerec01.out b/testdata/language-features/recursion/simplerec01.out index 9c566256..0fe9fad8 100644 --- a/testdata/language-features/recursion/simplerec01.out +++ b/testdata/language-features/recursion/simplerec01.out | |||
@@ -1,4 +1,6 @@ | |||
1 | main is not found | 1 | main is not found |
2 | ------------ trace | ||
3 | fun :: [32m{a} -> {b : 'Num a} -> {c : 'Eq a} -> {d : 'Num a} -> a->'Char[39m[K | ||
2 | ------------ tooltips | 4 | ------------ tooltips |
3 | testdata/language-features/recursion/simplerec01.lc 1:1-1:4 {a} -> {b : Num a} -> {c : Eq a} -> {d : Num a} -> a->Char | 5 | testdata/language-features/recursion/simplerec01.lc 1:1-1:4 {a} -> {b : Num a} -> {c : Eq a} -> {d : Num a} -> a->Char |
4 | testdata/language-features/recursion/simplerec01.lc 1:9-1:12 Char | 6 | testdata/language-features/recursion/simplerec01.lc 1:9-1:12 Char |
diff --git a/testdata/language-features/section/section01.out b/testdata/language-features/section/section01.out index 90cd2beb..5c52acd3 100644 --- a/testdata/language-features/section/section01.out +++ b/testdata/language-features/section/section01.out | |||
@@ -1,4 +1,8 @@ | |||
1 | main is not found | 1 | main is not found |
2 | ------------ trace | ||
3 | !@! :: [32m{a} -> {b} -> a -> b->'Tuple0[39m[K | ||
4 | value1 :: [32m{a} -> {b} -> a -> b->'Tuple0[39m[K | ||
5 | value2 :: [32m{a} -> {b} -> a -> b->'Tuple0[39m[K | ||
2 | ------------ tooltips | 6 | ------------ tooltips |
3 | testdata/language-features/section/section01.lc 1:3-1:6 {a} -> {b} -> a -> b->Tuple0 | 7 | testdata/language-features/section/section01.lc 1:3-1:6 {a} -> {b} -> a -> b->Tuple0 |
4 | testdata/language-features/section/section01.lc 1:11-1:13 Tuple0 | 8 | testdata/language-features/section/section01.lc 1:11-1:13 Tuple0 |