Method Summary |
|
public static Polytype | addSure(Polytype type) |
public static TypeConstructor | concreteConstructor(Monotype type) Return a concrete type constructor that represents as closely as
possible the given type. |
public static TypeConstructor | constructor(Monotype type) |
public static boolean | covariantSpecialization(Polytype spec, Polytype origin) |
public static Domain | domain(Polytype t) |
public static boolean | domainsIntersect(Polytype t1, Polytype t2, boolean dispatchable) |
public static Monotype | equivalent(Monotype m) |
public static Monotype | getTypeParameter(Polytype type, int rank) the rank th type parameter of this type, or null. |
public static Monotype | getTypeParameter(Monotype type, int rank) the rank th type parameter of this type, or null. |
public static boolean | isDispatchable(Monotype m) |
public static boolean | isMaybe(Monotype m) |
public static boolean | isPrimitive(TypeConstructor tc) |
public static boolean | isPrimitive(Monotype t) |
public static boolean | isPrimitive(Polytype t) |
public static boolean | isSure(Monotype m) |
public static boolean | isVoid(mlsub.typing.Monotype m) |
public static boolean | isVoid(mlsub.typing.Polytype t) |
public static void | makeMarkedType(MonotypeVar m) |
public static mlsub.typing.Monotype | maybeMonotype(mlsub.typing.Monotype type) |
public static Monotype | merge(Monotype m1, Monotype m2) |
public static Monotype[] | parameters(Monotype type) |
public static Monotype[] | parameters(Polytype type) |
public static Monotype | rawType(Monotype m) |
public static Monotype | rawType(MonotypeConstructor mc) |
public static Monotype | result(Polytype type) |
public static void | setMarkedKind(Monotype m) |
public static mlsub.typing.Monotype | sureMonotype(mlsub.typing.Monotype type) |
public static boolean | typeParameterDispatch(Polytype spec, Polytype origin) |
public static Monotype | unknownArgsMonotype(TypeConstructor tc) |
public static Monotype | zeroArgMonotype(TypeConstructor tc) |