That snippet seems way more complex than necessary. It's reimplementing what a 
closure/lambda already does, which is to copy its context along with the 
function pointer. Why would it be necessary to do that by hand when Nim already 
has closures?

Reply via email to