-
Notifications
You must be signed in to change notification settings - Fork 200
/
monads.html
74 lines (71 loc) · 1.86 KB
/
monads.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
<html>
<head>
<title>How do I run this action?</title>
<style type="text/css">
table {
border-collapse: collapse;
}
th {
background: #efefef;
}
th, td {
border: 1px solid #ccc;
}
</style>
</head>
<body>
<table cellspacing="0">
<thead>
<tr>
<th>Column → Row</th>
<th scope="col"><code>IO a</code></th>
<th scope="col"><code>YiM a</code></th>
<th scope="col"><code>EditorM a</code></th>
<th scope="col"><code>BufferM a</code></th>
<th scope="col"><code>Action</code></th>
</tr>
</thead>
<tbody>
<tr>
<th scope="row"><code>IO a</code></th>
<td>-</td>
<td>?</td>
<td><code>unsafeWithEditor config yiVar</code></td>
<td>?</td>
<td>?</td>
</tr>
<tr>
<th scope="row"><code>YiM a</code></th>
<td><code>io</code></td>
<td>-</td>
<td><code>liftEditor</code>, <code>withEditor</code></td>
<td><code>withBuffer</code>, <code>withGivenBuffer bufferRef</code></td>
<td><code>runAction</code></td>
</tr>
<tr>
<th scope="row"><code>EditorM a</code></th>
<td>?</td>
<td>?</td>
<td>-</td>
<td><code>withBuffer0</code>, <code>withWindowE window</code>, <code>withGivenBuffer0 bufferRef</code></td>
<td>?</td>
</tr>
<tr>
<th scope="row"><code>BufferM a</code></th>
<td>?</td>
<td>?</td>
<td>?</td>
<td>-</td>
<td>?</td>
</tr>
<tr>
<th scope="row"><code>Action</code></th>
<td>?</td>
<td><code>makeAction</code>, <code>YiA</code></td>
<td><code>makeAction</code>, <code>EditorA</code></td>
<td><code>makeAction</code>, <code>BufferA</code></td>
<td>-</td>
</tr>
</tbody>
</body>
</html>