mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-12-19 12:51:51 +03:00
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:
parent
6a6078b554
commit
063e3ed716
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user