Thanks! The code referenced seems way shorter than what I came up with <https://github.com/geekrelief/elvis/blob/8d4131477a8925a44e09affe381fc70d944cd5c3/elvis.nim#L49-L116>
I'll have to look look more closely to see how I could simplify things. I attempted an anonymous proc approach earlier like what you have, but I wasn't able to hack it. That's probably the key to making things shorter.
