type SomeType* = enum enumValueA, enumValueB, enumValueC proc someType*(): SomeType = ## constructor. SomeType(2)