Module Doctree.RewireSource

Sourcetype ('a, 'h) action =
  1. | Rec of 'a
  2. | Skip
  3. | Heading of 'h * int
Sourceval walk : classify:('a -> ('a list, 'b) action) -> node:('b -> 'c list -> 'c) -> 'a list -> 'c list