Hello vbxx3,

I am new to Nim but I think what you are looking for is called **procedural 
types**.

You can find some information about them in the [Nim 
tutorial](https://nim-lang.org/docs/tut1.html#advanced-types-procedural-type) 
and in the [manual](https://nim-lang.org/docs/manual.html#types-procedural-type)

Reply via email to