Skip to content
Adam Bliss edited this page Oct 25, 2013 · 1 revision

Implementation

++  stir
  ~/  %stir
  |*  [rud=* raq=_|*([a=* b=*] [a b]) fel=_rule]
  ~/  %fun
  |=  tub=nail 
  ^-  (like _rud)
  =+  vex=(fel tub) 
  ?@  q.vex
    [p.vex [~ rud tub]]
  =+  wag=$(tub q.u.q.vex)
  ?>  ?=(^ q.wag)
  [(last p.vex p.wag) [~ (raq p.u.q.vex p.u.q.wag) q.u.q.wag]]

Comments



Parts of this document are generated automatically. Edits within the comments section will be preserved.

Clone this wiki locally