Module Doctree.Rewire

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