unison/unison-src/transcripts/fix4898.output.md

53 lines
796 B
Markdown
Raw Normal View History

2024-05-29 18:46:49 +03:00
```ucm
scratch/main> builtins.merge
2024-05-29 18:46:49 +03:00
Done.
```
```unison
double : Int -> Int
double x = x + x
redouble : Int -> Int
redouble x = double x + double x
```
```ucm
Loading changes detected in scratch.u.
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`:
double : Int -> Int
redouble : Int -> Int
```
```ucm
scratch/main> add
2024-05-29 18:46:49 +03:00
⍟ I've added these definitions:
double : Int -> Int
redouble : Int -> Int
scratch/main> dependents double
2024-05-29 18:46:49 +03:00
Dependents of: double
Terms:
1. redouble
Tip: Try `view 1` to see the source of any numbered item in
the above list.
scratch/main> delete.term 1
2024-05-29 18:46:49 +03:00
Done.
2024-05-29 18:46:49 +03:00
```