Function iosrc

Create an input source from a given Chain, and a given translation function/template.

auto auto iosrc(alias fun, Chain) (
  Chain c
);

It is advisable to use a template or lambda that does not require a closure, and is not a delegate from a struct that might move.