Module Doctree.TakeSource

Sourcetype ('a, 'b, 'c) action =
  1. | Rec of 'a list
  2. | Skip
  3. | Accum of 'b list
  4. | Stop_and_keep
  5. | Stop_and_accum of 'b list * 'c option
Sourceval until : classify:('a -> ('b, 'c, 'd) action) -> 'e list -> 'f list * 'g option * 'h list