Macro mentat_core::interpose
[−]
[src]
macro_rules! interpose { ( $name: pat, $across: expr, $body: block, $inter: block ) => { ... }; }
A helper macro to sequentially process an iterable sequence, evaluating a block between each pair of items.
This is used to simply and efficiently produce output like
1, 2, 3
or
x = 1 AND y = 2
without producing an intermediate string sequence.