erlang lists模块函数使用大全(copy)
摘要:
一,带函数Pred 1, all(Pred, List) -> boolean()如果List中的每个元素作为Pred函数的参数执行,结果都返回true,那么all函数返回true, 否则返回false例子:lists:all(fun(E) -> true end,[1,2,3,4]).结果true... 阅读全文
posted @ 2014-05-06 18:09 Vinlan 阅读(5096) 评论(0) 推荐(0)
浙公网安备 33010602011771号