[fp_erlang] fun with records