Possibly more helpful to reduce boilerplate is with `template` as used, e.g. at 
the bottom of <https://github.com/c-blake/adix/blob/master/adix/oats.nim> which 
is then used by the example program 
<https://github.com/c-blake/adix/blob/master/util/lfreq.nim> . (That is for new 
style `concept` which I could not get to work well in Nim older than 2.0, 
though I did not bisect for which commit fixed issues.)

Reply via email to