2024-06-21 22:37:56 +03:00
|
|
|
`alias.term` makes a new name for a term.
|
|
|
|
|
|
|
|
```ucm:hide
|
|
|
|
project/main> builtins.mergeio lib.builtins
|
|
|
|
```
|
|
|
|
|
|
|
|
```ucm
|
|
|
|
project/main> alias.term lib.builtins.bug foo
|
|
|
|
project/main> ls
|
|
|
|
```
|
|
|
|
|
|
|
|
It won't create a conflicted name, though.
|
|
|
|
|
|
|
|
```ucm:error
|
|
|
|
project/main> alias.term lib.builtins.todo foo
|
|
|
|
```
|
|
|
|
|
|
|
|
```ucm
|
|
|
|
project/main> ls
|
|
|
|
```
|
|
|
|
|
2024-06-26 18:23:04 +03:00
|
|
|
You can use `debug.alias.term.force` for that.
|
2024-06-21 22:37:56 +03:00
|
|
|
|
|
|
|
```ucm
|
2024-06-26 18:23:04 +03:00
|
|
|
project/main> debug.alias.term.force lib.builtins.todo foo
|
2024-06-21 22:37:56 +03:00
|
|
|
project/main> ls
|
|
|
|
```
|