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
%+ knee [p=*term q=*hoon] |. ~+
%+ cook
|= [a=whit b=term c=whit d=hoon]
- =+ e=(glom a c)
- ?~ boy.e
+ ?~ boy.a :: no arm docs
+ ?~ boy.c :: no product docs
[b d]
- [b [%note help+`[u.boy.e] 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
