hi, i'm new to nim and i'm trying to make an object have default values
type
Foo = object
bar: int # = 42
value: float # = 3.2
var foo = Foo() # bar is set to 0 and value is 0.0
echo foo
Runi would like to make Foo's bar have a default value of 42 and value default to 3.2
