Have: enum (or is immutable array better?) array = ["derp", "lala"];
Want:
mixin("some syntax" ~ array[0]);
mixin("some syntax" ~ array[1]);
Basically, to specify a number of similar functions based on a
list of strings.
Why? Pegged's semantic actions allows only calling a function by
name, not specifying parameters. I could probably ask for an
extension, but if there's a cool template or whatever way to do
this, it would be a lot nicer. :3
