Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add namespaces #164

Open
bvssvni opened this issue Jan 17, 2022 · 2 comments
Open

Add namespaces #164

bvssvni opened this issue Jan 17, 2022 · 2 comments

Comments

@bvssvni
Copy link
Contributor

bvssvni commented Jan 17, 2022

For example, when structuring data about ancient Egypt, I don't want to say explicitly that it is about ancient Egypt. However, when I combine this data with ancient Greece, there can be naming collisions.

@bvssvni
Copy link
Contributor Author

bvssvni commented Jan 17, 2022

Idea for syntax:

ns ancient_egypt {
  (::early_dynastic_period, before'(::old_kingdom_era))
}

This is equal to:

(ancient_egypt::early_dynastic_period, before'(ancient_egypt::old_kingdom_era))

@bvssvni
Copy link
Contributor Author

bvssvni commented Jan 17, 2022

An idea for use syntax:

use ancient_egypt::early_dynastic_period as edp

(edp::first_dynasty, ...)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant