Module Floating.PolySource
Source
type kind = | Never_add_mangler| Always_add_mangler| Add_mangler_if_more_than_one_elt(*Behaves like
Always_add_manglerif the set on the RHS of the binding, when evaluated withExpand_atoms_bound_to_sets, has more than one element, and likeNever_add_manglerotherwise.For
*)Add_mangler_if_more_than_one_eltspecifically, we only permit exactly one(_, singleton) Expression.ton the RHS. Loosely speaking, if the expression on the RHS contains aUnion, it is probably true that it always evaluates to a set with more than one element, and theAlways_add_manglerversion of the attribute should be used instead.