Hello
I'm using structure with inner function but it seems that function with no parameter are never called
Example:
struct MyStruct
(
fn WithParam n =
(
print "WithParam"
),
fn WithoutParam =
(
print "WithoutParam"
)
)
myS = MyStruct()
myS.WithParam 4
myS.WithoutParam --do nothing!!!
i'm not sure if i have done things right
thanks for your help