package n_ary
-
n_ary.test
Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
Enum modules
module Enum3 : sig ... end
Defines an enumeration type with 3 constructors. We refer to each constructor as a "case". Cases and their respective int
values are numbered consecutively starting at zero.
Tuple modules
module Tuple3 : sig ... end
Defines a tuple type containing 3 values. We refer to each value as a "part". Parts are numbered consecutively beginning at zero.
Variant modules
module Variant3 : sig ... end
Defines a variant type with 3 unary constructors. We refer to each constructor as a "case". Cases are numbered consecutively starting at zero.
List modules
module List3 : sig ... end
Defines list operations that produce or consume 3 lists at once.