Currently, it seems like types are always global constructs. Sometimes I want to use a type as an internal implementation detail for a machine's state. It would be nice to be able to define a type nested within a machine scope, in the same way that a function can be defined in that scope.
Currently, it seems like types are always global constructs. Sometimes I want to use a type as an internal implementation detail for a machine's state. It would be nice to be able to define a type nested within a machine scope, in the same way that a function can be defined in that scope.