Yes, but keep in mind that Nim may pass references internally in some cases, even if your type is a value type. For example "var" arguments in prices are passed as reference (internally, as an implementation detail) so that it can be mutated. Non-var arguments may also be passed as a reference if that data is large enough, as a performance optimization.
- How to pass a "plain type" to a proc that expects a... Serge
- How to pass a "plain type" to a proc that expe... haxscramper
- How to pass a "plain type" to a proc that ... Serge
- How to pass a "plain type" to a proc t... shirleyquirk
- How to pass a "plain type" to a pr... auxym