Gist.VariantVariants for gist processors.
module Case : sig ... endVariant cases.
make cases ~case_index is a variant type with cases described by cases and whose values are attributed a case in the cases list with the zero-based case_index function.
val case_index : 'v t -> 'v -> intcase_index vt is the function that given a value of the variant type attributes it a case in the array cases vt.