Defining a function inside if...else..end NOT as expected?

thanks.

I just think that closure is very essential to functional programming. And, defining (mulitplely dispatched) functions according to different conditions is very natural …

1 Like