package coq

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Module type Dnet.DatatypeSource

datatype you want to build a dnet on

Sourcetype 'a t

parametric datatype. 'a is morally the recursive argument

Sourceval map : ('a -> 'b) -> 'a t -> 'b t

non-recursive mapping of subterms

Sourceval map2 : ('a -> 'b -> 'c) -> 'a t -> 'b t -> 'c t
Sourceval fold : ('a -> 'b -> 'a) -> 'a -> 'b t -> 'a

non-recursive folding of subterms

Sourceval fold2 : ('a -> 'b -> 'c -> 'a) -> 'a -> 'b t -> 'c t -> 'a
Sourceval compare : unit t -> unit t -> int

comparison of constructors

Sourceval terminal : 'a t -> bool

for each constructor, is it not-parametric on 'a?

Sourceval choose : ('a -> 'b) -> 'a t -> 'b

choose f w applies f on ONE of the subterms of w

OCaml

Innovation. Community. Security.