| 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 a2 a b := a -> Unit |
|---|
| 9 | type a3 a a := a -> Unit |
|---|
| 10 | type a4 a a := a -> Unit |
|---|
| 11 | type a5 a |
|---|
| 12 | type a6 a |
|---|
| 13 | type a7 a := a6 a -> Unit |
|---|
| 14 | types |
|---|
| 15 | Binary : Type; |
|---|
| 16 | MyAlias : Type -> Type; |
|---|
| 17 | MyPred : Type -> Type; |
|---|
| 18 | S : Type; |
|---|
| 19 | T : Type; |
|---|
| 20 | a1 : Type -> Type -> Type; |
|---|
| 21 | a2 : Type -> Type -> Type; |
|---|
| 22 | a3 : Type -> Type -> Type; |
|---|
| 23 | a4 : Type -> Type -> Type; |
|---|
| 24 | a5 : Type -> Type; |
|---|
| 25 | a6 : Type -> Type; |
|---|
| 26 | a7 : Type -> Type |
|---|
| 27 | types |
|---|
| 28 | Binary := S * S -> T; |
|---|
| 29 | MyAlias := \ t : Type . t ->? Unit; |
|---|
| 30 | MyPred := \ s : Type . s ->? Unit; |
|---|
| 31 | a1 := \ a : Type . \ b : Type . a -> b -> Unit; |
|---|
| 32 | a2 := \ a : Type . \ b : Type . a -> Unit; |
|---|
| 33 | a3 := \ a : Type . \ a : Type . a -> Unit; |
|---|
| 34 | a4 := \ a : Type . \ a : Type . a -> Unit; |
|---|
| 35 | a7 := \ a : Type . a6 a -> Unit |
|---|
| 36 | var |
|---|
| 37 | s : Type %(var_1)% |
|---|
| 38 | ### Hint 2.16, |
|---|
| 39 | no kind found for 'S' |
|---|
| 40 | expected: {Cpo} |
|---|
| 41 | found: {Type} |
|---|
| 42 | ### Hint 2.16, |
|---|
| 43 | no kind found for 'S' |
|---|
| 44 | expected: {Cppo} |
|---|
| 45 | found: {Type} |
|---|
| 46 | ### Hint 3.5, is type variable 's' |
|---|
| 47 | *** Error 5.14, unknown type variable 't' |
|---|
| 48 | *** Error 7.9, unknown type variable 'a' |
|---|
| 49 | *** Error 7.11, unknown type variable 'b' |
|---|
| 50 | *** Error 8.10, unknown type variable 'a' |
|---|
| 51 | *** Error 8.14, unknown type variable 'b' |
|---|
| 52 | ### Hint 8.6, redeclared type 'a1' |
|---|
| 53 | *** Error 10.9, unknown type variable 'a' |
|---|
| 54 | *** Error 10.11, unknown type variable 'b' |
|---|
| 55 | *** Error 12.10, unknown type variable 'a' |
|---|
| 56 | *** Error 12.10, duplicates at '(12,14)' for 'a' |
|---|
| 57 | *** Error 14.9, unknown type variable 'a' |
|---|
| 58 | *** Error 14.9, duplicates at '(14,11)' for 'a' |
|---|
| 59 | *** Error 16.9, unknown type variable 'a' |
|---|
| 60 | *** Error 18.9, unknown type variable 'a' |
|---|
| 61 | *** Error 18.14-18.22, |
|---|
| 62 | illegal recursive type synonym 'a5 a -> Unit' |
|---|
| 63 | *** Error 20.9, unknown type variable 'a' |
|---|
| 64 | *** Error 22.9, unknown type variable 'a' |
|---|
| 65 | *** Error 24.9, unknown type variable 'a' |
|---|
| 66 | *** Error 22.9-24.22, illegal recursive type synonym 'a7 a -> Unit' |
|---|
| 67 | *** Error 26.6, |
|---|
| 68 | incompatible kind of: a2 |
|---|
| 69 | expected: Type -> Type -> Type |
|---|
| 70 | found: Type -> Type |
|---|