mirror of
https://github.com/unisonweb/unison.git
synced 2024-09-11 10:35:57 +03:00
18 lines
238 B
Markdown
18 lines
238 B
Markdown
```ucm
|
|
scratch/main> builtins.merge
|
|
```
|
|
|
|
```unison
|
|
double : Int -> Int
|
|
double x = x + x
|
|
|
|
redouble : Int -> Int
|
|
redouble x = double x + double x
|
|
```
|
|
|
|
```ucm
|
|
scratch/main> add
|
|
scratch/main> dependents double
|
|
scratch/main> delete.term 1
|
|
```
|