Most non-trivial abstractions leak. Hence, need some doc strings.
#Rust #macro_rules

is it possible to write a Rust macro that transforms:

macro!(value => {
a => b,
c,
d => e,
f,
})
// with repetition of either declaration format

into

match value {
a => fn(b),
c => fn(c),
d => fn(e),
f => fn(f),
}
// etc

#rust #programming #macro_rules