摘要: 1:lists:all(fun(E)->true end,[1,2,3,4]). 结果true如果List中的每个元素作为函数的参数执行,结果都返回true,那么all函数就返回true,否则返回false2:lists:any(fun(E)->is_integer(E) end,[q,w,a,4]... 阅读全文
posted @ 2015-08-28 19:41 平安夜2015 阅读(609) 评论(0) 推荐(0) 编辑