Say there is a callable type implemented with some side effect, but the variable name can be something without
!, which looks like
count_foo = 0 struct Foo a::Int end (::Foo)(x::Int) = (global count_foo; count_foo += 1; count_foo) foo = Foo(1.0) foo(1) # this actually has some side effect
for functions, I can just name them with
! as postfix, but what for callables? Is there any way to address this?