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

Standard library alias cores #46

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Standard library alias cores #46

wants to merge 2 commits into from

Conversation

sigilante
Copy link
Contributor

We propose adding a set of aliasing libraries to /lib in %base which may be optionally imported by developers into Dojo or their own code without needing any additional installation or setup steps. These libraries provide an alternative naming scheme to the lapidary form preferred in kernel development.

Developers new to the Urbit ecosystem often find the usage of particular words for gate names in Hoon, Zuse, and elsewhere to be somewhat disorienting. Although there are good reasons that /sys prefers the arm names and faces that it does, it is also straightforward to provide a set of aliases which more or less hew to the expectations of a modal developer new to Urbit. For instance, we alias ++slag with ++after, and ++fand with ++find-all.

While this proposal follows the basic inspiration of the /lib/sequent library, it hews to only providing aliases for built-in functions in /sys (rather than extending functionality). (/lib/sequent provides enhanced list functionality, including zip3 and similar compound operators.)

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

Successfully merging this pull request may close these issues.

None yet

1 participant