What if you could define an object inline as follows? : type Foo = object f1: int f2: type SugarObject = object f3: int f4: SugarObject f5: int Run
I don't know if this is worth the extra language complexity though...
What if you could define an object inline as follows? : type Foo = object f1: int f2: type SugarObject = object f3: int f4: SugarObject f5: int Run
I don't know if this is worth the extra language complexity though...