unison/unison-src/transcripts/todo.md
2024-06-27 14:56:32 -04:00

1020 B

Nothing to do

When there's nothing to do, todo says this:

project/main> todo

Conflicted names

The todo command shows conflicted names (not demonstrated here yet because it is not easy to create them for tests, yet).

Dependents of todo

The todo command shows local (outside lib) terms that directly call todo.

project/main> builtins.mergeio lib.builtins
foo : Nat
foo = todo "implement foo"

bar : Nat
bar = foo + foo
project/main> add
project/main> todo
project/main> delete.project project

Direct dependencies without names

The todo command shows hashes of direct dependencies of local (outside lib) definitions that don't have names in the current namespace.

project/main> builtins.mergeio lib.builtins
foo.bar = 15
baz = foo.bar + foo.bar
project/main> add
project/main> delete.namespace.force foo
project/main> todo
project/main> delete.project project