Module type Dnet.Datatype
datatype you want to build a dnet on
val map2 : ('a -> 'b -> 'c) -> 'a t -> 'b t -> 'c tval fold : ('a -> 'b -> 'a) -> 'a -> 'b t -> 'anon-recursive folding of subterms
val fold2 : ('a -> 'b -> 'c -> 'a) -> 'a -> 'b t -> 'c t -> 'aval compare : unit t -> unit t -> intcomparison of constructors
val terminal : 'a t -> boolfor each constructor, is it not-parametric on 'a?
val choose : ('a -> 'b) -> 'a t -> 'bchoose f wapplies f on ONE of the subterms of w