From 060739d6e4ab74ec82ae0183a700f3aa014ee8a1 Mon Sep 17 00:00:00 2001 From: Marshall Lochbaum Date: Thu, 10 Jun 2021 18:29:14 -0400 Subject: Clarify --- doc/namespace.md | 2 +- docs/doc/namespace.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/namespace.md b/doc/namespace.md index 0a78fa2e..fc7727df 100644 --- a/doc/namespace.md +++ b/doc/namespace.md @@ -2,7 +2,7 @@ # Namespaces -A namespace is a type of value that groups together several values (fields) from the same scope. A block or file returns a namespace if it contains any export arrows `⇐` at the top level, and fields from namespaces can be accessed with either dot syntax or destructuring assignment. A namespace that contains `↩` is mutable, so that its fields might change in value. +A namespace is a type of value that groups together several values (fields) from the same scope. A block or file returns a namespace if it contains any export arrows `⇐` at the top level, and fields from namespaces can be accessed with either dot syntax or destructuring assignment. A namespace can be mutable only if any of the code in it uses `↩` to change the value of a field. The following quick example shows a few ways to use a namespace returned by `•Import`: diff --git a/docs/doc/namespace.html b/docs/doc/namespace.html index 935effca..ad38de4e 100644 --- a/docs/doc/namespace.html +++ b/docs/doc/namespace.html @@ -5,7 +5,7 @@

Namespaces

-

A namespace is a type of value that groups together several values (fields) from the same scope. A block or file returns a namespace if it contains any export arrows at the top level, and fields from namespaces can be accessed with either dot syntax or destructuring assignment. A namespace that contains is mutable, so that its fields might change in value.

+

A namespace is a type of value that groups together several values (fields) from the same scope. A block or file returns a namespace if it contains any export arrows at the top level, and fields from namespaces can be accessed with either dot syntax or destructuring assignment. A namespace can be mutable only if any of the code in it uses to change the value of a field.

The following quick example shows a few ways to use a namespace returned by •Import:

ns  •Import "file.bqn"
 something, abbrabbreviation  ns  # Destructure
-- 
cgit v1.2.3