hoon: address review comments for pin and awl

This commit is contained in:
Edward Amsden 2023-05-16 18:51:07 -05:00
parent 6b4b652f31
commit e020d06cd4

View File

@ -236,12 +236,13 @@
?< =(0 b)
|- ^- ?
?: =(a 1) %&
?: =((cap a) (cap b))
$(a (mas a), b (mas b))
%|
?. =((cap a) (cap b)) %|
$(a (mas a), b (mas b))
::
++ awl
~/ %awl
:: axis after axis
::
:: computes the remainder of axis {b} when navigating to {a}.
:: (crashes if not `(pin a b)`)
|= [a=@ b=@]
@ -249,9 +250,8 @@
?< =(0 b)
|- ^- @
?: =(a 1) b
?: =((cap a) (cap b))
$(a (mas a), b (mas b))
!!
?> =((cap a) (cap b))
$(a (mas a), b (mas b))
::
:: # %containers
::