Good afternoon,
In Erlang it is possible to write code like :
mon_id() ->
fun(_Env) ->
?DEBUG(βmon_id no match.β)
end.
Is it possible to do something similar in Scala please, i.e. make a function return an in built function( Function that had been composed in the original function) ?
Thanks a lot and good day