mirror of
https://github.com/unisonweb/unison.git
synced 2024-09-11 02:25:39 +03:00
Update namespace-dependencies
This commit is contained in:
parent
e66b315c94
commit
498e898e0f
@ -1,5 +1,9 @@
|
||||
# namespace.dependencies command
|
||||
|
||||
```ucm
|
||||
scratch/main> builtins.merge lib.builtins
|
||||
```
|
||||
|
||||
```unison:hide
|
||||
const a b = a
|
||||
external.mynat = 1
|
||||
@ -7,6 +11,6 @@ mynamespace.dependsOnText = const external.mynat 10
|
||||
```
|
||||
|
||||
```ucm
|
||||
.> add
|
||||
.mynamespace> namespace.dependencies
|
||||
scratch/main> add
|
||||
scratch/main> namespace.dependencies mynamespace
|
||||
```
|
||||
|
@ -1,5 +1,11 @@
|
||||
# namespace.dependencies command
|
||||
|
||||
```ucm
|
||||
scratch/main> builtins.merge lib.builtins
|
||||
|
||||
Done.
|
||||
|
||||
```
|
||||
```unison
|
||||
const a b = a
|
||||
external.mynat = 1
|
||||
@ -7,21 +13,21 @@ mynamespace.dependsOnText = const external.mynat 10
|
||||
```
|
||||
|
||||
```ucm
|
||||
.> add
|
||||
scratch/main> add
|
||||
|
||||
⍟ I've added these definitions:
|
||||
|
||||
const : a -> b -> a
|
||||
external.mynat : ##Nat
|
||||
mynamespace.dependsOnText : ##Nat
|
||||
external.mynat : Nat
|
||||
mynamespace.dependsOnText : Nat
|
||||
|
||||
.mynamespace> namespace.dependencies
|
||||
scratch/main> namespace.dependencies mynamespace
|
||||
|
||||
External dependency Dependents in .mynamespace
|
||||
##Nat 1. dependsOnText
|
||||
External dependency Dependents in scratch/main:.mynamespace
|
||||
lib.builtins.Nat 1. dependsOnText
|
||||
|
||||
.const 1. dependsOnText
|
||||
const 1. dependsOnText
|
||||
|
||||
.external.mynat 1. dependsOnText
|
||||
external.mynat 1. dependsOnText
|
||||
|
||||
```
|
||||
|
Loading…
Reference in New Issue
Block a user