Skip to content

Commit 4d896fb

Browse files
committed
chapter 16 - exercise on determining kind in a type signature
1 parent 874ad5b commit 4d896fb

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

chapter16/be_kind.md

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
1. What is the kind of a?
2+
3+
```
4+
a -> a
5+
```
6+
7+
Ans -
8+
Kind of a is '\*'
9+
10+
2. What are the kinds of b and T?
11+
12+
```
13+
a -> b a -> T (b a)
14+
15+
Ans -
16+
Kind of b is `* -> *`
17+
Kind of T is `* -> *`
18+
19+
3. What is the kind of c?
20+
```
21+
22+
c a b -> c b a
23+
24+
```
25+
Ans -
26+
The kind of c is `* -> * -> *`
27+
```

0 commit comments

Comments
 (0)