Often in packages and Julia source code, I see
structs that have no field. For example,
abstract type RangeStepStyle end struct RangeStepRegular <: RangeStepStyle end # range with regular step struct RangeStepIrregular <: RangeStepStyle end # range with rounding error
What’s the point of creating a
type without any fields. How do you use these and how does this relate to type stability of the code?