| 1 | types S, T |
|---|
| 2 | type Binary := S * S -> T |
|---|
| 3 | var s : Type |
|---|
| 4 | type MyPred s := s ->? Unit |
|---|
| 5 | type MyAlias t := t ->? Unit |
|---|
| 6 | type a1 a b := a -> b -> Unit |
|---|
| 7 | type a1 a b := a -> b -> Unit |
|---|
| 8 | type a1 a b := a -> b -> Unit |
|---|
| 9 | type a2 a b := a -> Unit |
|---|
| 10 | type a3 a a := a -> Unit |
|---|
| 11 | type a4 a a := a -> Unit |
|---|
| 12 | type a5 a |
|---|
| 13 | type a6 a |
|---|
| 14 | type a7 a := a6 a -> Unit |
|---|
| 15 | types |
|---|
| 16 | Binary : Type; |
|---|
| 17 | MyAlias : Type -> Type; |
|---|
| 18 | MyPred : Type -> Type; |
|---|
| 19 | S : Type; |
|---|
| 20 | T : Type; |
|---|
| 21 | a1 : Type -> Type -> Type; |
|---|
| 22 | a2 : Type -> Type -> Type; |
|---|
| 23 | a3 : Type -> Type -> Type; |
|---|
| 24 | a4 : Type -> Type -> Type; |
|---|
| 25 | a5 : Type -> Type; |
|---|
| 26 | a6 : Type -> Type; |
|---|
| 27 | a7 : Type -> Type |
|---|
| 28 | types |
|---|
| 29 | Binary := S * S -> T; |
|---|
| 30 | MyAlias := \ t : Type . t ->? Unit; |
|---|
| 31 | MyPred := \ s : Type . s ->? Unit; |
|---|
| 32 | a1 := \ a : Type . \ b : Type . a -> b -> Unit; |
|---|
| 33 | a2 := \ a : Type . \ b : Type . a -> Unit; |
|---|
| 34 | a3 := \ a : Type . \ a : Type . a -> Unit; |
|---|
| 35 | a4 := \ a : Type . \ a : Type . a -> Unit; |
|---|
| 36 | a7 := \ a : Type . a6 a -> Unit |
|---|
| 37 | var |
|---|
| 38 | s : Type %(var_1)% |
|---|
| 39 | ### Hint 2.16, |
|---|
| 40 | no kind found for 'S' |
|---|
| 41 | expected: {Cpo} |
|---|
| 42 | found: {Type} |
|---|
| 43 | ### Hint 2.16, |
|---|
| 44 | no kind found for 'S' |
|---|
| 45 | expected: {Cppo} |
|---|
| 46 | found: {Type} |
|---|
| 47 | ### Hint 3.5, is type variable 's' |
|---|
| 48 | *** Error 5.14, unknown type variable 't' |
|---|
| 49 | *** Error 7.9, unknown type variable 'a' |
|---|
| 50 | *** Error 7.11, unknown type variable 'b' |
|---|
| 51 | *** Error 8.15, unknown type variable 'a' |
|---|
| 52 | *** Error 8.19, unknown type variable 'b' |
|---|
| 53 | ### Hint 8.6, redeclared type 'a1' |
|---|
| 54 | *** Error 9.9, unknown type variable 'a' |
|---|
| 55 | *** Error 9.16, unknown type variable 'b' |
|---|
| 56 | ### Hint 9.6, redeclared type 'a1' |
|---|
| 57 | *** Error 11.15, unknown type variable 'a' |
|---|
| 58 | *** Error 11.19, unknown type variable 'b' |
|---|
| 59 | *** Error 13.15, unknown type variable 'a' |
|---|
| 60 | *** Error 13.15, duplicates at '(13,19)' for 'a' |
|---|
| 61 | *** Error 15.9, unknown type variable 'a' |
|---|
| 62 | *** Error 15.9, duplicates at '(15,11)' for 'a' |
|---|
| 63 | *** Error 17.9, unknown type variable 'a' |
|---|
| 64 | *** Error 19.9, unknown type variable 'a' |
|---|
| 65 | *** Error 19.14-19.22, |
|---|
| 66 | illegal recursive type synonym 'a5 a -> Unit' |
|---|
| 67 | *** Error 21.9, unknown type variable 'a' |
|---|
| 68 | *** Error 23.9, unknown type variable 'a' |
|---|
| 69 | *** Error 25.9, unknown type variable 'a' |
|---|
| 70 | *** Error 23.9-25.22, illegal recursive type synonym 'a7 a -> Unit' |
|---|
| 71 | *** Error 27.6, |
|---|
| 72 | incompatible kind of: a2 |
|---|
| 73 | expected: Type -> Type -> Type |
|---|
| 74 | found: Type -> Type |
|---|