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
|
||||
foo = "bar"
|
||||
`()`.foo = "bar"
|
||||
```
|
||||
|
||||
```ucm
|
||||
.`()`> add
|
||||
scratch/main> add
|
||||
scratch/main> find
|
||||
scratch/main> find-in `()`
|
||||
scratch/main> delete.namespace `()`
|
||||
|
@ -1,5 +1,5 @@
|
||||
```unison
|
||||
foo = "bar"
|
||||
`()`.foo = "bar"
|
||||
```
|
||||
|
||||
```ucm
|
||||
@ -12,50 +12,28 @@ foo = "bar"
|
||||
|
||||
⍟ These new definitions are ok to `add`:
|
||||
|
||||
foo : ##Text
|
||||
`()`.foo : ##Text
|
||||
|
||||
```
|
||||
```ucm
|
||||
☝️ The namespace .`()` is empty.
|
||||
|
||||
.`()`> add
|
||||
scratch/main> add
|
||||
|
||||
⍟ I've added these definitions:
|
||||
|
||||
foo : ##Text
|
||||
`()`.foo : ##Text
|
||||
|
||||
scratch/main> find
|
||||
|
||||
☝️
|
||||
1. `()`.foo : ##Text
|
||||
|
||||
I couldn't find matches in this namespace, searching in
|
||||
'lib'...
|
||||
|
||||
😶
|
||||
scratch/main> find-in `()`
|
||||
|
||||
No results. Check your spelling, or try using tab completion
|
||||
to supply command arguments.
|
||||
1. foo : ##Text
|
||||
|
||||
`find.global` can be used to search outside the current
|
||||
namespace.
|
||||
|
||||
scratch/main> delete.namespace `()`
|
||||
|
||||
Done.
|
||||
|
||||
```
|
||||
|
||||
```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