Crates.io | namespace |
lib.rs | namespace |
version | 0.1.0 |
source | src |
created_at | 2019-10-29 01:58:22.919296 |
updated_at | 2019-10-29 01:58:22.919296 |
description | A namespace abstraction. |
homepage | https://github.com/ericfindlay/namespace |
repository | https://github.com/ericfindlay/namespace |
max_upload_size | |
id | 176539 |
size | 19,616 |
Namespaces are more subtle than one would naively assume. For namespaces to be genuinely extensible, they cannot know anything beyond their scope. This means that they don't have an absolute index. They can be positioned relative to another namespace only by a 'sliding' match. This matching can potentially be ambiguous, so if multiple matches occur an error is returned. Namespaces can never be empty.