hoon: prefix and postfix doccords for ++ and +$
there's a stub for +* but its not working yet
::
++ boog !: :: core arms
%+ 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 ~ [p.u.boy.e q.u.boy.e]] d]]
;~ pose
+ ;~ plug
+ apex:docs
;~ pfix (jest '++')
;~ plug
;~(pfix gap ;~(pose (cold %$ buc) sym))
+ apse:docs
;~(pfix gap loaf)
==
==
+ ==
::
%+ cook
- |= [b=term d=spec]
- [b [%ktcl [%name b d]]]
+ |= [a=whit b=term c=whit d=spec]
+ [a b c [%ktcl [%name b d]]]
+ ;~ plug
+ apex:docs
;~ pfix (jest '+$')
;~ plug
;~(pfix gap sym)
+ apse:docs
;~(pfix gap loan)
==
==
+ ==
::
+ %+ cook
+ |= [a=whit b=term d=hoon]
+ [a b *whit d]
+ ;~ plug
+ apex:docs :: this doesn't work, not sure why yet
%+ cook
|= [b=term c=(list term) e=spec]
^- [term hoon]
==
==
==
+ ==
:: parses a or [a b c] or a b c ==
++ lynx
=/ wid (ifix [sel ser] (most ace sym))
