But somehow the above does not trigger that
https://discourse.julialang.org/t/accessing-data-in-a-closure/54930/4
* Should we mention the issue of **Discoveribility** of Interfaces? A recently recommended way (adopted from ?Haskell?) is to isolate interface to a package defining them, example is ArrayInterfaces
* Regarding making comparison to OOP, there is now this package https://discourse.julialang.org/t/ann-objectoriented-jl-renamed-from-tyoop-jl-complete-oop-support/83911
*
##1
is not directly accessible. Try f.x and g.x. is I think incorrect as you can access it. Try in replcounted_println = call_counter(println); counted_println("hello world"