On 16/04/2015 18:25, Nick Treleaven wrote:
I think this works:

import std.range : only;
app.put(only("foo", var, "bar"));

OK, that doesn't work, and an array doesn't either (which was my assumption):

  app.put(["foo", var, "bar"]); // NG

If it had, I thought only might be more efficient than chain, but I could be wrong.

Reply via email to