The OpenD Programming Language

print

Prints enums

Examples

enum Flag
{
    no,
    yes,
}

import mir.appender: scopedBuffer;
auto w = scopedBuffer!char;
w.print(Flag.yes);
assert(w.data == "yes");

Meta