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

Implementation

++  roll                                                ::  left fold
  ~/  %roll
  |*  [a=(list) b=_=+([p=* q=*] |.(q))]
  |-
  ^+  q.b
  ?@  a
    q.b
  $(a t.a, b b(q (b i.a q.b)))

Comments



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

Clone this wiki locally