On Monday, 23 May 2016 at 19:00:40 UTC, Adam D. Ruppe wrote:
Have I gone completely mad?!?!

---
void main() {
        import std.stdio;
        writeln(obj!(
                foo => "bar",
                baz => 12
        ));
}
---

Prints out:

{
        foo: bar
        baz: 12
}

 Pretty snazzy :) Like enums, except not...

Reply via email to