I have a function typedef (porting from C) which is
void(*trigger)(int)
Run
In nim I have an object
type
node = object
blah: int
Run
and I'd like it to also have the field that would take in one such function
when initialized. How could I do this? Thank you, I am new to nim but
proficient in C Miri
