type Foo { bar: String, baz: String } let foo = Foo(); println foo.bar = "bar value"; // out: bar value println foo.baz = "baz value"; // out: baz value println foo.bar; // out: bar value println foo.baz; // out: baz value