# Welp, the alternative is kinda funky but maybe you can try this: type TypeState = enum Immutable, Mutable MyType[State: static State] = object let bleh = MyType[Immutable]()