mirror of
https://github.com/unisonweb/unison.git
synced 2024-09-11 02:25:39 +03:00
Port unitnamespace to projecs
This commit is contained in:
parent
5a68b4df78
commit
d4a08fdc0a
@ -1,9 +1,9 @@
|
|||||||
```unison
|
```unison
|
||||||
foo = "bar"
|
`()`.foo = "bar"
|
||||||
```
|
```
|
||||||
|
|
||||||
```ucm
|
```ucm
|
||||||
.`()`> add
|
scratch/main> add
|
||||||
scratch/main> find
|
scratch/main> find
|
||||||
scratch/main> find-in `()`
|
scratch/main> find-in `()`
|
||||||
scratch/main> delete.namespace `()`
|
scratch/main> delete.namespace `()`
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
```unison
|
```unison
|
||||||
foo = "bar"
|
`()`.foo = "bar"
|
||||||
```
|
```
|
||||||
|
|
||||||
```ucm
|
```ucm
|
||||||
@ -12,50 +12,28 @@ foo = "bar"
|
|||||||
|
|
||||||
⍟ These new definitions are ok to `add`:
|
⍟ These new definitions are ok to `add`:
|
||||||
|
|
||||||
foo : ##Text
|
`()`.foo : ##Text
|
||||||
|
|
||||||
```
|
```
|
||||||
```ucm
|
```ucm
|
||||||
☝️ The namespace .`()` is empty.
|
scratch/main> add
|
||||||
|
|
||||||
.`()`> add
|
|
||||||
|
|
||||||
⍟ I've added these definitions:
|
⍟ I've added these definitions:
|
||||||
|
|
||||||
foo : ##Text
|
`()`.foo : ##Text
|
||||||
|
|
||||||
scratch/main> find
|
scratch/main> find
|
||||||
|
|
||||||
☝️
|
1. `()`.foo : ##Text
|
||||||
|
|
||||||
I couldn't find matches in this namespace, searching in
|
|
||||||
'lib'...
|
|
||||||
|
|
||||||
😶
|
scratch/main> find-in `()`
|
||||||
|
|
||||||
|
1. foo : ##Text
|
||||||
|
|
||||||
No results. Check your spelling, or try using tab completion
|
|
||||||
to supply command arguments.
|
scratch/main> delete.namespace `()`
|
||||||
|
|
||||||
`find.global` can be used to search outside the current
|
Done.
|
||||||
namespace.
|
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
```ucm
|
|
||||||
.`()`> addscratch/main> findscratch/main> find-in `()`scratch/main> delete.namespace `()`
|
|
||||||
```
|
|
||||||
|
|
||||||
|
|
||||||
🛑
|
|
||||||
|
|
||||||
The transcript failed due to an error in the stanza above. The error is:
|
|
||||||
|
|
||||||
|
|
||||||
😶
|
|
||||||
|
|
||||||
No results. Check your spelling, or try using tab completion
|
|
||||||
to supply command arguments.
|
|
||||||
|
|
||||||
`find.global` can be used to search outside the current
|
|
||||||
namespace.
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user