Port unitnamespace to projecs

This commit is contained in:
Chris Penner 2024-06-26 12:02:55 -07:00
parent 5a68b4df78
commit d4a08fdc0a
2 changed files with 14 additions and 36 deletions

View File

@ -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 `()`

View File

@ -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.