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

hoon: 138k #6615

Merged
merged 51 commits into from
Oct 9, 2023
Merged

hoon: 138k #6615

merged 51 commits into from
Oct 9, 2023

Conversation

belisarius222
Copy link
Contributor

Draft PR to accumulate upcoming Hoon changes that will go into the next Hoon Kelvin, 138.

Fang- and others added 23 commits July 1, 2022 18:05
Previously, this would replace the entire subject's type with the type
of the wing. Now we use +take to descend into the subject and replace
only the type of the affected wing.

We also lightly refactor the implementation, to resemble +cool more
closely.

Co-authored-by: joemfb <joemfb@users.noreply.github.com>
And use hoon-style boolean syntax instead of numberic literals.

Co-authored-by: joemfb <joemfb@users.noreply.github.com>
They were not handling the %over and %spec cases correctly. We update
the %over cases to recurse as they should, and the %spec cases to +mint
and +crop respectively.

Co-authored-by: joemfb <joemfb@users.noreply.github.com>
Since this is the ?# codepath, we want to drop any faces that might
already exist, since we'll bring our own (through %name in +gain:ar).

Co-authored-by: joemfb <joemfb@users.noreply.github.com>
Co-authored-by: joemfb <joemfb@users.noreply.github.com>
Co-authored-by: joemfb <joemfb@users.noreply.github.com>
Co-authored-by: joemfb <joemfb@users.noreply.github.com>
The result is only guaranteed to be an atom if both parts of the cell
are nouns. Otherwise, it could still be a specific kind of cell.

Co-authored-by: joemfb <joemfb@users.noreply.github.com>
When we recur into a %cell or %over, we need to update the axis
appropriately.

Co-authored-by: joemfb <joemfb@users.noreply.github.com>
Co-authored-by: joemfb <joemfb@users.noreply.github.com>
Into the head and tail for more complete gains.

Co-authored-by: joemfb <joemfb@users.noreply.github.com>
We are commonly looking for both the type and axis of a specific wing.
+fend gives you both.
@belisarius222 belisarius222 marked this pull request as draft May 24, 2023 15:35
Quodss and others added 9 commits June 12, 2023 19:24
Added regression tests as asked by @joemfb to test that currying and composition gates strip faces and that the subject of a gate returned by ++curr nests under the head of curried gate's subject.
hoon: remove rut:by, duplicate of urn:by
hoon: refactor unnecessary parameter to bif:by
@joemfb joemfb changed the base branch from develop to next/kelvin/411 September 27, 2023 19:29
@joemfb joemfb mentioned this pull request Sep 27, 2023
@joemfb
Copy link
Member

joemfb commented Oct 5, 2023

CI is failing since it's not using a compatible runtime (ie, one built from next/hoon/138 in urbit/vere).

b3389ef backs out a change from #5884 -- I had suggested that a ^~ be added to +bool to improve structural sharing in $type, but that compile-time evaluation misses all the relevant jets in +put:in (hash ordering, math, &c) if they weren't already registered.

pkova added a commit to urbit/vere that referenced this pull request Oct 6, 2023
@joemfb joemfb marked this pull request as ready for review October 6, 2023 18:39
@pkova pkova merged commit 735bc02 into next/kelvin/411 Oct 9, 2023
1 check passed
@pkova pkova deleted the next/hoon/138 branch October 9, 2023 14:34
@joemfb joemfb restored the next/hoon/138 branch October 9, 2023 16:14
@joemfb joemfb mentioned this pull request Oct 9, 2023
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.

10 participants