mirror of
https://github.com/unisonweb/unison.git
synced 2024-09-23 16:28:02 +03:00
1.9 KiB
1.9 KiB
Deleting term and type replacements from patches
x = 1
I found and typechecked these definitions in scratch.u. If you
do an `add` or `update`, here's how your codebase would
change:
⍟ These new definitions are ok to `add`:
x : ##Nat
.> add
⍟ I've added these definitions:
x : ##Nat
x = 2
I found and typechecked these definitions in scratch.u. If you
do an `add` or `update`, here's how your codebase would
change:
⍟ These names already exist. You can `update` them to your
new definition:
x : ##Nat
.> update
⍟ I've updated these names to your new definition:
x : ##Nat
.> view.patch
Edited Terms: x#jk19sm5bf8 -> x
Tip: To remove entries from a patch, use
delete.term-replacement or delete.type-replacement, as
appropriate.
.> delete.term-replacement #jk19
Done.
.> view.patch
This patch is empty.
type Foo = Foo
I found and typechecked these definitions in scratch.u. If you
do an `add` or `update`, here's how your codebase would
change:
⍟ These new definitions are ok to `add`:
type Foo
.> add
⍟ I've added these definitions:
type Foo
type Foo = Foo | Bar
I found and typechecked these definitions in scratch.u. If you
do an `add` or `update`, here's how your codebase would
change:
⍟ These names already exist. You can `update` them to your
new definition:
type Foo
.> update
⍟ I've updated these names to your new definition:
type Foo
.> view.patch
Edited Types: Foo#568rsi7o3g -> Foo
Tip: To remove entries from a patch, use
delete.term-replacement or delete.type-replacement, as
appropriate.
.> delete.type-replacement #568rsi7o3g
Done.
.> view.patch
This patch is empty.