Type.Properties protocol (mavis v0.0.6) View Source

Link to this section Summary

Link to this section Types

Link to this section Functions

Specs

compare(Type.t(), Type.t()) :: :gt | :eq | :lt
Link to this function

intersection(type, type)

View Source

Specs

intersection(Type.t(), Type.t()) :: Type.t()

Specs

normalize(Type.t()) :: Type.t()
Link to this function

subtype?(subject, target)

View Source

Specs

subtype?(Type.t(), Type.t()) :: boolean()

Specs

typegroup(Type.t()) :: Type.group()
Link to this function

usable_as(subject, target, meta)

View Source

Specs

usable_as(Type.t(), Type.t(), keyword()) :: Type.ternary()