-module(helloworld).
-export([start/0]).
start() ->
Lst1 = [{"a",1},{"b",2},{"c",3}],
Map1 = maps:from_list(Lst1),
io:fwrite("~p~n",[maps:values(Map1)]).
原创文章,作者:ItWorker,如若转载,请注明出处:https://blog.ytso.com/266324.html
-module(helloworld).
-export([start/0]).
start() ->
Lst1 = [{"a",1},{"b",2},{"c",3}],
Map1 = maps:from_list(Lst1),
io:fwrite("~p~n",[maps:values(Map1)]).
原创文章,作者:ItWorker,如若转载,请注明出处:https://blog.ytso.com/266324.html