utils.nim 134 B

1234567891011
  1. type
  2. SomeType* = enum
  3. enumValueA,
  4. enumValueB,
  5. enumValueC
  6. proc someType*(): SomeType =
  7. ## constructor.
  8. SomeType(2)