File tree Expand file tree Collapse file tree 2 files changed +66
-0
lines changed Expand file tree Collapse file tree 2 files changed +66
-0
lines changed Original file line number Diff line number Diff line change 2
2
3
3
The todo command shows conflicted names (not demonstrated here yet because it is not easy to create them for tests, yet).
4
4
5
+ # Dependents of ` todo `
6
+
7
+ The ` todo ` command shows local (outside ` lib ` ) terms that directly call ` todo ` .
8
+
9
+ ``` ucm:hide
10
+ project/main> builtins.mergeio lib.builtins
11
+ ```
12
+
13
+ ``` unison
14
+ foo : Nat
15
+ foo = todo "implement foo"
16
+
17
+ bar : Nat
18
+ bar = foo + foo
19
+ ```
20
+
21
+ ``` ucm
22
+ project/main> add
23
+ project/main> todo
24
+ ```
25
+
26
+ ``` ucm:hide
27
+ project/main> delete.project project
28
+ ```
29
+
5
30
# Direct dependencies without names
6
31
7
32
The ` todo ` command shows hashes of direct dependencies of local (outside ` lib ` ) definitions that don't have names in
Original file line number Diff line number Diff line change 2
2
3
3
The todo command shows conflicted names (not demonstrated here yet because it is not easy to create them for tests, yet).
4
4
5
+ # Dependents of ` todo `
6
+
7
+ The ` todo ` command shows local (outside ` lib ` ) terms that directly call ` todo ` .
8
+
9
+ ``` unison
10
+ foo : Nat
11
+ foo = todo "implement foo"
12
+
13
+ bar : Nat
14
+ bar = foo + foo
15
+ ```
16
+
17
+ ``` ucm
18
+
19
+ Loading changes detected in scratch.u.
20
+
21
+ I found and typechecked these definitions in scratch.u. If you
22
+ do an `add` or `update`, here's how your codebase would
23
+ change:
24
+
25
+ ⍟ These new definitions are ok to `add`:
26
+
27
+ bar : Nat
28
+ foo : Nat
29
+
30
+ ```
31
+ ``` ucm
32
+ project/main> add
33
+
34
+ ⍟ I've added these definitions:
35
+
36
+ bar : Nat
37
+ foo : Nat
38
+
39
+ project/main> todo
40
+
41
+ These terms call `todo`:
42
+
43
+ 1. foo
44
+
45
+ ```
5
46
# Direct dependencies without names
6
47
7
48
The ` todo ` command shows hashes of direct dependencies of local (outside ` lib ` ) definitions that don't have names in
You can’t perform that action at this time.
0 commit comments