mirror of
https://github.com/unisonweb/unison.git
synced 2024-11-04 01:03:36 +03:00
336 B
336 B
Update a member of a cycle with a type-changing update, thus severing the cycle.
scratch/main> builtins.merge
ping : 'Nat
ping _ = !pong + 1
pong : 'Nat
pong _ = !ping + 2
scratch/main> add
ping : Nat
ping = 3
scratch/main> update.old
scratch/main> view ping pong