Updated anonymous funs to funs with names

Updated anonymous funs to reflect EEP37: Funs with names for erlang R17.0