hoon: doccords dist. between arm-doc and prod-doc

docs written above an arm are now distinguishable in the AST from
docs written above the product of the arm, by tagging docs written
above the arm with a %funk link
This commit is contained in:
drbeefsupreme 2022-04-05 12:35:53 -04:00
parent 6a6078b554
commit 063e3ed716
No known key found for this signature in database
GPG Key ID: B70D5683DE7F9EFC

View File

@ -13288,10 +13288,15 @@
%+ knee [p=*term q=*hoon] |. ~+
%+ cook
|= [a=whit b=term c=whit d=hoon]
=+ e=(glom a c)
?~ boy.e
[b d]
[b [%note help+`[u.boy.e] d]]
?~ boy.a :: no arm docs
?~ boy.c :: no product docs
[b d]
:: product docs, no arm docs
[b [%note help+`[u.boy.c] d]]
?~ boy.c :: arm docs, no product docs
[b [%note help+[[%funk b]~ u.boy.a] d]]
:: arm docs and product docs
[b [%note help+[[%funk b]~ u.boy.a] [%note help+`[u.boy.c] d]]]
;~ pose
;~ plug
apex:docs