foreignUnionType(name, x)
To construct a foreign union type, specify a name and a list of the members. Each member should be an Option of the form memberName => memberType, where memberName is a String and memberType is a ForeignType.
|
Use _ to return a single member of a foreign union.
|
|
|
They may also be modified using subscripted assignment.
|
|
The object foreignUnionType is a method function.
The source of this document is in /build/reproducible-path/macaulay2-1.25.05+ds/M2/Macaulay2/packages/ForeignFunctions.m2:1496:0.