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

Implementation

++  snag                                                ::  index
  ~/  %snag
  |*  [a=@ b=(list)]
  ?@  b
    ~|('snag-fail' !!)
  ?:  =(0 a)
    i.b
  $(b t.b, a (dec a))

Comments



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

Clone this wiki locally