visitors

An OCaml syntax extension for generating visitor classes
val array_equal : ( 'a -> 'b -> bool ) -> 'a array -> 'b array -> bool
exception StructuralMismatch
val fail : unit -> 'a
val wrap : ( 'a -> 'b ) -> 'c -> bool
val wrap2 : ( 'a -> 'b -> 'c ) -> 'd -> 'e -> bool
class virtual 's monoid : object ... end
class +'a addition_monoid : object ... end
class +'a unit_monoid : object ... end
class 'self iter : object ... end
class 'self map : object ... end
class 'self endo : object ... end
class virtual +'a reduce : object ... end
class virtual +'a mapreduce : object ... end
class 'self fold : object ... end
class 'self iter2 : object ... end
class 'self map2 : object ... end
class virtual +'a reduce2 : object ... end
class virtual 'self mapreduce2 : object ... end
class 'self fold2 : object ... end