unison/unison-src/transcripts/cycle-update-4.md
2024-06-25 11:11:07 -07:00

360 B

update properly discovers and establishes new cycles.

scratch/main> builtins.merge
ping : 'Nat
ping _ = 1

pong : 'Nat
pong _ = !ping + 2
scratch/main> add
ping : 'Nat
ping _ = !clang + 1

clang : 'Nat
clang _ = !pong + 3
scratch/main> update.old ping
scratch/main> view ping pong clang