Plebeia.Cursor_toolsSourceval fold :
init:'a ->
Segment.Segs.t ->
Cursor.t ->
('a ->
Segment.Segs.t ->
Cursor.t ->
([< `Continue | `Exit | `Up ] * 'a, Error.t) result) ->
('a * Cursor.t, Error.t) resultval ls :
Cursor.t ->
((Segment.segment * Node_type.view * Cursor.t) list * Cursor.t, Error.t)
resultNote: If c points to a bud, then it returns itself, rather than returning its contents.
Cursors in the list do not carry the whole scan of ls.
val ls_rec :
Cursor.t ->
((Segment.segment list * Node_type.node * Cursor.t) list * Cursor.t, Error.t)
resultNote: If c points to a bud, then it returns itself, rather than returning its contents.
Cursors in the list do not carry the whole scan of ls.