visitors

An OCaml syntax extension for generating visitor classes
val last1 : 'a -> 'b List.t -> 'c
val last : 'a List.t -> 'b
val interval : int -> int -> int list
val init : int -> int -> ( int -> 'a ) -> 'a0 list
val is_matrix : int -> int -> 'a list list -> bool
val transpose : int -> 'a list list -> 'a0 list list
val hextend : 'a list -> int -> ( int -> 'a0 -> 'a0 ) -> 'a1 list list
val uniq1 : ( 'a -> 'b -> int ) -> 'c -> 'd List.t -> 'e List.t
val uniq : ( 'a -> 'a -> int ) -> 'b List.t -> 'c List.t
val weed : ( 'a -> 'a -> int ) -> 'a list -> 'b List.t
val fold_right1 : ( 'a -> 'b -> 'b ) -> 'c list -> 'd -> 'e
val fold_left1 : ( 'a -> 'b -> 'a ) -> 'c -> 'd List.t -> 'e
val filter2 : ( 'a -> bool ) -> 'b list -> 'c list -> 'd list