I am trying to get the textual representation of a callback function. That maybe sounds weird :/ but what i want to do is:
defmodule Sample do
def sample_fn(callback) do
# Do something here
callback.()
end
end
since sample_fn
is called from a lot of different places with different args I just want to see textual representation of the passed callback function, is that even possible ?