摘要: .列表操作lists:foreach(fun(X) -> io:format("E=~p~n",[X]) end, [1,2,3]).lists:duplicate(10, 16#f). % [15,15,15,15,15,15,15,15,15,15]"abc-123" -> "abc"no_vsn(Name) ->lists:takewhile(fun($-)->fal... 阅读全文
posted @ 2010-09-19 17:04 麦飞 阅读(1987) 评论(0) 推荐(0) 编辑